git config --global user.email "[email protected]"
git config --global user.name "Your Name"
添加一个用户账号:git:123456
将atweiquan工程的父级目录共享,比如D:\work\atweiquan,将work共享
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
添加一个用户账号:git:123456
将atweiquan工程的父级目录共享,比如D:\work\atweiquan,将work共享
Install setuptools http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools
Install pip http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip
%HOME%\pip\pip.ini (*nix: $HOME/.pip/pip.conf)
[global]
; index-url=http://pypi.tuna.tsinghua.edu.cn/simple
index-url=http://e.pypi.python.org/simple
/etc/apt/source.list
deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
~/Library/Application Support/SIMBL/Plugins/TerminalColours-SL-64bit.bundle/Contents/Info.plist
Change MaxBundleVersion
sudo killall -HUP mDNSResponder
1. 编辑NERD_tree.vim, | |
2. 找到 call s:initVariable("g:NERDTreeDirArrows", !s:running_windows) | |
3. 把那个"!"去掉 | |
Make sure that PuTTY is set for UTF-8 as well. You can do this under Window -> Translation -> Remote Character Set. You may need to choose a font that supports a reasonable portion of the Unicode range as well -- Terminal isn't necessarily going to cut it. | |
>>> t = ((1, 'a'),(2, 'b')) | |
>>> dict((y, x) for x, y in t) | |
{'a': 1, 'b': 2} | |
>>> [1] * 5 | |
[1, 1, 1, 1, 1] | |
>>> ['%s'] * 5 | |
['%s', '%s', '%s', '%s', '%s'] |
#!/bin/bash | |
# | |
# Install Postgres 9.2 on a clean Ubuntu 12.04 | |
""" | |
LC_ALL issue | |
comment out the AcceptEnv LANG LC_* line in the remote /etc/ssh/sshd_config file. | |
sudo apt-get install language-pack-en-base | |
sudo dpkg-reconfigure locales | |
comment out the SendEnv LANG LC_* line in the local /etc/ssh/ssh_config file. |