01 2016 档案
摘要:1.通过config命令npmconfigsetregistryhttp://registry.cnpmjs.orgnpminfounderscore(如果上面配置正确这个命令会有字符串response)2.命令行指定npm--registryhttp://registry.cnpmjs.orgin...
阅读全文
摘要:sudo apt-get install nodejssudo apt-get install npmsudo apt-get install nodejs-legacysudo add-apt-repository ppa:chris-lea/node.jssudo apt-get updates...
阅读全文
摘要:以后自己笔记本就使用ubuntu 作为自己的开发环境了,以后尽量换个mac1、安装搜狗输入法http://jingyan.baidu.com/article/a3aad71aa1abe7b1fa009641.html2、安装 chromewget https://dl.google.com/linu...
阅读全文
摘要:1、首先需要了解几个测试工具 a、前端使用 pagespeed b、服务器响应测试使用ab c、数据库使用mysqlslap 以及 explan的sql优化工具mysqlslap -a -c 500 -i 10 -uroot -p1234562、前端优化一些方法 a、减少http请求,使用图...
阅读全文
摘要:1、安装测试套件apt-get install apache2-utils 2、ab 命令说明Usage: ab [options] [http[s]://]hostname[:port]/pathOptions are://总的请求数 -n requests Number of request...
阅读全文