web storm License Server
mac environment variable
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
http://stackoverflow.com/questions/603785/environment-variables-in-mac-os-x
牛逼: 设置eclipse 环境变量,搞定!
http://stackoverflow.com/questions/829749/launch-mac-eclipse-with-environment-variables-set
git 使用
git clone [git_url]
git checkout -b xxx 新建一个branch 分支, 并且指向它
git add .
git commit -m “commit_message”
git push [可以设置upstream,提交只是在本地,需要推到远程服务器]
git checkout xxx 切换到此分支
git stash 将修改记录保存到本地git 堆栈中
git pop 使用stash 命令保存在git 堆栈中的修改
如何把已经提交的commit, 从一个分支放到另一个分支
git cherry-pick
commit number 可以使用git log 查看
提交后,该commit 会覆盖(修改)原有的记录,即只保存当前提交记录,push后upstream 记录也是一样
git commit -m —amend
git push -f
git checkout -b web-xxx 从当前目录创建分支
git reset —soft orgin/master 保留当前 工作目录,撤销当前分支的提交至master 版本
这样就能看到 该分支对比于master 修改了什么
github 没有统计贡献的原因之一,没有绑定push的user email
Make sure your local email is the exact same that the one in the account.
Go to the terminal and inside the folder you are pushing the commits, run:
git config –global user.email xxx@qq.com
git config –system user.email xxx@qq.com
git config –local user.email xxx@qq.com
If you want to discard the changes,
git checkout –
git checkout branch
If you want to keep the changes,
git stash save
git checkout branch
git stash pop
TCP http 请求拦截
sudo tcpdump -s 0 -i any -A dest 192.168.1.1 and tcp port 8080
select * from ACT_HI_TASKINST order by start_time_ desc limit 5;
gitlab
username: xiabin
password: keytoneX
mysql
2016-11-16T03:05:42.116825Z 1 [Note] A temporary password is generated for root@localhost: ,krvl>s4kH&V
Angularjs 浏览器端开启debug模式
localStorage.debug=’on’
localStorage.log = ‘*’
然后刷新