Liu Bo
Live long and prosper. Don't panic.
nice prompt for git/hg
https://github.com/milkbikis/powerline-bash
function _update_ps1()
{ export PS1="$(~/Scripts/powerline-bash.py --cwd-only $?)" }
export PROMPT_COMMAND="history -a; _update_ps1"
use CDPATH, cd subdir in anywhere.
export CDPATH='.:~:~/project'
CLI hotkey
emacs mode is default; vi mode. set -o vi
search, move to start/end, <alt> + .
work on shell of python, mysql, mongo, etc...
teamocil + tmux Link: preview, repo
Other
script ps_mem.py download @github
hibernate
fab
select clip access
one more script?
$ echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool | pygmentize -l json
$ python -m smtpd -n -c DebuggingServer localhost:25
$ python -m SimpleHTTPServer 8080
By Liu Bo
Tools & Tips for Python Developer and Linux/Mac User