Skip to content

Instantly share code, notes, and snippets.

@allanesquina
Created December 19, 2017 13:32
Show Gist options
  • Save allanesquina/dee247d2c0525ac0b209c9faca0a03a3 to your computer and use it in GitHub Desktop.
Save allanesquina/dee247d2c0525ac0b209c9faca0a03a3 to your computer and use it in GitHub Desktop.
init.sh
sudo apt-get update
sudo apt-get -y install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev libv8-dev libcurl3-dev nodejs ssh libgmp3-dev libmysqlclient-dev libpq-dev libev-dev libgdbm-dev libncurses5-dev automake libtool bison
#git
sudo apt-get install git
#terminator
sudo apt-get install terminator
#oh my zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# configure git
git config --global user.name "your name"
git config --global user.mail your_email
git config --global --add color.ui true
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
#curl
sudo apt-get install curl
# NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash
# Vim installation
sudo apt-get install vim
mkdir ~/.vim
mkdir ~/.vim/autoload
# Vim autoload(~/.vim/autoload)
curl -fLo ~/.vim/a/utoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Fonts
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
#yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment