Java 5.0 has been released, and many people will begin to use some new features of this JDK version. From an enhanced for loop to more complex features such as generic (generic), it will soon appear in your code. We have just completed a large Java 5
New Features of jdk1.5:1. Generic2. Automatic packing/unpacking3 For-each4 static Import5. Variable Length Parameter
1. Generic (avoid running errors caused by forced type conversion)For example:Arraylist list = new arraylist ();List. Add (New
Using Regular Expressions can well complete a lot of tedious and time-consuming work. The following transcription editplus regular expressions are also applicable to notepad ++:
Expression description
\ T tab.
\ N new line.
. Match any character.
|
VI command list
Wentao sun, Autodesk, Inc. dec.16th, 2008
Text Editor is the most commonly used tool in all computer systems. In UNIX, the editors include ex, sed, and VI. Among them, VI is the most widely used, while VI commands are numerous. The
VI (Vim) is a commonly used editor on Linux. By default, VI (Vim) is installed in many Linux distributions ). There are many VI (Vim) commands, but if they are used flexibly, the efficiency will be greatly improved. VI is short for "Visual Interface"
I. Use of Regular Expressions
Delete empty rows: replace % [^ t] ++ ^ P with empty strings.
Replace the carriage return line break: replace ^ P with an empty string
Remove trailing space: Replace [^ t] + $ with an empty string
Space at the
Original article: http://blog.csdn.net/qinboecjtu/article/details/6035028
A regular expression is a query string that contains general characters and special characters. special characters can be used to expand the search string capability. The
Labels: common Linux Vim commandsZookeeper
First learned vim, see http://blog.csdn.net/u011848617/article/details/12837873
After that, I once lost my skills. After learning again, I found that it is essential to master Common commands. Below are
Vim (vi) is a commonly used editor on Linux. By default, VI (Vim) is installed in many Linux distributions ). There are many VI (Vim) commands, but if they are used flexibly, the efficiency will be greatly improved. VI is short for "Visual Interface"
Editplus v2.12 tips
Non-original, source network, Author Unknown.
Regular Expression class[1] apply a regular expression -- replace the specified content with the end of the row[2] Regular Expression Application -- replacement of numbers ------------
Some of them are easy to mix up, so I will detail them here.
The replace parameters are char and charsequence, which can be used to replace characters or replace strings (charsequence is the meaning of string sequences, that is, strings );
The
Text Editor is the most commonly used tool in all computer systems. In UNIX, the editors include ex, sed, and VI. Among them, VI is the most widely used, while VI commands are numerous. The Forum does not seem to have a summary of this. The
Move cursor command H: move the cursor one character to the leftL: move the cursor one character to the rightSpace: move the cursor one character to the rightBackspace: move the cursor one character to the leftK or Ctrl + P: move the cursor up a
1. Check the processPs command to find the process-related PID:Ps a shows all programs under the current terminal, including those of other users.PS-A shows all programs.When listing programs in ps c, the real command name of each program is
VI commandIt can be said that it is the most common command to edit files in the Unix/Linux world, but it has too many command sets, so it is not easy to be proficient in it, except for professional SA, for our developers, we only need to master
1. Text Editor;
There are many text editors, such as gedit, kwrite, OpenOffice ......, in text mode, the editors include VI, VIM (enhanced version of VI), and nano ...... VI and Vim are the most commonly used editors in Linux. It is necessary to
In linux, vi is used to replace characters-general Linux technology-Linux programming and kernel information. The following is a detailed description. In vi/vim, you can use the: s command to replace the string. In the past, I used to replace it
Welcome to the Linux community forum and interact with 2 million technical staff. A friend lost a shell to me a few days ago and asked me to decrypt the shell. I opened the source code and read it as "shenshield encryption, in fact, some people have
The void function is as follows: call_user_method () (use call_user_func () instead) call_user_method_array () (use call_user_func_array () instead) define_syslog_variables () dl () ereg () (use preg
The void function is as follows:
Call_user_method
Linux VI Tool
Method 1: Enter VI filename in the command line and open the file if it exists. If it does not exist, create a file named filename.After entering VI, press the I key, enter the content, and then press ESC, then press the colon
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.