admin 发布的文章

APACHE2如何里一个站点绑定多个域名?用ServerAlias以前很笨,要使多个域名指向同一站点总是这样写:<VirtualHost *:80> ServerAdmin webmaster@admin DocumentRoot "D:/coreamp/htdocs/" ServerName localhost ErrorLog "../apache-2.2.16-project2-error.log" CustomLog "../apache-2.2.16-projec- 阅读剩余部分 -

打开 File->Settings->Editor->File and Code Templates->Templates->Javascript File/** * Created by liweiliang 406320591@QQ.com on ${DATE} ${TIME}. */ /** * create on ${DATE} ${TIME} * @author liweiliang * @QQ 406320591 * @email 406320591@QQ.com */

gulpjs是一个前端构建工具,与gruntjs相比,gulpjs无需写一大堆繁杂的配置参数,API也非常简单,学习起来很容易,而且gulpjs使用的是nodejs中stream来读取和操作数据,其速度更快。如果你还没有使用过前端构建工具,或者觉得gruntjs太难用的话,那就尝试一下gulp吧。本文导航:gulp的安装开始使用gulpgulp的API介绍一些常用的gulp插件1、gulp的安装首先确保你已经正确安装了nodejs环境。然后以全局方式安装gulp:npm install -g gulp 全局安装gulp后,还需要在每个要使用gulp的项目中都单独安装一次。把- 阅读剩余部分 -

var fastAJax = function(args) { var xmlhttp = null; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } if (xmlhttp == null) { args.handler(- 阅读剩余部分 -