Today because of contact with a framework, various try,catch. Throws a fatal error and a syntax error to 500. Try,catch is unable to catch the wrong. And then use the next register_shutdown_function This method, very goodThe principle of this method
Open LAN Share (access to the local computer without verification can enter). cmd
Copy Code code as follows:
@ ECHO off
@ ECHO.
@ ECHO. Description
@ ECHO--------------------------------------------------------------------
@ ECHO
Copy Code code as follows:
@echo off
: _max
Mode con:cols=62 lines=23
Set Bt=maxdos V6 system Backup viewer. Maise Studio Http://Pzz.Cn
Color F0
Title%bt%
: _m1
Cls
Echo.
echo Maxdos V6 System Backup Viewer
Echo══════════════════════
It takes several steps to build an SSH trust manually, and manual interaction (enter the password, etc.), if the number of machines is very cumbersome, in order to save their time, wrote an automated script for reference.
1. Create a new executable
Here document is one of the ways in which you define block variables in bash.
The form of the definition is:
Command
...
...
...
HereIts role can be used to define a variable, the command and the content between here using the way to input to the
After the project is developed and deployed to the Linux environment, if its own platform does not provide log automatic backup functionality, then we may need to write a script and use the Linux crontab to do the scheduled cleanup and backup
Special character Encyclopedia in BashBy expanding, the character you enter will expand into another character before the shell works on it. Such as:
[Sl@sl ~]$ Echo *
Desktop Pic Txt.save
The shell expands the name of the file under the current
Substitution is what.
Shell when it encounters an expression that contains one or more special characters for substitution. Example:
The following example enables printing to replace the value of the variable with its value. and "" is a new line to
1, you can use the Win7 system with the recording device to try whether the normal use of wheat, if there is an echo or current sound, it should be the problem of the Mac or motherboard interface, you can consider changing the wheat or motherboard;
First make sure your server environment already has memcached and lamp, on the Linux build memcahced+php environment can refer to my other post(http://www.cnblogs.com/codeAB/p/5591118.html)You should take these questions with you before you look
Due to some problems in MySQL master, such as Phantom Reading, and so on master-slave synchronization occurs when the main fault, need to master and slave cross-cutting, just learning python with Python wrote a master-slave cross-cutting script,
1. Copy the following code into the text, and finally modify the text suffix name to xxx.bat batch file;*************************************************************************************************************** ******************@echo
This article directory:1.1 Document Descriptor (file DESCRIPTION,FD)1.2 Copying of file descriptors1.3 Redirect Order is important: ">file 2>&1" and "2>&1 >file"1.4 Changing the redirect target for the current shell environment1.5 Closing file
Date Displays the current time and date Cal displays the current month of the Calendar DF View the number of free memory on the disk in the available PWD print current working directory CD switch directory LS list Folder contents absolute path:
Bat automatically decompress and release the asp.net program. bat decompress asp.net.
1. decompress the package
2. Replace the file
3. Stop the service
4. Recreate the virtual directory
5. Restart the service.
@ Echo 1. Zipexe compression assembly
1. returns the file extension.Function getformat ($ file){$ Ext = strrchr ($ file ,".");$ Format = strtolower ($ ext );Return $ format;}2. format the variable$ Num = 1;Printf ("% 04d", $ num );?>3. php redirection webpage// For example, redirect to
After several failed changes and reinstalls, I finally found a solution in answers on the official website: 1. The screen brightness cannot be saved after reboot: [cpp] sudogedit/etc/rc. after opening local, you will see the following content :#!
CENTOS 6.6 SHELL Initialization Script
This script may be required after CENTOS6.6 is installed. When learning about CENTOS, you can run this script to perform some configuration, which helps you not to be troubled by the yum selinux ip addresses of
PHP string processing is an important part of PHP basics, summarizing and collating1, simplest, string output single quotation mark and double quotation mark difference (the definition string can use both single quotation mark and double quotation
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.