摘要: npmyarn npm install yarn npm install react --save yarn add react npm uninstall react --save yarn remove react npm install react --save-dev yarn add re 阅读全文
posted @ 2018-10-08 07:33 Running00 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1.查看某个文件是谁修改的,提交人,时间 git blame file_path 2.具体修改详情:git log -p file_path 3.查看基于那个分支: git 4.Git撤销 5.git stash 加入储藏 git stash list 查看所有储藏 git stash apply 阅读全文
posted @ 2018-10-08 06:55 Running00 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 选中文件 ctrl + option +c 可以复制文件路径 阅读全文
posted @ 2018-09-26 17:28 Running00 阅读(215) 评论(0) 推荐(0) 编辑
摘要: mkdir 文件夹名 可以创建一个文件夹 阅读全文
posted @ 2018-09-26 17:01 Running00 阅读(89) 评论(0) 推荐(0) 编辑
摘要: npm outdated 列出所有的 版本有差异的 npm outdated webpack(包名)列出此包的版本 第一个例子: npm outdated less 输出 Package Current Wanted Latest Location less 2.7.3 2.7.3 3.8.1 ** 阅读全文
posted @ 2018-09-26 16:59 Running00 阅读(180) 评论(0) 推荐(0) 编辑
摘要: npm install 之后 会生成package-lock.json 文件 ,注意这个文件不能删除,否则每次 npm i 之后,node_modules都装的是最新的,会出现意想不到的问题。 阅读全文
posted @ 2018-09-26 16:48 Running00 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1.css 优先级计算 http://www.standardista.com/css3/css-specificity/ 阅读全文
posted @ 2018-09-25 00:02 Running00 阅读(93) 评论(0) 推荐(0) 编辑
摘要: https://github.com/callmelaoda/communicate/issues/8 open -a Google\ Chrome --args --disable-web-security --user-data-dir 阅读全文
posted @ 2018-09-24 23:37 Running00 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1. 字符串转化为数字 Number(1) parseInt(1) parseFloat(1) 区别: number 参数只要含有非数字,结果就是NaN, 阅读全文
posted @ 2018-09-24 19:44 Running00 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 打开终端: 输入下面的命令 sudo /opt/cisco/vpn/bin/vpn_uninstall.sh 有问题 端口占用 sudo /opt/cisco/anyconnect/bin/websecurity_uninstall.sh 安装只选vpn 就行 其他不用选 阅读全文
posted @ 2018-09-24 19:42 Running00 阅读(8842) 评论(0) 推荐(0) 编辑