Skip to content

Instantly share code, notes, and snippets.

@rodesousa
Last active November 7, 2016 22:23
Show Gist options
  • Select an option

  • Save rodesousa/dc52464953871e3f0c0b2361189ec051 to your computer and use it in GitHub Desktop.

Select an option

Save rodesousa/dc52464953871e3f0c0b2361189ec051 to your computer and use it in GitHub Desktop.
alias basrc custom
#
# HEROKU
#
# pour se co
#alias herologin='heroku login'
# check cb de temps il reste
#alias herops='heroku ps'
# conf
#alias heroconf='heroku config'
# postgress
#alias heropg='heroku pg'
# conect pg
#alias heropsql='heroku pg:psql'
# run local
#alias herorun='heroku local web'
# compile hero
#alias herocompile='sbt compile stage'
#alias
alias l='ls -l'
alias la='ls -la'
alias rtl='ls -rtl'
alias vi='vim'
alias ..='cd ..'
alias docker='docker'
alias datef='echo `date +%Y-%m-%d`'
#json
alias fjson='python -m json.tool'
#alias psbt="sbt -Dhttp.proxyHost=proxy.le-figaro.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.le-figaro.com -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts='localhost|127.0.0.1|leacv|leaoffres|keljob-search-api|dev.keljob.com|keljob-api|*.adencf.local'"
#docker stop
docker_stop(){
docker stop $(docker ps -a -q)
}
alias dockerstop="docker_stop"
#ip
show_ip(){
wget http://ipinfo.io/ip -qO -
}
alias showip='show_ip'
source ~/.git_prompt.sh
alias free='free -h'
export GOPATH=~/gowork
export PATH=$PATH:$GOPATH/bin
alias ni=nvim
ln -sr /usr/bin/nvim /usr/bin/ni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment