正文内容加载中...
posted @ 2015-06-02 20:48 Arliang 阅读(1221) 评论(0) 编辑
摘要: ```javascriptvar page = require('webpage').create();page.open('http://qq.com', function () { page.render('example.png'); phantom.exit();});```摘自...阅读全文
posted @ 2015-05-28 15:12 Arliang 阅读(93) 评论(0) 编辑
摘要: MySQL删除data文件夹后,怎么都无法启动了,出现错误:```log150106 9:28:43 [Note] Plugin 'FEDERATED' is disabled.wampmysqld: Table 'mysql.plugin' doesn't exist150106 9:28:4...阅读全文
posted @ 2015-01-06 09:55 Arliang 阅读(2751) 评论(0) 编辑
摘要: ```:: setpath.bat文件内容@set test=value@cmd```运行setpath就可以用test的环境变量了,@是为了不显示命令```echo %test%value```阅读全文
posted @ 2014-11-12 18:54 Arliang 阅读(40) 评论(0) 编辑
摘要: ```javascript@echo off:: 当前目录 src/testset currDir=src/test/set sourceMapFileName=test.js.mapset inputList=%inputList% --js test1.jsset inputList=%inpu...阅读全文
posted @ 2014-07-25 16:10 Arliang 阅读(801) 评论(0) 编辑
摘要: ```javascript//// Unpacker for Dean Edward's p.a.c.k.e.r, a part of javascript beautifier// written by Einar Lielmanis //// Coincidentally, it can def...阅读全文
posted @ 2014-07-21 18:39 Arliang 阅读(351) 评论(1) 编辑
摘要: 必备工具 **adb tools**、**android chrome**先开启手机调试模式adb forward tcp:9919 localabstract:chrome_devtools_remote 成功会提示 * daemon not running. starting it ...阅读全文
posted @ 2014-06-26 09:55 Arliang 阅读(485) 评论(0) 编辑
摘要: 转自http://hancang2010.blog.163.com/blog/static/1824602612010711104018261/ 0) 头信息 curl命令查询服务器头信息 curl -I www.sina.com.cn 1) 热身 ...阅读全文
posted @ 2014-06-17 17:04 Arliang 阅读(82) 评论(0) 编辑
摘要: 昨天朋友在群里发了个链接 [如何编程实现 “2+2=5”?](http://segmentfault.com/q/1010000000531302)```javascriptg = function () { H = 3 return H + H}f = function () { Η = 2...阅读全文
posted @ 2014-06-06 09:35 Arliang 阅读(75) 评论(0) 编辑
摘要: ```javascriptnew Date('2014/04/30')Wed Apr 30 2014 00:00:00 GMT+0800 (中国标准时间)new Date('2014-04-30');Wed Apr 30 2014 08:00:00 GMT+0800 (中国标准时间)//第一个是地方...阅读全文
posted @ 2014-04-30 10:44 Arliang 阅读(144) 评论(0) 编辑