and Samba accounts.The domain name of windowspdc is tail and the host name is pig. The Samba server's sharing name is redflag.Let's take a look at the specific configuration process:Modify the nsswitch. conf fileModify the/etc/nsswitch. conf file to make winbind a source of authentication information for passwd and group.Passwd: Files winbindShadow: FilesGROUP: Files winbindModify the smb. conf fileNext, let's take a look at the modifications in the smb. conf file.[Global]Workgroup = tailNetBIO
, please go here.More appsIf you're looking for more apps for your mint box, here's a list of some of the better apps, all of which can be installed in the software manager.
Opera-Web browser
Gnome ENCFS Manager-Manage files and folders encrypted with ENCFS
Smplayer-Multimedia player
Rhythmbox, Clementine-music player
Openshot, kdenlive-Video editor
Audacity-Audio Editor
Inkscape-Graphics and image editing
Gparted-Partition Editor
GUFW-Firewall Configurat
First, click the Start menu, enter Aero in the Search box, and select the "Find and solve aero and other visual effects" link in the search results.
Then, click Next to perform the hotfix. If there is still no effect, you can choose to be tied to the new video card driver.
Comment: For some brand computer system Customizer will be the aero effect turned off, users can modify in the registry: found HKEY_CURRENT_USERSOFTWAREMICROSOFTWIND
1, on the boot press F1 into the BIOS, confirm the BIOS under the Config->keyboard in the following settings (if you can not enter the BIOS, it may be a keyboard failure, the host can be sent to the local service station detection);
2, confirm the installation of the corresponding model Ultranav drive;
(1) After the normal installation of Ultranav in the "Control Panel-> Mouse" will be more than one tab called "Ultranav", and the options inside are normally available, if the item in the tab is
splash screen.
Since Windows8 's desktop wallpaper can be replaced at will, users can use any pictures of their own to decorate the WIN8 desktop, so someone is wondering if you can customize the Win8 startup background? Of course this feature is not provided by Microsoft for the moment, However, if you really have this idea can also use some third-party software to achieve. Small series recommend a free gadget abroad, Windows 8 Start screen customizer
Lock screen settings for Windows 8
This tool, called the lock Screen Customizer (LSC), comes from the Winaero Web site, a Web site dedicated to a variety of Windows Setup tools, from which several gadgets have been introduced.
This is a green software, after decompression can be used, note that the corresponding system version (64-bit and 32-bit system), and then double-click LockScreenCustomizer.exe Run.
LSC's main interface
LSC Use G
` varchar(32) NOT NULL default '', `email` varchar(32) NOT NULL default '', `summary` varchar(255) default '', KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=gbk;
Insert data
Note: Data is inserted into an empty table every time.
Insert 10000 Record
Heap engine insert 10000 record used time: 3.5008587837219MyISAM engine insert 10000 record u
records the number of connections that have been made to each server, and when a request is dispatched to a server, its number of connections increases by 1, and its number of connections is reduced by one when the connection is aborted.If the processing power of the background server is considered different, you can assign different weights to each server, and adjust the scheduling probability of the minimum connection algorithm by setting the weight ratio.No weight participation
data is sent in accordance with the packet size of 16384, the regular receiving window is full during the sending process.The receiving process is received at the initial 16384 packet size, with no regularity at the late stage:Recv >>> [1]10000:10000Recv >>> [2]10000:6384Recv >>> [3]10000:10000Recv >>> [4]10000:6384Re
)
Import Copy
a = range (100000)
%timeit-n copy.copy (a) # run 10 times copy.copy (a)
%timeit-n copy.deepcopy (a)
10 loops, best 3:1.55 ms per loop
loops, best of 3:151 ms Per loop
The Timeit-n indicates the number of runs, and the last two lines correspond to the output of two Timeit, the same below. This shows that the latter is one order of magnitude slow.
Use Dict or set to find elements
Python dict and set are implemented using a hash table (similar to the C++11 Standard library un
the nsswitch. conf file:
Vi/etc/nsswitch. conf
Make the following changes to make winbind a source of authentication information for passwd and group.
Passwd: files winbind
Shadow: files
Group: files winbind
2. Configure the DNS Client File of DC4.1:
Vi/etc/resolv. conf
Add nameserver 172.16.100.1
Ping pig. tail to ensure connectivity
3. vi smb. conf. Make sure that the [global] segment has the following lines:
[Global]
Workgroup = TAIL
Netbios name = rfdc41
Server string = Samba Server
When there are more than integer numbers, it is often necessary to make them colloquial more intuitive. Next we will share two pieces of code: python and js pythondeffn (num): The number Port... when there are more than integer numbers, they are often more intuitive to colloquial. Below are two pieces of code: python and js
Python
Def fn (num): ''' colloquial number ''' ret = ''num = int (num) if num/10000 = 0: ret = str (num) else: if num/10 ** 8 =
multiple conditions#1: Single-condition query SELECT name from employee WHERE post= ' sale '; #2: Multi-criteria Query SELECT name,salary from employee WHERE post= ' teacher ' and salary>10000; #3: keyword between and select n Ame,salary from employee WHERE salary between 10000 and 20000; SELECT Name,salary from the employee WHERE salary not between 10000
= range (100000)
%timeit-n Copy.copy (a) # run 10 times copy.copy (a)
%timeit-n Copy.deepcopy (a)
Ten loops, Best of 3:1.55 ms Per loop
Ten loops, Best of 3:151 ms Per loop
The Timeit followed by-n indicates the number of runs, and the next two lines correspond to the output of two Timeit. This shows that the latter is one order of magnitude slower.
To find an element using Dict or setPython dict and set are implemented using a hash table (similar to unordered_ma
To Get A 0 ~ A random floating point number that is evenly distributed between 32.767. If you want to increase the range, you can generate a linear combination of several random numbers to realize random numbers distributed evenly in any range. For example, to generate-1000 ~ The accuracy between 1000 is a random number with an even distribution of four decimal places. Generates a random integer between 0 and 10000. The method is as follows:
int a =
Create table test1 (id number, name varchar2 (20 ));Create table test2 (id number, name varchar2 (20 ));Create table test3 (id number, name varchar2 (20 ));
1. No commit is displayed in t1;
Create or replace procedure t1AsBeginFor I in 1 .. 10000 loopInsert into test1 (id, name) values (I, 'leng' | I );End loop;End;
No commit is displayed in t1;
After exec t1, if the session is not exited, it will not be submitted. At this time, if rollback is used, i
13961 mysql mem REG 253,0 1948990 196421/usr/loc al/lib/libtcmalloc.so.4.1.2Second, the Performance test tool SysbenchSysbench is an open-source, modular, cross-platform, multithreaded performance testing tool that can be used for performance testing of CPUs, memory, disk I/O, threads, and databases. The currently supported databases are MySQL, Oracle, and PostgreSQL. The following actions are performed in support of the MySQL database as an example. SourceForge is hung,: http://download.csdn.n
SQL statement optimization and efficiency in SQL Server, serversql
Many people do not know how SQL statements are executed in SQL server. They are worried that the SQL statements they write will be misunderstood by SQL SERVER. For example:
Select * from table1 where name = 'hangsan' and tID> 10000
And execution:
Select * from table1 where tID> 10000 and name = 'hangsan'
Some people do not know whether the e
1. Linear tables A and B are two linear tables in ascending order. Write a program to merge these two linear tables into an ordered linear Table H;
2. Use the four-color theorem to color n local areas. The colors are 1, 2, 3, and 4. An array of [] [N], for example, if adj [I] [J] = 1, it indicates that area I is adjacent to area J, array color [N], such as color [I] = 1, indicates that the color of area I is the 1 color.
3. Use recursive algorithms to determine whether array a [n] is an incremen
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.