Array:
Creates a new array.
Array_walk:
Let the user customize the function to handle each element in the array.
Arsort:
Sorts the values of an array from large to small.
Asort:
Sorts the values of
/*
+-------------------------------------------------------------------------------+
| = This article is for Haohappy read >
| = Notes from the chapter classes and objects
| = translation-oriented + personal experience
| = Please do not reprint to
This article has shared the use of the thinkphp framework for the development of Mobile Interface code, the original app to provide API interface, specific content as follows
1. Use the TP framework when placed under the Common folder file name is
First, the realization effect
Second, the main code
1, template
2. Controller
Index Module
Add Module
3. Model
Third, the Code
So you can reader copy the test.
1, template
column Columns
{$vo [' Blank ']}{$vo ['
Sample Batch: Test.bat
Copy Code code as follows:
: On Error Resume Next
Sub bat
echo Off & CLS
echo Batching_codez_here_following_vbs_rules & Pause
Start Wscript-e:vbs "%~f0"
Exit Sub
End Sub
MsgBox "This is VBS"
Use bat script to join domain and exit domain
To join a domain script:
@echo off
netdom join%computername%/domain:test.com/userd:user/passwordd:pass/reboot:5
Script to exit the domain:
@echo off
netdom
1,
ren full file name * Specifies any character or consecutive string in the full file name. extension name
Change file name: From the beginning of the original file name to the specified character (string). Extension name
Such as:
ren 10.pdf *0.c
The use of the DEL command is simple, using the "Del file path" format. For example, to remove the test.txt in the D-packing directory, use del d:\test.txt.
However, not all files can be handled with the DEL command, such as files with hidden
For instance:-
for/f "delims="%%a in (input.txt) do ...
for/f "delims="%%a in (' Type input.txt ') do ...
for/f "delims="%%a in (' More ^
However, only the "last Method" (using the more command) would give consistent results across Windows NT, XP
Copy Code code as follows:
@ECHO off
TITLE greaterthanme-realize the function of timing shutdown, cancellation, restart and lock. Start
Cls
COLOR 1f
REM changes the console output color using the color command
MODE Con cols=41 lines=18
' It's a little bit easier to change a small program on the web, which is a good search efficiency.
Copy Code code as follows:
On Error Resume Next
Dim KeyWord, Dirtotal, Timespend, Filetotal, Fso, outfile, Txtresult, Txtpath, spath
The first sentence: select * into [ToTable] the second sentence of [fromtable] : INSERT into [ToTable] ([fild_one],[fild_two]) SELECT [Fild_one], 8 from [fromtable] Both of the above sentences insert [fromtable] data into [ToTable], but the two
For a long time, I found a way to execute the VBS directly in batch processing without temporary files
Sample Batch: Test.bat
Code:
Copy Code code as follows:
: On Error Resume Next
Sub bat
echo Off & CLS
echo
How to use it?
Lazy Load relies on jQuery. Please add the following code to the page Head area:
Copy Code code as follows:
and add the following statement to your code of execution:
Copy Code code as follows:
This paper illustrates the effect of jquery on the horizontal multilevel menu with delay function. Share to everyone for your reference, specific as follows:
The Operation effect chart is as follows:
The specific code is as follows:
To view the running status of the Apache server, you can use the command to implement it. The specific steps are as follows:1. Locate the following in the Apache main configuration file/etc/httpd/conf/httpd.conf:
Copy Code code as follows:
1. Install Nginx
#yum install Nginx #配置文件处于/etc/nginx
#systemctl start nginx #启动nginx
#systemctl enable Nginx.service # set to boot
#systemctl status Firewalld #检查防火墙, if active (running), then
#vim/etc/firewalld/zones/ Public.xml
(-1) written in front
I used the chrome49,jquery3.0, I got 399 points, believe it or not.
(1) Design ideas
Two P elements in Div, each P element is the same height and width as div, when the mouse on the Div, the first P move up (change margintop
Introduction
Why is jquery able to unlock events without passing callback functions? As follows:
$ ("P"). On ("click", Function () {
alert ("the paragraph is clicked.");
$ ("#box1"). Off ("click");
Event binding Solution Mechanism
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