Skip to content

Instantly share code, notes, and snippets.

@asaelx
Last active December 19, 2015 08:38
Show Gist options
  • Save asaelx/7f33a5340dd4ef12e418 to your computer and use it in GitHub Desktop.
Save asaelx/7f33a5340dd4ef12e418 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# # # # # # # # # #
# Developer Stuff #
# # # # # # # # # #
# Install Homebrew
echo "Installing Homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew Cask
echo "Installing Homebrew Cask..."
brew tap caskroom/cask
# Update Homebrew
brew update
brew cleanup
sudo brew cask cleanup
# Install wget
echo "Installing wget..."
brew install wget
# Make Code Directory
echo "Creating ~/Code directory..."
mkdir ~/Code
# Install Python 3
echo "Installing Python 3..."
brew install python3
# Install NodeJS
echo "Installing NodeJS..."
brew install nodejs
# Install Java
echo "Installing Java..."
# brew cask install java
# Install Silverlight
echo "Installing Silverlight..."
brew cask install silverlight
# Install Sass
echo "Installing Sass..."
sudo gem install sass
# Install Gulp
echo "Installing Gulp..."
sudo npm install gulp -g
# Install Composer
echo "Installing Composer..."
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
# Generate SSH Key Pair
echo "Generating SSH Key Pair..."
if ! [ -f $HOME/.ssh/id_rsa ]
then
ssh-keygen -f ~/.ssh/id_rsa -t rsa -N ''
fi
# # # # # # #
# Fun Stuff #
# # # # # # #
# Install mps-youtube
echo "Installing mps-youtube..."
pip3 install mps-youtube
# Install MPlayer
echo "Installing MPlayer..."
brew install mplayer
# Install Subliminal Subtitles
echo "Installing Subliminal Subtitles..."
pip3 install subliminal
# Add alias for convenience
# echo "alias subs='subliminal download -l es'" >> ~/.zshrc
# source ~/.zshrc
# # # # # # #
# Torrents #
# # # # # # #
# Install Transmission
echo "Installing Transmission..."
sudo brew cask install transmission
# Install Pirate Get
echo "Installing Pirate Get..."
pip3 install pirate-get
# Add alias for convenience
# echo "alias torrent='pirate-get'" >> ~/.zshrc
# source ~/.zshrc
# Install TV Shows
echo "Installing TV Shows..."
sudo brew cask install tvshows
# # # # # # # # #
# Web Browsers #
# # # # # # # # #
# Install Google Chrome
echo "Installing Google Chrome..."
brew cask install google-chrome
# Install Firefox
echo "Installing Firefox..."
brew cask install firefox
# # # # # # # # # #
# Developer Apps #
# # # # # # # # # #
# Install iTerm 2
echo "Installing iTerm 2..."
brew cask install iterm2
# Install Atom
echo "Installing Atom..."
brew cask install atom
# Install Atom Plugins
echo "Installing Atom Plugins..."
apm install emmet
apm install minimap
apm install merge-conflicts
apm install gist
apm install advanced-open-file
apm install file-icons
apm install atom-alignment
apm install atom-jade
apm install css-snippets
apm install docblockr
# Install Sequel Pro
echo "Installing Sequel Pro..."
brew cask install sequel-pro
# Install Slack
echo "Installing Slack..."
brew cask install slack
# Install VirtualBox
echo "Installing VirtualBox..."
brew cask install virtualbox
# Install Vagrant
echo "Installing Vagrant..."
brew cask install vagrant
# # # # # #
# Laravel #
# # # # # #
# Install Laravel
echo "Installing Laravel Installer..."
composer global require "laravel/installer"
echo "Installing Homestead..."
composer global require "laravel/homestead=~2.0"
# Add executables to PATH
echo export PATH=$HOME/.composer/vendor/bin:$PATH >> ~/.zshrc
source ~/.zshrc
# Init Homestead
homestead init
# # Add homestead box
# vagrant box add laravel/homestead
# # # # # # # #
# Other Stuff #
# # # # # # # #
# Install The Unarchiver
echo "Installing The Unarchiver..."
brew cask install the-unarchiver
# Install Knock
echo "Installing Knock..."
brew cask install knock
# Install Spotify
echo "Installing Spotify..."
brew cask install spotify
# Install Spotify Notifications
brew cask install spotify-notifications
# Install Google Drive
echo "Installing Google Drive..."
brew cask install google-drive
# # Install Dropbox
# echo "Installing Dropbox..."
# brew cask install dropbox
# Install 1Password
echo "Installing 1Password..."
brew cask install 1password
# Install Couleurs
echo "Installing Couleurs..."
brew cask install couleurs
# Install Adobe Creative Cloud
echo "Installing Adobe Creative Cloud..."
brew cask install adobe-creative-cloud
# Install SkyFonts
echo "Installing SkyFonts..."
brew cask install skyfonts
# Install Wacom Drivers
echo "Installing Wacom Drivers..."
brew cask install wacom-tablet
# Install Sketch Toolbox
echo "Installing Sketch Toolbox..."
brew cask install sketch-toolbox
# Oh my zsh
# Install Oh my zsh
echo "Installing Oh my zsh..."
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Finish and end sudo su
exit
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment