Skip to content

Instantly share code, notes, and snippets.

@ddelizia
Last active August 6, 2018 14:36
Show Gist options
  • Save ddelizia/54c6277917d2226fa26e4442193ba400 to your computer and use it in GitHub Desktop.
Save ddelizia/54c6277917d2226fa26e4442193ba400 to your computer and use it in GitHub Desktop.
alias brewup='brew update; brew upgrade; brew prune; brew cleanup; brew doctor'
export JREBEL_HOME=/Applications/jrebel
export LC_ALL=es_ES.UTF-8
export LANG=es_ES.UTF-8
alias ccat='pygmentize -g'
alias hosts='cat /etc/hosts'
alias mysshkey='pbcopy < ~/.ssh/id_rsa.pub'
alias jupyter='cd ~/projects/jupyter;pipenv run jupyter notebook'
alias javaupdate='if which jenv > /dev/null; then eval "$(jenv init -)"; fi;export JAVA_HOME="$HOME/.jenv/versions/`jenv version-name`"'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
javaupdate
# ---------------
# Hybris utils
# ---------------
alias hstart='./hybrisserver.sh debug'
alias hantstart='ant all;./hybrisserver.sh debug'
alias initjunit='ant initialize -Dtenant=junit'
alias initspock='initjunit;ant importwstestdata'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment