Skip to content

Instantly share code, notes, and snippets.

# port forwarding 9991-9999
xports='ssh vm -v `for i in {1..9}; do echo "-R 999$i:127.1:999$i "; done`'
# tmux exists or new
tmux='tmux attach || tmux new'
# switch submodule to ref (in submodule dir)
subm_co='git checkout master; git fetch; git checkout'
# !!!