备忘

git config --global color.ui true 设置git彩色


curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh  安装 zsh


打tag标记

git tag -a v3.0 -m "v3.0"

git push --tags

删除本地和远程标记
git tag -d v2.10
git push origin :refs/tags/v2.10


PyCharm key

User Name: LatestSerials.com
License Key: ===== LICENSE BEGIN =====
97224-12042010
00002H5PsYQ7H4jb!g"qFw0pa7iePK
AmKJJp26FjqawIlKkkuWRAhy3DiR3N
ktmu0FEcTj2GA0Kha095oUIv58RLbH
===== LICENSE END =====


sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
sudo vi /etc/hosts  编辑hosts
执行ssh 10.10.140.140  生成.ssh文件夹,路径为 ~/.ssh,然后到此目录中去编辑config文件
添加配置文件,为host指定证书路径,形如 
Host 10.10.140.140
IdentityFile /Users/dongquan/.ssh/[email protected]
为了便于方便 可以在host中设置代理地址
hosts中 指定10.10.140.140 为build.server
对应的这个config文件的配置信息中指定Host build.server

github证书的配置 同上,在~/.ssh/config 中指定证书,形如 Host github.com
    IdentityFile /Users/dongquan/.ssh/id_rsa
    IdentityFile /Users/dongquan/.ssh/id_dsa
如果提示Permissions 0644 for '.ssh/id_rsa' are too open.
则需要修改id_rsa的权限,使用chmod 600 id_rsa

 

安装pip curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py


photoshor for mac

1325-0150-1163-7532-1626-3430
1325-0702-3693-1544-9166-3515
1325-0549-2240-0071-3409-1342

你可能感兴趣的:(备忘)