Skip to content

Instantly share code, notes, and snippets.

@fliiiix
Last active August 29, 2015 13:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save fliiiix/8832584 to your computer and use it in GitHub Desktop.
alias git_pull='echo "update repo" && git pull && echo "update submodule" && git submodule update --init --recursive && echo "kill ruby" && killall -u $user ruby'
alias bundler='bundle install --binstubs --path vendor'
alias gitsubmodulupdate='git submodule update --recursive && git submodule foreach git pull origin master && git commit -am "update submodul" && git push'
function mongologin(){
mongo admin --port $port -u mongoadmin -p $passwort
}
sshcreate() {
ssh-keygen -b 4096 -f $1 -C hi@l33t.name && echo "your public key:" && cat $1.pub
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment