.
Preparations
1. create a test database
Create database testQuery
2. create a test table
CREATE TABLE table1( uid VARCHAR(10) NOT NULL, name VARCHAR(10) NOT NULL, PRIMARY KEY(uid))ENGINE=INNODB DEFAULT CHARSET=UTF8;CREATE TABLE table2( oid INT NOT NULL auto_increment, uid VARCHAR(10), PRIMARY KEY(oid))ENGINE=INNODB DEFAULT CHARSET=UTF8;
3. Insert data
Insert into table1 (uid, name) VALUES ('AAA', 'Mike '), ('BBB', 'Jack'
execution is like this1 from Although I did not think so, but a look is still very natural and harmonious, from where to obtain, constant filtration conditions, to choose the same or different, the order, that only know how to take the first few. That being the case, let's take a step-by-step look at the details.preparatory work1. Create a test databaseCreate DATABASE Testquery2. Create a test tableCREATE TABLE table1 ( uid varchar) NOT NULL, name VARCHAR (TEN) not NULL, PRIMARY KEY (U
still very natural and harmonious, from where to obtain, constant filtration conditions, to choose the same or different, the order, that only know how to take the first few. That being the case, let's take a step-by-step look at the details.preparatory work1. Create a test databaseCreate DATABASE Testquery2. Create a test tableCREATE TABLE table1 ( uid varchar) NOT NULL, name VARCHAR (TEN) not NULL, PRIMARY KEY (UID)) Engine=innodb DEFAULT Charset=utf8; CREATE TABLE table2 ( oid IN
2: DHCP Server(Assign addresses to the AP, and assign addresses to wireless users using Windows DHCP) (Cisco3750SW) (config) # ip dhcp pool vlan96 (Cisco3750SW) (config-dhcp) # network 172.16.22.0 255.255.255.255.0 (Cisco3750SW) (config-dhcp) # default-router 172.16.22.1 (Cisco3750SW) (config-dhcp) # option 43 ip address 100.100.6.188 (Cisco3750SW) (config-dhcp) # exit (Cisco3750SW) (config) # service dhcp
2: Cisco ACS Server
;
The above is a lege
First, into the adorner
1, first of all we have such a piece of code, this code if it is a function of N business units
1 def F1 (AAA): 2 print (' I am F1 business ') 3 if AAA = = ' F1 ': 4 return ' OK ' 5 6 def f2 (AAA): 7 print (' I am F2 business ') 8 if AAA = = ' F2 ': 9 return ' OK '
Here is when
A machine (SSH connection initiator, i.e. client):Add a test user AAA
The code is as follows:
[Root@a ~]# Useradd AAA
Su becomes AAA
The code is as follows:
[Root@a ~]# SU-AAA
[Aaa@a ~]$
Ssh-keygen Create an RSA key pair
The code is as follows:
P2 values less than (11),Partition P3 values less than (16));Then, create the local index:Create INDEX IDX_TP2_C2 on TP2 (C2) local;Because the primary key is a global index, you do not need to create another global indexes, we insert the data:INSERT into TP2 values (1, ' AAA ', ' AAA ');INSERT into TP2 values (2, ' AAA ', '
1. Head Basics
Git checkout actually modifies the content of the head file and points it to a different branch.
The Branch pointed to by the head file is the current branch.
Generally, the head content is directed to the master file in the staging (temporary storage area.
ref: refs/heads/master
Of course, it can also point to other index files. In any case, the content of this index file is controlled by git reset.
The results shown by the GIT branch command are the same as those in the head fi
global level i .Each cycle, the value of i the variable will change, and within the loop is assigned to the inside of the a function of the array, the console.log(i) inside of the i point is the global i . That is, all of the a members of the array i , pointing to the same i , whether the loop to the first several times, resulting in the output of the runtime is the last round of the i value, that is, 10.var a=10function aaa (a) {alert (a);}function
When using dom4j, we cannot obtain an element across layers. it must be obtained at one layer, which is very troublesome.
Why xpath?
When using dom4j, we cannot obtain an element across layers. it must be obtained at one layer, which is very troublesome.Therefore, we can use the xpath technology to access a node more conveniently, which allows us to conveniently read the specified node.
Xpath is usually used in combination with dom4j, and if you want to use xpath, you need to introduce a new
the directory tree"MkDir" Create a Directorymkdir./AAA Create an AAA directory in the current directory (only one level of directory can be created)Mkdir-p./AAA/BBB/CCC Creating multiple directories (you can create multi-tiered catalogs)[[email protected] admin]# mkdir/aaa[[email protected] admin]# rm/aaarm: Cannot de
-xr-x. 1 root root 5307 11 7 08:01 vhost.sh-rwxr-xr-x. 1 root root 1930 11 7 08:00 lnmp-rw-------. 1 root root 1383 11 7 05:25 anaconda-ks.cfg
[Tree] print the directory structure using the directory tree
[Mkdir] create a directory
Mkdir./aaa create an aaa directory under the current directory (only one directory can be created)
Mkdir-p./aaa/bbb/ccc c
property without a methodSee the example program belowClass Test:action= ' win the game ' #类属性print test.actiont=test () print t.actiontest.action= ' At least 1 point ' print Test.actionprint t.actiont.action= ' dont lose ' print test.actionprint t.actionThe results of the operation are as followsWin the gameWin the gameAt least 1 pointAt least 1 pointAt least 1 pointDont loseThe phenomenon can be summed up as: "Change the class properties, data properties, change data properties, class proper
Tstringlist class is a pair of the most factory used in Delphi, we look at the detailed usage of tstringlist here together.
Let's start by listing several properties to be discussed:1, CommaText2, Delimiter Delimitedtext3, Names Values Valuefromindex
Tstrings is an abstract class that, in actual development, is the most applied except for the basic type.
Tstringlist Common Methods and properties:
Var
List:tstringlist;
I:integer;
Begin
List: = tstringlist.create;
List.add (' Strings1 '); Add
Java code
String STR = new string ("AAA ");
How many string objects have been created in this line of code? The answer is 2, not 3. Because new string ("AAA") is equivalent to "AAA" and the original Instance Object created when it is placed in the heap, and the other is the "AAA" object in the constant pool, of cour
Java code
String str=New string ("AAA");
How many string objects does this line of code create? The answer is 2 instead of 3. Since the new String ("AAA") is equivalent to "AAA" and one is the original instance object that was created when placed in the heap, and the other is the "AAA" object placed in th
The Callbacks tool method, which functions as a unified management of function callbacks Jquery.callbacks = function (options) {} is used: Similar to event binding, after fire, the previously bound method is executed. Viewer mode. function aaa () {alert (1); } function bbb () {alert (2); } function CCC () {alert (3)} var cb = $. Callbacks (); Cb.add (AAA); Cb.add (BBB); Cb.add (CCC); Cb
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.