El expressions are generally not directly used = = to determine whether equality! = > Comparison of El Expressions in JSP with comparisons of symbols and strings
Annotation symbol:
// Single line Annotation/**/Multi-line Annotation
Use of quotation marks''Single quotes, no meaning, can be taken without any processing;"" Double quotes, PHP dynamic processing and output, usually used for variables.
Variable form:
True is true;The other is false.
Common variables:String string (numbers, Chinese characters, etc)INTEGER (1, 2, 3, 4, 5, 0,-1,-2, and so on)Double Floating Point Number (decimal point)ArrayObject
Common symbo
character. Equivalent to ' [^a-za-z0-9_] './xnMatch N, where n is the hexadecimal escape value. The hexadecimal escape value must be two digits long for a determination. For example, '/x41 ' matches ' A '. '/x041 ' is equivalent to '/x04 ' ' 1 '. ASCII encoding can be used in regular expressions:/numMatches num, where num is a positive integer. A reference to the obtained match. For example, ' (.) /1 ' matches two consecutive identical characters./nIdentifies an octal escape value or a backwar
HTML Original Code
Show results
Describe
Less than sign or display marker
gt;
>
Greater than sign or display marker
amp;
Can be used to display other special characters
quot;
“
Quotes
reg;
?
Already registered
copy;
?
Copyright
trade;
?
Trademark
ensp;
?
Half Blank bit
em
Binary conversion rules: binary Symbol Bin (), Oct (), Hex () + Pending format number 10 binary → other binary1 #Dec2bin2 #decimal to binary: Bin ()3>>> Bin (10)4 '0b1010'5 6 #dec2oct7 #Decimal to octal: Oct ()8>>> Oct (10)9 '0o12'Ten One #Dec2hex A #decimal to 16 binary: Hex () ->>> Hex (10) - '0xa'2 binary → other binary1 #bin2oct2 #Binary to octal: Oct ()3>>>Oct (0b1010)4 '0o12'5 6 #Bin2dec7 #Binary to decimal: Int (' Number of binary formats ', 2)8>>> Int ('1010', 2)910Ten One #Bin2Hex A
1, it is well known that the regular expression if used properly, its practicality is quite strong, basically all the pre-research is to support the regular expression, but the support of the grammar is different.2, in the actual application, we may need to intercept the first special characters encountered before the text, at this time need to use the regular expression, after all, the special symbol so many, if someone really use multiple if to operate, can only say refreshed my cognition!Not
* Multiple? 1 x# annotation Characters\ de-Righteous characters| Pipe character$ as a prefix for variables, used for variables!$ using the last parameter of the previous command; Used in the middle of two commands to write in one line~ User's Home directory command dropped into the background like sleep > Redirection>> Chasing heavier orientation2> Error Redirection2>> Error Append redirect[] denotes one of the ranges such as [0-9]This article from the "Linux" blog, reproduced please contact the
X. This is equivalent to "X", which is also equivalent to ' X '. \ is usually used to escape double quotation marks (") and single quotation marks (') so that double and single quotes are not interpreted as special meanings. 2.7 Anti-quote (') cp 'mkdir back ' test. SH ls 2.8 Colon (:)2.8.1 An empty colon is equivalent to "NOP" (no op, a command with nothing to do). Can also be thought of as true of the shell's built-in command. #!/bin/bash while :do echo"endless Loop " DoneEquivalent t
* Wildcard #注释 \ escape Character | Pipe character $ variable character; command delimiter!! Executes the previous command!$ the last parameter of the previous command ~ home directory Command Background execution> correct override redirect >> correct append redirect (cannot redirect error result)2> Error override redirect 2>> error append redirect redirect[] single character match range such as: [0-9a-za-z]Special symbols in 1.4-shell
* As a wildcard character, you can represent multiple characters, such as *.txt? wildcard character, which represents only one such as. TXT a.txt# in the shell script, #放在行首, the bank does not take effect\ Caret, \ Revert special characters to normal characters| Pipe break throws the command result before the symbol to the command following the symbol$ as the identifier before the variable! $ represents the last variable of the previous commandoften used in the middle of two commands~ User's hom
Use the modifier keys to viewThe keys, like command, option, control, and shift, are called modifier keys under the Mac, and generally they are used to assist in input or modifier keys that are used as shortcut keys.Open "System Preferences", click "keyboard → keyboard → modifier key" To see these modifier keys, such as Caps Lock is?, control is?, the command is?, of course, here you can customize the keyboard mapping, For example, the command key is mapped to the control key, the control key is
output: Command 1 >/dev/null 2>error ; Ignore All output: command 1>/dev/null 2>/dev/null1, 22 kinds of information can also be redirected, so this: command 1>output 2>1 indicates that the error output is also redirected back to standard output, that is, both of the information is saved to output. Then why not write command 1>output 2>output ? The answer is no, do not look at the output to/dev/null can, but if you write the same file name can cause a conflict, so if you want to keep only the a
corresponding dynamic library in the linker's dependencies[8] The following error is usually caused by a dynamic library does not have a package come in. __impProjectRun.obj:error LNK2019: unresolved external symbol __imp__starthistorylocalmodule, the symbol in function "Protected:virtual int __thiscall Hirtdb::cprojectrun::D ostart (void) "([email protected]@[email protected]@MAEHXZ) is referenced[9]error LNK2001: unresolved external symbol __IMP___CRTDBGREPORTWProject Properties, c/C + +, cod
Give you a full, you in the Linux environment to try to understand more:The execution name of this program$n the nth parameter value of this program, n=1..9$* all parameters of this program, this option can have more than 9 parameters.$# the number of parameters for this program$$ the PID of this program (the current process ID number of the script run)$! PID of the previous background instruction (process ID number of the last process running in the background)$? Executes the return value of th
Linux Symbolic Summary simple and easy to use and efficient; Delimiter for multiple commands/root or Road strength separator> Standard output redirection (data flow in the direction of the arrow), overwriting the original file>> Chase Emphasis (data flow toward arrow), "End" of the original file, "append" content.. Top level Directory. Current directory| The pipeline passes the output of the previous command to the next command to continue processing{} with echo print sequence echo{1..5}Self-lea
The OfType convert symbol can be a mixed type in an array. Presents a single type. For example:
Var numbers=new object[]{1, "string", "string", 2,3};Foreach (var asint in numbers. Oftype
ToArray converts the result set of a query that contains only one column of values into an array of select. Toarray
Cast conversion symbol, does not throw an exception array.cast
AsEnumerable will force those objects that implement IEnumerable to try the behavior of the IEnumerable interface
Myli
How does the win7 system quickly enter "√" and "X" Symbols in word2007?
Workaround One:
1, we commonly used pinyin input method can be quickly hit the tick and fork number, the following to Sogou input method as an example to illustrate. Enter Chinese "tick" or "right" when you can see that there is a "√" option;
2, the same input "fork" or "wrong" when the "x" option;
3, also can directly use the Input method of symbol sh
Here's a word trick to help a writing friend, especially when it comes to writing long articles, books, compositions, and graduation papers. That is, the "word count" function, this function can be counted throughout the document word, line number, page, paragraph, and even several spaces and characters can be counted out. With this function, you can make yourself writing, in the heart is good to have a bottom.
① Open the writing document, and then click on the Menu "View"--> Toolbar--> word co
${var%%pattern},{var# #patten} is removed as long as the shortest possible. If you do not use wildcards, there is no shortest and longest concept.The common use is to get the file name and the path of the files from a full path.Path= $HOME/public/foo.sh${path##*/} will return the filename foo.sh, removing the longest match found on the left by */${path%/*} will return the directory where the file is located $home/public (the actual returned value $home will be replaced with the real path), remo
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.