Skip to content

Instantly share code, notes, and snippets.

@brunogarcia
Last active November 23, 2021 10:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunogarcia/bfb900a381a42406855415f78d4a8801 to your computer and use it in GitHub Desktop.
Save brunogarcia/bfb900a381a42406855415f78d4a8801 to your computer and use it in GitHub Desktop.
Linux Front-end Tools
###############
# GIT
###############
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y git
# Configuration
$ nano ~/.gitconfig
[core]
autocrlf = true
[alias]
co = checkout
ci = commit
st = status
br = branch
cl = clone
ft = fetch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
[user]
name = Bruno Garcia
email = bruno@garciaechegaray.com
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
###############
# ZSH
###############
sudo apt-get install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
###############
# GOOGLE CHROME
###############
sudo apt-get install -y libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/Downloads/
sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb
rm ~/Downloads/google-chrome-stable_current_amd64.deb
###############
# ATOM EDITOR
###############
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
apm starred --install
###############
# GENERAL TOOLS
##############
# INSTALL PYTHON 3 AND PYTHON TOOLS
apt-get install -y python3.4
apt-get install -y python3-setuptools
easy_install3 pip
pip install virtualenv
# LATEST DOCKER
curl -sSL https://get.docker.com/ | sh
sudo usermod -aG docker $USER
# DOCKER-COMPOSE 1.5.2
curl -L https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
# JAVA 8
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y oracle-java8-installer
sudo apt-get install -y oracle-java8-set-default
# Gradle
sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-cache search gradle
sudo apt-get install gradle-2.14.1
##############
# NODE
###############
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
nvm install 5.2.0
nvm alias default 5.2.0
################
# UPDATE ZSHRC
###############
$ nano ~/.zshrc
# Theme
ZSH_THEME="agnoster"
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
# USER NAME FOR 'OH MY ZSH' THEME
DEFAULT_USER="bruno"
# Wttr
alias wttr='curl wttr.in/Madrid'
###############
# NPM packages
###############
npm install -g git-recent
npm install -g diffchecker
###############
# JDK
###############
###############
# Maven
###############
sudo apt-get update
sudo apt-get install maven
mvn -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment