PHP Daily Progress a little bit common Linux commands

Popular, Welcome to shoot Bricks 1. Create directory: mkdir XXX 2. View Nginx installation directory: Ps-ef|grep nginx 3. Give the folder a permission: chmod 777 XXX 4. View Linux port usage: NETSTAT-APN 5. View the path to PHP: which PHP 6.

Hammer.js use

Gestures include tap (tap), long Press, swipe (swipe), direction (PAN)Usage examples: Hammer.js use

Synchronous and asynchronous for Ajax, JQ, etc.

Asynchronous is when you execute this method, but also the next method, such as eating, while playing the phone.And synchronization is done after this method is going to execute the next method, such as eat first, then go to play mobile phone.

Ajax front-End backend

First, it is a synchronous sending request, the second is through the AJAX technology via a button or hyperlink to send the request asynchronously, does not require page redirectionSecond, special attention: Ajax request Way Get/post;(1) get:send

Questions about uploading pictures

First of all to declare the first time the blogger is uploading pictures used by someone else to write goodAt first, the backstage need is a Base64 image address later, I said I need an upload image objectJust like this.First, you need a new

PHP sometimes difficult to output the information displayed can be used in the OB buffer to do

Sometimes some difficult to print information can be done through the buffer, such as mobile phone scan code on the information does not see this, of course, can also be fiddler to grab the package, you can see this information, directly on the code:

Tomcat's WebService interface accesses cross-domain

TOMCAT7 published WebService interface error when user cross-domain access(No ' Access-control-allow-origin ' header is present on the requested resource. Origin ' https://xcx1.winhui.net ' is therefore not allowed access.)Solutions1. Download the

Attributeerror:module ' html5lib.treebuilders ' has no attribute ' _base '

Encountered error: Attributeerror:module ' html5lib.treebuilders ' has no attribute ' _base 'FIX: Pip install--upgrade html5lib==1.0b8Discuss:Online One: Probably is that html5lib inside the treebuilders inside there is no _base this attributeGo to

Yii2 off index.php?r=

NormalFirst confirm the Apache2 configuration1. Open the Apache mod_rewrite moduleRemove LoadModule rewrite_module modules/mod_rewrite.so before the "#" symbol;2. Modify Apache's allowoverrideChange allowoverride None to allowoverride all;Add the

Front-end---CSS

First, the introduction of CSS methodsThere are three ways to introduce CSS in HTML: inline style inline style External styles 3.1-Link3.1 Import Type1.CSS IntroductionNow the Internet front end is divided into three layers:

Ajax scroll bar Lazy loading

Front-end HTMLDivclass= "Activity_box"> ulclass= "Clearfix"ID= "Contact"> content - ul> DivID= "Loading"style= "Text-align:center"> imgsrc= "/images/loading.gif"alt="" />Loading data, please wait ...Div>Div>Front-end JS:Back-End Code:

Cliipblard.js realize click to copy

Cliipblard.js realize click to copy

CSS3 Sliding Door

* {padding:0;margin:0; }#subject{position:relative;width:80%;Height:165px;background:Skyblue;margin:200px Auto;Overflow:Hidden; }#subject > Ul > Li{position:Absolute;float: Left;List-style:None;width:40%;Height:165px;font-size:48px;text-align:Center;

CSS3 Animation related

CSS3 's animation has eight properties: 1.animation-name Specifies the keyframe name of the animation that needs to be bound to the selector, and 2.animation-duration specifies the time, in seconds or milliseconds, that the animation will take to

HTTP various features application (ii)

A. CookiesWith Set-cookie settings, the next browser request will be brought up, key-value pairs, you can set more than one.Cookie PropertiesMax-age and expires setting expiration timeSecure is only sent when HTTPS isHttpOnly cannot be accessed

Apache Configuration Forward Proxy

BackgroundProxy, located between the client and the actual server, when the client needs to request service-side content, the agent initiates a request, the agent forwards the request to the actual servers, and then the original path back. You can

Getting Started with ADO

1.0 connection Strings String constr = "Data source=.;i Nitial catalog=test; User Id=sa; password= ' Qwertyu ' "; 2.0 returns the first column of the row results using (SqlConnection conn = new SqlConnection (constr)) {string sqlstr

Ajax Delete Data No refresh

HTML page{include file= "header"} numbering Operations {volist name= "data" id= "VO"}{$vo .id} Modify & #xe642; Delete & #xe640;{/volist}{$page}PhpDeletePublic Function List_del (){$list =db (' News ')->where (' id ', input (' id '))->find

webpack--most basic use and conversion Bunble.js file

① Global Installation WebpackNPM Install Wepack-g② if you want to pack a package, start NPM in the project root directory FirstNPM init-yAutomatically generates a Package.json file when it is startedFormat of the ③ packageNPM I Jquery-s④ does not

HTML Basics Tips

button to remove the borderBorder:noneborder:0px (not recommended)Button::after {Content:none;}Remove the border after a tag is clickedA:focus{outline:none;}Text omittedOverflow:hidden;Text-overflow:ellipsis;White-space:nowrap;width:210px;More than

Total Pages: 10629 1 .... 10317 10318 10319 10320 10321 .... 10629 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.