会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
@少个分号
大脑硬件太差,少运行点软件就是了。。
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
20
下一页
2016年2月3日
nodejs SSL Error: CERT_UNTRUSTED while using npm command 错误
摘要: SSH 使用错误,其实我们关掉HTTPS就好了 npm config set strict-ssl false 或者 npm config set registry=”http://registry.npmjs.org/”
阅读全文
posted @ 2016-02-03 15:20 linksgo2011
阅读(2056)
评论(0)
推荐(0)
2016年1月3日
nodejs 使用国内源
摘要: 1.通过config命令npmconfigsetregistryhttp://registry.cnpmjs.orgnpminfounderscore(如果上面配置正确这个命令会有字符串response)2.命令行指定npm--registryhttp://registry.cnpmjs.orgin...
阅读全文
posted @ 2016-01-03 12:01 linksgo2011
阅读(1133)
评论(0)
推荐(0)
ubuntu 下安装nodejs环境需要小小注意一下
摘要: 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...
阅读全文
posted @ 2016-01-03 11:55 linksgo2011
阅读(699)
评论(0)
推荐(0)
2016年1月2日
ubuntu 安装后需要做的几件事
摘要: 以后自己笔记本就使用ubuntu 作为自己的开发环境了,以后尽量换个mac1、安装搜狗输入法http://jingyan.baidu.com/article/a3aad71aa1abe7b1fa009641.html2、安装 chromewget https://dl.google.com/linu...
阅读全文
posted @ 2016-01-02 22:19 linksgo2011
阅读(272)
评论(0)
推荐(0)
网站性能优化前端+服务器+数据库
摘要: 1、首先需要了解几个测试工具 a、前端使用 pagespeed b、服务器响应测试使用ab c、数据库使用mysqlslap 以及 explan的sql优化工具mysqlslap -a -c 500 -i 10 -uroot -p1234562、前端优化一些方法 a、减少http请求,使用图...
阅读全文
posted @ 2016-01-02 12:20 linksgo2011
阅读(271)
评论(0)
推荐(0)
linux下 使用apache2 ab 测试进行压力测试
摘要: 1、安装测试套件apt-get install apache2-utils 2、ab 命令说明Usage: ab [options] [http[s]://]hostname[:port]/pathOptions are://总的请求数 -n requests Number of request...
阅读全文
posted @ 2016-01-02 11:59 linksgo2011
阅读(621)
评论(0)
推荐(0)
2015年12月31日
nginx 反向代理配置方式
摘要: 参考网址http://www.centoscn.com/nginx/2014/0509/2947.html1、基于子目录的配置方式location /name/ { proxy_pass http://127.0.0.1/remote/;}2、基于域名的配置TODO
阅读全文
posted @ 2015-12-31 18:33 linksgo2011
阅读(438)
评论(0)
推荐(0)
linux shell 脚本30分钟教程
摘要: http://c.biancheng.net/cpp/view/6994.html
阅读全文
posted @ 2015-12-31 18:26 linksgo2011
阅读(195)
评论(0)
推荐(0)
ubuntu nginx+mysql+php 服务器环境自动配置脚本
摘要: # @author ln printf.cn# ubuntu nginx mysql php自动配置脚本conf_file = "# You may add here your# server {# ...# }# statements for each of your virtual hosts ...
阅读全文
posted @ 2015-12-31 16:55 linksgo2011
阅读(325)
评论(0)
推荐(0)
2015年10月21日
前端开发中常用工具函数总结
摘要: 1、时间格式化等方法推荐使用 moment.js 的库文件3、模板、循环、MAP等方法使用underscode.js 的方法4、表单序列化成JSON $.fn.serializeJson = function() { var serializeObj = {}; v...
阅读全文
posted @ 2015-10-21 14:39 linksgo2011
阅读(1944)
评论(1)
推荐(2)
1
2
3
4
5
···
20
下一页
公告