Tags: view tab style IMA query uninstall fdisk-l Specify devUnderstanding: Linux mounts equivalent to Windows assignment drive letter1. Querying devices that are mounted on the systemMount2. Set up auto MountEdit the file/etc/fstab, write the file to start the auto-mount,Note: Generally do not write to the CD, if the write after the startup forgot to mount the CD, will cause the Linux system crashes.3.mount [-t file system]-o[Special options] Device file name mount point-T file system: Joins the
takes advantage of this feature.* cmd >| filefunction of the same, but even when the noclobber is set to cover file file, note that the use of | and not some of the book said!, currently only in the CSH >! to achieve this function.: > FileNameTruncate the file "filename" to 0 length. # If the file does not exist, create a 0-length file (the same effect as ' touch ').cmd >nSend output to file descriptor Ncmd m>nRedirect information from output to file m to file descriptor Ncmd >-Turn off standar
integer in [0, 255];4. If source is an object that is consistent with the buffer interface, this object can also be used to initialize the ByteArray.
Zip ([iterable, ...])
is not understand, just see the matrix of the changing aspects
V. IO operation
File (filename [, mode [, BufSize]])
A constructor for the file type that opens a file that is created if the file does not exist and mode is write or append. Adding ' B ' to the mode parameter will m
the methods that the connection object provides for transaction processing. BeginTrans is used to start a thing; RollbackTrans is used to roll back a transaction, and CommitTrans to commit all the transaction results, that is, to confirm the processing of a transaction.
A transaction can treat a set of actions as a whole, and only if all statements succeed, the transaction is successful, and if one of the statements fails, the entire process fails, and the status of the former is restored.
Begi
Common regular expression of the encyclopedia! (For example: matching Chinese, matching HTML)
Matching regular expressions for Chinese characters: [U4E00-U9FA5]
Commentary: Matching Chinese is really a headache, with this expression will be easy to do
Match Double-byte characters (including Chinese characters): [^x00-xff]
Commentary: can be used to compute the length of a string (a double-byte character length meter 2,ascii 1 characters)
A regula
SQL Server 2000 Injection Protection Encyclopedia (ii)
Traditional query constructs:SELECT * FROM news where id= ... and topic= ... And .....Admin ' and 1= (select COUNT (*) from [user] where username= ' victim ' and right (left (userpass,01), 1) = ' 1 ') and Userpass Select 123;--; Use master;--: A ' or name like ' fff% ';--shows a user named FFFF.' And 1; Update [users] set email= (select top 1 name from sysobjects where xtype= ' u ' and status>0)
Example 1, Prevent Baidu Encyclopedia page scrolling Effect
The code is as follows
Copy Code
Example 2, to prevent the right scrolling effect of Taobao
The code is as follows
Copy Code
Example 3, fixed at the bottom of the page effect
The code is as follows
Copy Code
SOURCE Download Address: Http://file.111cn.net/upload/
SQL string function Encyclopedia, including many such as go to the space function to take a substring function string comparison function string manipulation function data type conversion function Date functionAnd so on the operation has a detailed description ah.Go to the Space function1, LTrim () The string head of the space removed.
2, RTrim () The end of the string to remove the space.
Three, take the SUBSTRING function1, left ()Left (Returns th
hostname to resolve name to IP address and viceversanslookup www.example.com lookup hostname To resolve name to IP address and viceversaWhois www.example.com lookup on Whois databaseGO TOP INDEX ^Microsoft Windows Networks (SAMBA)Nbtscan ip_addr NetBIOS Name ResolutionNMBLOOKUP-A ip_addr NetBIOS Name ResolutionSmbclient-l ip_addr/hostname Show remote shares of a Windows hostSMBGET-RR smb://ip_addr/share like wget can download files from a host Windows via SMBMount-t Smbfs-o username=user,passwo
variablesnatcasesort-sorting of case-insensitive letters using the "natural sort" algorithm for arraysnatsort-using the "natural sort" algorithm to sort arraysnext-moves the inner pointer in the array forward oneAlias for Pos-current ()prev-the internal pointer of the array back to arange-creating an array containing the specified range of cellsreset-the inner pointer of an array to the first cellrsort-reverse sequence of an arrayshuffle-Array is scrambledAlias for Sizeof-count ()sort-sorting a
CSS compatibility Encyclopedia for IE and firefox-browser compatibility tutorial
CSS for browser compatibility is very high value, usually in the case of IE and Firefox there is a large resolution differences, here to introduce the compatibility points.
Common compatibility issues:
1, DOCTYPE Impact CSS Processing
2, Ff:div set Margin-left, margin-right for Auto is already centered, IE not
3, Ff:body set text-align, Div need to set Margin
, also part of the QT SDK.
Rtags:c/c++ Client server index for integration with clang-based Emacs
Xcode: Developed by Apple Inc.
Youcompleteme: An engine for vim that quickly blurs a search and makes code completion based on the code you're knocking on.
Build the System
Bear: Tool for generating a compiled database for the Clang tool
Biicode: Simple file-based dependency manager.
CMake: Free, cross-platform, open source software is used to manage the process of
IE6/7 Implementation Display:inline-blockThere are two methods, the first one declaring the element display:inline-block , triggering its layout, and then declaring it again on the second style display:inline , such as:. Test{display:inline-block;/* other styles ... */}.test{display:inline;}The second method (recommended), uses IE6/7 's CSS proprietary prefix to trigger layout (how it feels a bit like JS's settimeout):. test{display:inline-block; *zoom:1; *display:inline;} IE6 double floating Li
, which also triggers the generation of Httperror when Urlerror is generated. So we should deal with Httperror first . - exceptHttperror as E: - Print(E.code) in #for crawled exceptions, let the program stop for 1.1 seconds, and then iterate over the link again, exit the loop when the access succeeds -Time.sleep (1.1) to exceptUrlerror as err: + Print(Err.reason) - #normal access, crawl Web content thehtml = Reponse.
order and maintain an index relationshipasort-sorting an array and maintaining an index relationshipcompact-create an array, including the variable names and their valuescount-count the number of cells in an array or the number of properties in an objectcurrent-returns the current cell in the arrayeach-returns the current key/value pair in the array and moves the array pointer forward one stepend-the inner pointer of an array to the last cellextract-importing variables from an array into the cu
belongs to the Windows environmentIs_linux//Whether it belongs to LINUX environmentIS_FREEBSD//Whether it belongs to FREEBSD environmentNow_time//Current timestampMEMORY_LIMIT_ON//Whether there is a memory usage limitMEMORY_LIMIT_ON//Whether there is a memory usage limitOUTPUT_GZIP_ON//whether to turn on output compressionMAGIC_QUOTES_GPC//MAGIC_QUOTES_GPCThink_version//thinkphp Version numberLang_set//Browser languageTemplate_name//Current template nameTemplate_path//Current template path__roo
, the element must be an integer in [0, 255];4. If source is an object that is consistent with the buffer interface, this object can also be used to initialize the ByteArray.
Zip ([iterable, ...])
is not understand, just see the matrix of the changing aspects
V. IO operation
File (filename [, mode [, BufSize]])
A constructor for the file type that opens a file that is created if the file does not exist and mode is write or append. Adding ' B ' to t
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.