Skip to content

Instantly share code, notes, and snippets.

@ArgonCode
Forked from rands0n/dotfiles.sh
Created December 10, 2015 04:53
Show Gist options
  • Select an option

  • Save ArgonCode/57a5641285a5abadbc63 to your computer and use it in GitHub Desktop.

Select an option

Save ArgonCode/57a5641285a5abadbc63 to your computer and use it in GitHub Desktop.
My files for Ubuntu 14.04
# cURL
apt-get install curl
# Git
apt-get install git
git config --global user.name "Randson Oliveira"
git config --global user.email "[email protected]"
git config --global color.ui auto
# ZSH and Oh My ZSH
apt-get install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
chsh -s `which zsh`
# ZSH Syntax Highlight
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
echo "source ~/.oh-my-zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
source ~/.zshrc
# tmux
apt-get install tmux
# mouse support for tmux
touch ~/.tmux.conf
echo 'setw -g mode-mouse on' >> ~/.tmux.conf
tmux source-file ~/.tmux.conf
# Window Theme for Ubuntu
add-apt-repository ppa:numix/ppa
apt-get update
apt-get install numix-gtk-theme
# Icons Theme for Ubuntu
add-apt-repository ppa:noobslab/icons
apt-get update
apt-get install ultra-flat-icons
# Mouse Cursor Theme
apt-get install oxygen-cursor-theme
update-alternatives --config x-cursor-theme
# Plank
add-apt-repository ppa:ricotz/docky
apt-get update
apt-get install plank
# Unity Tweak Tool
add-apt-repository ppa:freyja-dev/unity-tweak-tool-daily
apt-get update
apt-get install unity-tweak-tool
# Clementine
apt-get install clementine
# Spotify
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
apt-get update
apt-get install spotify-client
# VLC Media Player
apt-get install vlc
# Google Chrome
apt-get install libxss1 libappindicator1
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google-chrome*.deb
rm google-chrome-stable_current_amd64.deb
# Firefox Developer Edition
add-apt-repository ppa:ubuntu-mozilla-daily/firefox-aurora
apt-get update
apt-get install firefox
# Sublime Text 3
add-apt-repository ppa:webupd8team/sublime-text-3
apt-get update
apt-get install sublime-text-installer
# GParted
apt-get install gparted
# GitG
apt-get install gitg
# Caffeine
add-apt-repository ppa:caffeine-developers/ppa
apt-get update
apt-get install caffeine
# Vagrant
apt-get install vagrant
apt-get install virtualbox-dkms
# Virtual Box
apt-get install virtualbox
# Ruby with rbenv plugins (default 2.2.3 now) // 2015-10-16
apt-get install autoconf bison libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
rbenv install 2.2.3
ruby --version
rbenv global 2.2.3
# Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
apt-get install build-essential m4 texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
export PATH="$HOME/.linuxbrew/bin:$PATH" >> ~/.zshrc
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH" >> ~/.zshrc
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH" >> ~/.zshrc
# NodeJS // https://gist.github.com/isaacs/579814
mkdir ~/.nodejs && cd ~/.nodejs
echo 'export PATH=$HOME/.nodejs/bin:$PATH' >> ~/.zshrc
. ~/.zshrc
git clone https://github.com/nodejs/node .
./configure --prefix=~/.nodejs
make install
cd ..
# SQLite3
apt-get install sqlite3 libsqlite3-dev
# Go Version Manager(gvm)
zsh < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source ~/.gvm/scripts/gvm
gvm install go1.5 # // (now )
gvm use go1.5 [--default]
sudo apt-get install mercurial make binutils bison gcc build-essential # dependencies for go
# hub by github
git clone https://github.com/github/hub.git
cd hub
./script/build
cp hub /usr/local/bin/hub
cd ..
rm -r hub
echo "alias git=hub" >> ~/.zshrc
echo 'eval "$(hub alias -s)"' >> ~/.zshrc
# Key for GitHub
ssh-keygen -t rsa -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
# http://www.modern.ie/en-us/virtualization-tools
# IE8 XP
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_XP/IE8.XP.For.MacVirtualBox.ova"
# IE9 Win7
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7/IE9.Win7.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}"
# IE10 Win8
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar}"
# http://askubuntu.com/questions/15520/how-can-i-tell-ubuntu-to-do-nothing-when-i-close-my-laptop-lid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment