Skip to content

Instantly share code, notes, and snippets.

@rands0n
Last active May 3, 2019 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rands0n/77173612039b3378db5c to your computer and use it in GitHub Desktop.
Save rands0n/77173612039b3378db5c 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 "randsonjs@gmail.com"
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 "randsonjs@gmail.com"
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
{
"bold_folder_labels": true,
"caret_extra_bottom": 1,
"caret_extra_top": 1,
"caret_extra_width": 1,
"caret_style": "phase",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Palenight.tmTheme",
"copy_with_empty_selection": false,
"draw_indent_guides": true,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.so",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
".DS_Store",
"*.class",
"*.psd",
"*.db",
"*.sublime-workspace",
"*.rdb"
],
"fold_buttons": false,
"folder_exclude_patterns":
[
".coverage",
".nuxt",
".svn",
".vscode",
".git",
".hg",
"CVS",
"node_modules",
"coverage",
".idea",
"bower_components",
".publish",
".sass-cache",
".tmp",
"_site",
"*.sublime-project",
"*.sublime-workspace"
],
"font_face": "Hermit",
"font_options":
[
"no_bold",
"no_round"
],
"font_size": 16,
"gutter": false,
"highlight_line": false,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"indent_guide_options":
[
"draw_normal"
],
"index_files": true,
"line_numbers": false,
"line_padding_bottom": 10,
"line_padding_top": 10,
"margin": 0,
"material_theme_accent_graphite": true,
"material_theme_small_statusbar": true,
"material_theme_small_tab": true,
"material_theme_tabs_autowidth": true,
"material_theme_tabs_separator": true,
"overlay_scroll_bars": "enabled",
"remember_full_screen": true,
"rulers":
[
],
"save_on_focus_lost": true,
"tab_size": 2,
"theme": "Material-Theme-Palenight.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"use_simple_full_screen": true,
"word_separators": "./\\()\"'-:,.;<>~@#$%^&*|+=[]{}`~"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment