Generally used in Chinese is the collation of the UTF8 character set and the Utf8_general_ci Why choose either of these two ways can refer to ~ ~ ~ which post ~ next to find stickers up Mysql>create DATABASE IF not EXISTS my_db default charset UTF8
Encountered in a project: the original database generated by the script, and then deployed to the new server, the database of SQL_Latin1_General_CP1_CI_AS how to query out the Chinese characters are garbled.The solution is then checked.Need to
Linux common commands (partial)Ready to install the VMware Virtual machine first, install the CentOS image file1:linux directory structure (partial)/bin Common system Command directory/boot Command Directory/etc configuration file directory/Home
Take advantage of these days to find a job, some knowledge simple collation, the formation of logic, internal absorption, and really can be easily written, ready to use, really become the bones of things rather than will "use", and will not "write"!
"Data Collation" Cisco [ACL]Access-list{1) Standard access list: range: (1 to 99) check: Ipusage: access-list access-list-number {permit|deny} source [wildcard-mask]test conditions: Check all the address bits (Match all) an ip
JavaScript Regular expression Knowledge collation 1. Regular Expression Mind Mapping2. Regular Expressions Common Example 2.1 remove all tags, leaving only innertextvar html = "ruby louvreby test "; var text = Html.replace (//g, ""); alert (text)2.2
Some commands are very common, but a period of time not to forget, the daily use of the collation down, the specific parameters used to write.
View Image: Display
View File contents: Cat/tail
View process: PSKill process: Kill
Find:
Linux file type and color identification collation
Shrink Write
File type
Anglo - Dutch
Color
-
Normal file
Regular file
White
D
Catalog files
Dirrectory file
Blue
Speaking of operators, basically all kinds of programming languages are involved, the use of a similar way. Here is a simple collation of JavaScript here today.In general, operators are more than the comparison, can be divided into the following
I. Document specification1, files are archived to the agreed directory.Specific requirements through the Watercress CSS specification to explain:All CSS is divided into two main categories: generic and Business classes. A generic CSS file, which is
Since studying. NET, elegant programming style, extremely simple extensibility, strong enough to develop tools, minimal learning curve, let me have a strong interest in this platform, in the work and study also accumulated a number of open source
1, concat () to connect two or more arraysThis method does not change an existing array, but merely returns a copy of the connected array.For example:
Copy Code code as follows:
Output results:1,2,3,4,5,11,22,33
2. Join ()
It turns out, if not often with the code, the statement deal with, people will be over face not, the brain will feel a face, do not know what to do wrong, this long memory, the statement, not only to strengthen the memory of the SQL statement, but
the use of//case, as well asSELECT CaseRegtype when 1 Then 'Monthly Card' when 0 Then 'Zhou Ka' when 2 Then 'Quarterly Card' when 3 Then 'Annual Card' ELSE
Summarize: Utf8_unicode_ci and Utf8_general_ci have no real difference between Chinese and English.Utf8_general_ci proofreading speed is fast, but the accuracy is slightly worse.Utf8_unicode_ci accuracy is high, but the proofreading speed is
Add "a" "a" "C" "C" "a" 5 elements to the set collection and the list collection respectively, and observe whether the duplicate value "a" can be successfully added in the list collection as well as in the set collection.Import
Methods to compare with regular expressionsvar _val = ' 1234 '; var /^[a-z\d]+ (\.[ a-z\d]+) *@ ([\da-z] (-[\da-z])?) +(\. {A} [a-z]+] +$/; Write regular expressions between double slashes_val.match (_ev); //Return result is ture or false this is
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.