为nodejs的npm设置代理

为nodejs的npm设置代理
npm config set proxy=http://127.0.0.1:8087

清除npm的代理命令
npm config delete proxy
npm config delete http-proxy
npm config delete https-proxy

查看修改后的配置

npm get [key]

eg. npm get proxy

#设置NodeJS源

npm config set registry=http://registry.npmjs.org

npm config set registry=”http://r.cnpmjs.org”

#或者使用国内镜像,速度更快哦
npm config set registry=”http://registry.npm.taobao.org/”

npm install -g cnpm –registry=https://registry.npm.taobao.org

npm查找模块信息

npm info ionic

关闭npm的https
npm config set strict-ssl false

Mysql备份数据库命令mysqldump

Mysql备份数据库命令mysqldump

1.Backup

使用root用户备份test数据库

mysqldump -u root -p test > D:\backup_test.sql

使用root用户备份test数据库下的person表

mysqldump -u root -p test person > D:\backup_test_person.sql

2.Restore

还原备份的mysql数据库

mysql -u root -p < C:\backup.sql

ofo月卡免费领

免费骑行小黄车90天!

1.

https://common.ofo.so/newdist/?MouthCardPage&channel=12717_1508828796203&type=2&duringType=1&subType=64749192

 

2.

https://common.ofo.so/newdist/?MouthCardPage&channel=12717_1508829020634&type=2&duringType=1&subType=69318535

3.

https://common.ofo.so/newdist/?MouthCardPage&channel=12717_1508829113963&type=2&duringType=1&subType=85555263

4.

https://common.ofo.so/newdist/?MouthCardPage=&channel=12717_1508828796203&type=2&duringType=1&subType=64749192

5.

http://t.cn/RpPE8l3

 

6.

http://t.cn/RCy6Wq0

http://t.cn/RCL1gZy

http://t.cn/RCG74NU

http://t.cn/R0S38Mf

http://t.cn/RCMvZ5p

http://t.cn/RCqX6Ej

http://t.cn/RCx6so7

http://t.cn/RCJ80JC

http://t.cn/RCJ80Jp

 

持续更新中。。。