What the hell is cheat to do? While we were able to use man and--help to help us see how the commands were used, many engineers felt that they were clearly not enough man!See how cheat is man.When I knocked on cheat tar, I saw a lot of practical example, in fact, this kind of help information is easier to remember, it is worth mentioning that cheat will even output some advanced usage!Cheat InstallationInstallation Dependencies(If you don't have Git and pip installed, you may need to install Git
This piece describes how to create a Dynamic Web project with Eclipse and start the service with a tomcat deployment.Premise:1. Download the latest version of Eclipse, now the most dynamic version is Luna2. Download the latest version of Tomcat, the version used in this article is tomcat6.0.363. Download the Tomcat plugin for Eclipse3.1. Download Com.sysdeo.eclipse.tomcat_3.3.1.jar3.2. Copy the Com.sysdeo.eclipse.tomcat_3.3.1.jar to the Eclipse directory under plugins\3.3. Restart Eclipse3.4. Af
=" Wkiom1soqq7ck2jtaahgkzym5xw472.jpg "/>(This picture is borrowed from others)Global Configuration Mode:1: enter this mode first. 2: port configuration such as:switch# configureterminalSwitch (config) #interface fastethernet 0/3Switch (config-if) #speed10// Configure Port Rate 10M default AutoSwitch (config-if) #duplexhalf//full Full Duplex Half Half Duplex AutoSwitch (config-if) #noshutdown// Open PortSwitch IP Configuration:
The switch divides the VLAN before the IP is configured . It is
command performs the reverse function of the dump. A full backup of the file system can be restored first, and subsequent incremental backups can be overwritten on top of the restored full backup. You can restore a separate file or directory tree from a full or partial backup.Both dump and restore can be run on the network, so users can back up or restore from a remote device. Dump and restore use tape drives and file devices that provide a wide range of options. However, both are limited to ex
Maintaining a server one of the important steps is to manage the opening and closing of ports to avoid the ports that external malicious attacks take advantage of because the service is running all the time.The first is the ability to view the iptables situation:sudo iptables-lEach rule is listed, and the rule labeled accept is that the communication indicated by this rule is successful, and the rule marked with a drop refers to the traffic represented by the block. It is important to note that
Log analysisRandom tail a Access_log file, here is a classic access record218.19.140.242–-[10/dec/2010:09:31:17 +0800] "get/query/trendxml/district/todayreturn/month/2009-12-14/ 2010-12-09/haizhu_tianhe.xml http/1.1″200 1933 "-" "mozilla/5.0 (Windows; U Windows NT 5.1; ZH-CN; rv:1.9.2.8) gecko/20100722 firefox/3.6.8 (. NET CLR 3.5.30729) "A useful log Analysis scriptOnce you understand the various definitions of the log, here are some of the scripts that you'll find on the web for log analysis1.
modification of other people's code, we like to add content in other people's code, do not want to delete content. The project can be run, but a lot of redundant code is produced, which is very detrimental to later maintenance and refactoring. The above is just an example of a practical project.Second, examplesAfter the introduction of jquery, most developers prefer to replace them with $. So far, I've used a third-party class library That's basically not defined by $. So there's basically no j
10 seconds to enter Ubuntu. And many people areis to install a dual system, and want to automatically boot to Windows, that can change.sudo cp/boot/grub/menu.lst/boot/grub/menu.lst_backupsudo gedit/boot/grub/menu.lstand search for this line of text.Default 0Replace it with the following lineDefault X_sequenceSave the edited file.6) You can configure ADSL directly with commands in UBUNTU:Configure ADSLsudo pppoeconfADSL Manual Dialingsudo pon dsl-providerActivating ADSLSudo/etc/ppp/pppoe_on_boot
Introduced:I believe that the students who have used the CentOS system are full of their auto-completion functions. Bash comes with the Mac system, but it's not as powerful as we do when we refer to git for some branch switching.Now recommend a useful plugin bash-comletion.Installation method:brew install bash-completionRelated configuration:wget Https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bashIf [-F $ (brew--prefix)/etc/bash_completion]; ThenSOURCE $ (Brew
Have met the order of the pit Hey, if the basic skills are better able to develop projects faster, in order to facilitate the memory of the command, recorded here, not regularly updatedNETSTAT-TPNL querying Linux-enabled portsLike here 50070 ports run external host access, while 9000 ports can only be accessed locally. Represents the current directory,.. Represents the previous level of the directory./filename represents the filename file under the current directory.. /filename represents the fi
Org.apache.commons.lang.StringUtilsAs a supplement to the Lang package in the JDKCheck if charsequence is empty, null, or blank spaceCharsequence (Charbuffer, Segment, String, StringBuffer, StringBuilder)
IsBlank (charsequence) can check for null, NULL, and space
IsEmpty (charsequence) can only check for null and NULL
There are also Isnotblank (CS) and Isnotempt (CS)
String interceptionSubstring/left/right/mid-null-safe Substring ExtractionsString completionLeftpad/rightpad/center/
;" +integer.tooctalstring (10));SYSTEM.OUT.PRINTLN ("16 binary 10 corresponding data----->" +integer.tohexstring (10));}/*** 5.valueOf* Convert basic data types to corresponding packaging----> boxing* Xxxvalue 8 package types are available.* Convert XXX type to corresponding basic data type---> Unboxing */@Testpublic void Test05 () {int num=3;Integer i=integer.valueof (num);Num=i.intvalue ();}/*** 6. Classic Face Test* because integer.valueof (num) caches data between -128~127* If our data is in
①parse_strTo parse the query string into a variable: phpparse_str ("name=billage=60"); Echo $name. " ?>Operation Result:Bill60Array parameters: phpparse_str ("name=billage=60", $myArray);p Rint_r ($myArray); ?>Operation Result:Array ([name] = Bill [age] = 60)①preg_replace_callbackThe contents of the regular match are replaced with the result of the callback function execution:Increase the year in the text by one year. $text = "April fools day is 04/01/2002\n"; $text. = "Last Christmas was 12/24
If you want to unload only the SQL commands that insert data without having to create a table command, the command is as follows:
shell> mysqladmin-u root-p-t databasename > A.sql
So what if I just want data and don't want SQL commands?
mysqldump-t./Phptest Driver
In which, only the-t parameter is specified to unload a plain text file, indicating the directory where the data is unloaded,./represents the current directory, that is, the same directory as mysqldump. If you do not specify a driver
1 Ubnutu Remote access shared folder (for win only)
1. Below the command line
Mount//192.168.1.100/user-o User=admin\\xxx,pass=xxx/mnt/user
Note: 192.168.1.100 is the name of the Windows host and the user is the name of the shared folder. Admin is the Windows host domain name and must be capitalized.
2. Desktop mode
The main folder, press CTRL+L, input such as: smb://192.168.1.100, according to the prompts to enter the account, and then you can access, here, and the command mode, in the desktop
C # log class, utility. NET Log Action class
System logs are frequently used by both Web applications and Windows Forms applications. Log can help us to track the operation of the monitoring system, timely detection of errors, output mode information. There are many ways to log logs, such as using text files, XML files, databases, and so on. Logging with a text file is one of the most common methods.
Here is a simple and useful log class with a text
mysql| data
MySQL data import Export method and tool introduction (1-myslqimport utility)
Introduction to Mysqlimport text file Import Tool
Translation statement:
This article is part of a book from Sam's Teach yourself MySQL in and by Mark Maslakowski
English original version ownership of the original author, the Chinese part of the translation has a slight additions and deletions, the original book is too clear where there is a deletion, not clear
Reproduced in: Click to open the link
Bootstrap provides helper classes to enable faster development of mobile-friendly devices. These can be combined with media queries to combine large, small, and medium-sized devices to enable content to be displayed and hidden from the device.
These tools need to be used sparingly to avoid creating a completely different version at the same site. The reactive utility is currently only available for block and t
Transferred from: http://blog.csdn.net/itiapp_home/article/details/70241011
Uninstall 8. X version Xcode, after installing the latest Xcode9, when Xcrun command is packaged, the xcrun:error:unable to find Utility "Packageapplication" appears, not a developer too L or in PATHThe solution is as follows:
The reason: The new version of Xcode is missing this packageapplication
Let's go find the old version of Xcode and copy it.Put it in the following di
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.