Skip to content

Instantly share code, notes, and snippets.

View sushil10018's full-sized avatar

Sushil Shrestha sushil10018

View GitHub Profile
@sushil10018
sushil10018 / .zshrc
Created January 20, 2016 11:51
Simple alias to make your day simple
alias gstart="git branch -D developing && git branch developing && git checkout developing"
gfinish () { git branch $1 && gco $1 && ggpush }
echo "* Updating system"
apt-get update
apt-get -y upgrade
echo "* Installing packages"
apt-get -y install build-essential libmagickcore-dev imagemagick libmagickwand-dev libxml2-dev libxslt1-dev git-core nginx redis-server curl nodejs htop
id -u deploy &> /dev/null
if [ $? -ne 0 ]
then