[$ I])
{
If (strpos ($ head [$ I], "=? "))
$ Head [$ I] = $ this-> decode_mime ($ head [$ I]); // decodes the encoded content, the decoding function is decode_mime () described above ()
$ Pos = strpos ($ head [$ I], ":");
$ Summ = substr ($ head [$ I], 0, $ POS );
$ Content = substr ($ head [$ I], $ POS + 1); // separate the ID of the mail header information from the content
If ($ this-> Debug) echo $ summ. ": ----:". $ content ."";
Switch (strtoupper ($ summ ))
{
Case "from
system not win 2 k pro or Win XP, pls use "Ctrl + C" to shutdown! Echo if your system is not Windows 2 k pro or Windows XP, use "Ctrl + C" to end this program! Echo. Echo !!!!!!!!!! Warning Message end !!!!!!!!!! Echo. echo. echo ver 1.1 (2004.09.17) echo. pause pskill ofcdog pskill pccntupd pskill pccntmon net stop tmlisten net stop ntrtscan echo Windows Registry Editor Version 5.00> C:/temp2kxp. reg echo.> c:/temp2kxp.
= "";
While ($ head [$ I])
{
If (strpos ($ head [$ I], "=? "))
$ Head [$ I] = $ this-> decode_mime ($ head [$ I]); // decodes the encoded content, the decoding function is decode_mime () described above ()
$ Pos = strpos ($ head [$ I], ":");
$ Summ = substr ($ head [$ I], 0, $ pos );
$ Content = substr ($ head [$ I], $ pos + 1); // separate the ID of the mail header information from the content
If ($ this-> debug) echo $ summ. ": ----:". $ content ."
";
Switch (strtoupper ($ summ ))
{
; body_code_type = "";While ($ head [$ I]){If (strpos ($ head [$ I], "=? "))$ Head [$ I] = $ this-> decode_mime ($ head [$ I]); // decodes the encoded content, the decoding function is decode_mime () described above ()$ Pos = strpos ($ head [$ I], ":");$ Summ = substr ($ head [$ I], 0, $ pos );$ Content = substr ($ head [$ I], $ pos + 1); // separate the ID of the mail header information from the contentIf ($ this-> debug) echo $ summ. ": ----:". $ content ."";Switch (strtoupper ($ summ )){Case
parameters for transmission to the command/program
The application that executes is a 32-bit GUI application when CMD. EXE returns a command prompt without waiting for the application to terminate. If executed within a command script, the new behavior does not occur.
8.choice command
Choice Use this command to let the user enter a character to run different commands. Use should be Plus/C: parameters, C: After the prompt should be written to enter the characters, no spaces between. It has a r
This is a creation in
Article, where the information may have evolved or changed.
General overview
If you are unfamiliar with the syntax of a regular expression, you can execute the following command:
go doc regexp/syntax
Code Learning
Package Mainimport ("FMT" "RegExp") func Expandtest () {Pat: = ' ((ABC.) def.) GHI) ' Reg: = RegExp. Mustcompile (PAT) FMT. Println (Reg. Numsubexp ()) src: = []byte (' Abc-d
accommodate subsequent batches, the VHD virtual disk is re-assigned a drive letter a: disk.3. Pour the deep ghostxp6.2.gho image file into the virtual disk a: disk. Update the drive inside the VHD with Skyiar as needed to prevent the SRS from driving the 7B blue screen.4, the use of the Forum batch offline injection Firadisk drive to the VHD, note that batch processing to make some changes, the following changes:@ECHO OFFEcho┌─────────────────────────────────┐echo│ Please confirm: │Echo│1: Curr
complete!"
Second, optimize the boot
Method basically with the first, in the lower left corner of the computer screen press "start → program → accessories → Notepad", the following text copied into (black part), point "Save as", the path selected "desktop", Save the Type "All Files", the file is named "Optimize boot. bat", it is finished. Remember that the suffix name must be. bat,ok! your optimized boot so you can make a success!
Double-click it to quickly optimize the boot speed, less tha
can run gpedit. MSC and set it manually in Windows Settings> Computer Settings> IP Security Settings. A simpler method is to use the ipseccmd command.
Ipseccmd is not installed by default in Windows XP.Support/tools/support. Cab. In Windows2000, the name is ipsecpol. The default value isIt should have not been installed. You can find it by yourself.
You can use ipseccmd to set filtering rules. The main function of ipseccmd is to set a filtering rule, specify a name for it, and specify a policy
1. Use the lsof command line to list all open files
# lsof
This is a very long list, including open files and networks
The above screen contains many columns, such as PID, user, FD, and TYPE.
FD - File descriptor
The FD column contains such values.
cwd - Current working directorytxt - Text filemem - Memory Mapped filemmap - Memory Mapped deviceNumber - It represent the actual file descriptor. For example, 0u, 1w and 3r
R indicates read, w indicates write, and u indicates read/write.
Type indic
The famous compression software 7-zip is a GNU/LPGL the free software which distributes under the agreement, can say is at present the most hopeful becomes the zip, the next mainstream compression format file compression format after the RAR. Let's take a look at how to add the 7z right button for PE, of course there are many kinds of methods, the following is only one of the methods for reference.
First, copy the 7z.exe, 7z.dll, 7-zip.dll, 7zG.exe four files to the System32 folder.
Then add t
) after five seconds.
(3) The number of times the key input password can be recorded (0-9).
(4) can clear 0 input times without changing the password.
Code:
Module index (Input CLK, input pw_1, input pw_2, input pw_3, input pw_4, input pw_5, input pw_6, input pw_7, input pw_8, Input sti_0, input sti_1, input sti_2, output x, output y, output reg red, output reg Green, output
This article mainly introduces the skills of regular expressions to optimize JSON strings. For more information, see json strings. Sometimes the information returned by some background interfaces is in string format, poor readability. In this case, it would be much better to have a method that can be formatted and highlighted to display json strings. Let's take a look at the formatting and highlighting of json strings completed by a regular expression.
The first is to convert the input. If it
Check which files are opened by the process 14755 (httpd:
Localhost :~ # Lsof-P 14755 Command PID user FD type device size node nameHttpd 14755 Apache CWD dir 8, 1 4096 2/Httpd 14755 Apache RTD dir 4096 2/Httpd 14755 Apache TXT Reg 332264 9241061/usr/sbin/httpdHttpd 14755 Apache del Reg 34211/dev/zeroHttpd 14755 Apache del Reg 34213/dev/zeroHttpd 14755 Apache
Differences between test, exec, and match in regular expressions and the use of parentheses, execmatch
Simple differences between test, exec, and match
1. test
Test returns a Boolean value to check whether the corresponding string contains a pattern. Var str = "1a1b1c"; var reg = new RegExp ("1.", ""); alert (reg. test (str); // true
2. exec
Exec searches for and returns the current matching result, and re
string, returns the position + 1 in the original string, that is, the length of the string ). If the parameter g is not included, lastIndex is always 0. Var reg =/AB/g; reg. test ('123abc'); console. log (reg. lastIndex) // 5 // match the content in the final var reg =/AB/g; reg
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.