In windows, apache runs php in the form of fastcgi
Take xampp as an example. The steps are as follows:
1: Download the corresponding mod_fastcgi, download reference site: http://www.apachelounge.com/download/VC11/
2: Copy mod_fastcgi to the modules directory of apache installation. The directory contains the. so file with mod headers.
3: Edit httpd. conf and add the following to the end:
LoadModule fcgid_module modules/mod_fcgid.so# FcgidInitialEnv PHPRC "c:/xampp/php"
FcgidIOTimeout 60
Fcgi
Description (2017-6-12-11:26:48):1. The video tutorial is a button click, slowly become longer:Note several aspects:(1) routedevent= "Button.Click", where the button is used, is the property name, not the name name button1.(2) These things should be written in pairs of tags, such as this is (3) Duration value inside to be written "0:0:2" This format of time, only write "2" is no effect.2. Your own code:"168"Horizontalalignment=" Left"margin="40,12,0,0"Name="Myvideo"Verticalalignment="Top"Width="
20130109It is found that l sensor is enabled only once when the system is started, and no IOCTL is transferred to the driver. This is a problem.
Why does l-sensor work only when P-sensor is enabled once after the system is started? The result is that the P-sensor must be enabled before interruption occurs. If l-sensor is enabled first, the interruption does not occur.The two use the same interrupt.
Solve the problem!Cause: the sensor is working before the configuration is interrupted, and the de
21gsmI/powermanagerservice (250): mlocks 3268435482 msmsphoneappD/keyguardviewmediator (250): onscreenturnedoff (4)D/powermanagerservice (250): acquirewakelock flags = 0x1 tag = sleep_broadcastI/windowmanager (250): phonewindowmanager screenturnedoff is run and why = 4
We can see that every time the screen is closed, it will call D/keyguardviewmediator (250): onscreenturnedoff (*)Based on the parameters, we can know the reason for every screen shutdown.The meanings of each number are as follows
、java (jdb.exe): It is a debugging tool that provides a command line debugging environment for Java programs to facilitate the debugging of classes interpreted by Java.6、java (javap.exe): decomassembles a java byte code file and returns the relevant members of the class.
Appletviewer may be used incorrectly and the following error occurs:-------------------- I'm an underline -------------------E:/mywork/Java/practice/sub01> appletviewer hello.htmlExce
P.s: in this article, you will find a way to obtain the latitude and longitude Based on the city keyword, that is, to obtain the latitude and longitude through the reverse latitude and longitude query interface of the Google map API.Google map APIIs a powerful map API, many well-known websites are using Google map API, once I also wrote a program based on visitors or even domain names to query latitude and longitude (http://js8.in/mywork/ipsearch ). T
Qtp
Read Excel
Data methodWhen building your own testing framework, or reading external data from Excel for checking, you must use the Excel COM object programming method. The readfile function in the script below implements this function, create an Excel application object, open an Excel file, and read the Excel data to an array. Arrrange = readfile ("D:/qtp/mywork/readexcelfiletest1/objecttree.xls", "Tree") 'msgbox ubound (arrrange, 1) 'msgbox uboun
HowQtpUsed inIntelliisense(Intelligent and sensitive) custom accessVbsFunctions and objects?
BecauseQtpUseVbsAs a scripting languageOoDefects inIntelliisenseThis is also becauseQtpOfIDEThis reduces the efficiency of script writing.
The following describes a method.WSCEncapsulationVbsScript, registeredComObject, and then addQtpThe object registry is retainedQtpMediumIntelliisenseAccess.
(1) CreateWSCFile
DEBUG = "true"?>
Object = "scripting. Dictionary"/>
Description = "functions" progid
tomcat installation directory \ bin ). Therefore, I personally think that in web projects, it is best not to use "relative paths relative to the current user directory ". However, by default, classes in the java. io package always analyze relative path names based on the current user directory. This directory is specified by the system property user. dir, which is usually the call Directory of the Java Virtual Machine. This means that when using classes in the java. io package, it is best not t
1. Xcopy deploymentProgram.
The files include deploy. BAT and config.txt.Deploy. Bat reads the configuration information of config.txt and uses xcopy to deploy the program.Config.txt saves the configuration parameter information.File Content:
Config.txt:
D: \ mywork \ localwebD: \ develop \ source \ jtgl*. Aspx, *. JS, *. asp, *. html, *. htm, *. jpg, *. CSS, *. GIF, *. XML, *. ascx*. Aspx, *. jsParameter description of each row: the first line:
terminated by '12' stored as textfilelocation '/user/data/staging/page_view '; # You can import data to a table after creating a table # Local path (stepping stone) load data local inpath '/tmp/date.txt' overwrite into Table page_view partition (Pt = '2017-06-08 ') # hadoop path load data inpath '/tmp/date.txt' overwrite into Table page_view partition (Pt = '2017-06-08 ') # The above overwrite key will cover the entire table, if you only want to append the data, remove overwrite. # Add a partit
In windows, apache runs php and apachefastcgi in the form of fastcgi.
Take xampp as an example. The steps are as follows:
1: Download the corresponding mod_fastcgi, download reference site: http://www.apachelounge.com/download/VC11/
2: Copy mod_fastcgi to the modules directory of apache installation. The directory contains the. so file with mod headers.
3: Edit httpd. conf and add the following to the end:
LoadModule fcgid_module modules/mod_fcgid.so# FcgidInitialEnv PHPRC "c:/xampp/php"
FcgidIO
searches for fixed strings, rather than the regular expression received by grep. While egrep receives a pattern that contains a larger range of special characters (such as "|", which indicates the condition OR operator.
$ Egrep 'subject | mailto '*
Search for files
The GNU version of the find command is very powerful, flexible, and more inclusive than the classic version on UNIX systems. It is very useful for tasks involving directory structures, including searching and executing commands on fi
absolute path name//String System.out.println (File.getabsolutefile ()); Gets the absolute file name return type FILESYSTEM.OUT.PRINTLN (File.getcanonicalpath ());//Gets the canonical absolute path name System.out.println (File.getname ()); Get file name System.out.println(File.getpath ()); Gets the path System.out.println (new Date (file.lastmodified ())). toLocaleString ());//File Last Modified date System.out.println ( File.length ()); File Length}/** * file renamed */public static void rena
directoryMkdir-p/work/tools/crosstool-ng-builtRun Config: ./configure--prefix=/work/tools/crosstool-ng-1.20.0Appear:Checking forabsolute path to readelf .../usr/bin/readelfChecking forgperf ... noConfigure:error:missing Required Tool:gperfInstallation:sudo apt-get install gperfBut my Ubuntu system tips (some versions may not have this problem):[Email protected]:~/mywork/files/crosstool-ng-1.20.0$sudo apt-get Install GperfReading packagelists ... Done
other command.
GrepWhich of the following is the most useful option?-S. If you search for system files by any identity except the root user, an error message is generated for each file that you do not have access. This command disables those messages.
Fgrep(AlsoGrep-F call) Only search for fixed strings, rather than the regular expression received by grep. WhileEgrepReceives a pattern that contains a larger range of special characters (such as "|", which indicates the condition or operator
Java read files can be used with byte stream and character stream. Since a Chinese character accounts for two bytes, if there is a Chinese character in the configuration file, it will be garbled if it is read with a byte stream. Character streams are not garbled.The configuration file B.properties file is as follows:family\ name = ZhouSecond name = DingzhaoGender = MaleTel No. = +86 (-) 13913462Salary = 0.001kProfessional =java EngineerThe code to read the configuration file is as follows:Prope
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service