Skip to content

Instantly share code, notes, and snippets.

@ashwoods
Last active December 24, 2018 05:38
Show Gist options
  • Save ashwoods/e0b7a99cca18d8c523a42e743ac2f5b2 to your computer and use it in GitHub Desktop.
Save ashwoods/e0b7a99cca18d8c523a42e743ac2f5b2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -e
PYENV_SWITCH=false
# install xcode command line tools
gcc -v >/dev/null 2>&1 || sudo xcode-select --install
# install brew and app bundles
brew -v >/dev/null 2>&1 || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install readline mas blackbox git
brew tap Homebrew/bundle
curl -O https://gist.githubusercontent.com/ashwoods/e0b7a99cca18d8c523a42e743ac2f5b2/raw/de5f4d2b01eeeef5848ef77a002aba7167c03540/Brewfile
brew bundle
pyenv -v >/dev/null 2>&1 || PYENV_SWITCH=true
if ["$PYENV_SWITCH" = true]; then
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
grep -q -F "export PATH=\"/home/vagrant/.pyenv/bin:\$PATH\"" ~/.bash_profile || echo "export PATH=\"/home/vagrant/.pyenv/bin:\$PATH\"" >> ~/.bash_profile
grep -q -F "eval \"\$(pyenv init -)\"" ~/.bash_profile || echo "eval \"\$(pyenv init -)\"" >> ~/.bash_profile
grep -q -F "eval \"\$(pyenv virtualenv-init -)\"" ~/.bash_profile || echo "eval \"\$(pyenv virtualenv-init -)\"" >> ~/.bash_profile
export PATH="/home/vagrant/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv install 2.7.11
export PYENV_VERSION=2.7.11
pip install --upgrade pip wheel setuptools
pip --version
pip install --upgrade cffi
pip install checkoutmanager dotfiles tox
pyenv install 3.5.1
fi
if [ ! -d ~/Dotfiles ]; then
git clone [email protected]:ashwoods/dotfiles.git ~/Dotfiles
fi
# installpkg
# virtualbox
# pycharm
# docker
# vagrant
# keybase
# launchbar
# slack
# iterm
# atom
# spf13
# fish
# little snitch
# transmission
# spectacle
# Rstudio
# Dropbox
# Firefox
# vlc
# tunnelblick
# flux
# gitup
# github desktop
# virtualbox
# antivirus
# dupe-guru
# box-sync
# google drive
# sourcetree
# calibre
# hexchat
# libreoffice
# get gpg keys and dotfiles
tap 'bls/blackbox'
tap 'caskroom/cask'
tap 'homebrew/bundle'
tap 'homebrew/core'
tap 'homebrew/fuse'
brew 'libyaml'
brew '[email protected]'
brew 'gdbm'
brew 'openssl'
brew 'readline'
brew 'sqlite'
brew 'python'
brew 'ansible'
brew 'autoconf'
brew 'automake'
brew 'bash'
brew 'bash-completion'
brew 'libpng'
brew 'freetype'
brew 'fontconfig'
brew 'gettext'
brew 'libffi'
brew 'pcre'
brew 'glib'
brew 'pixman'
brew 'cairo'
brew 'cloc'
brew 'libgpg-error'
brew 'libassuan'
brew 'libgcrypt'
brew 'libksba'
brew 'pth'
brew 'dirmngr'
brew 'fdk-aac'
brew 'lame'
brew 'git'
brew 'x264'
brew 'xvid'
brew 'ffmpeg', args: ['with-fdk-aac', 'with-freetype', 'with-libass', 'with-libvorbis', 'with-libvpx', 'with-opus', 'with-sdl2', 'with-x265']
brew 'libogg'
brew 'libvorbis'
brew 'theora'
brew 'ffmpeg2theora'
brew 'pcre2'
brew 'fish'
brew 'fribidi'
brew 'fzf', args: ['HEAD']
brew 'jpeg'
brew 'libtiff'
brew 'gd'
brew 'gmp'
brew 'gnupg'
brew 'pinentry'
brew 'gpg-agent'
brew 'libusb'
brew 'libusb-compat'
brew 'gnupg2'
brew 'lua'
brew 'gnuplot'
brew 'go'
brew 'pkg-config'
brew 'gobject-introspection'
brew 'icu4c'
brew 'harfbuzz'
brew 'htop-osx'
brew 'hugo'
brew 'iperf'
brew 'libass'
brew 'libevent'
brew 'libquvi'
brew 'libtool'
brew 'libvo-aacenc'
brew 'libvpx'
brew 'md5sha1sum'
brew 'mercurial'
brew 'mpfr'
brew 'node'
brew 'opus'
brew 'postgresql'
brew 'pyenv'
brew 'pyenv-virtualenv'
brew 'sdl'
brew 'sgrep'
brew 'sloccount'
brew 'socat'
brew 'ssh-copy-id'
brew 'texi2html'
brew 'tig'
brew 'tmux'
brew 'watch'
brew 'wget'
brew 'x265'
brew 'xmlstarlet'
brew 'xz'
brew 'yasm'
brew 'z'
brew 'zsh'
brew 'bls/blackbox/blackbox'
brew 'homebrew/fuse/ext4fuse'
cask 'atom'
cask 'box-sync'
cask 'dropbox'
cask 'dupeguru'
cask 'flux'
cask 'github-desktop'
cask 'gitup'
cask 'google-chrome'
cask 'google-drive'
cask 'hexchat'
cask 'iterm2'
cask 'java'
cask 'keybase'
cask 'libreoffice'
cask 'little-snitch'
cask 'pycharm'
cask 'slack'
cask 'sourcetree'
cask 'spectacle'
cask 'transmission'
cask 'tunnelblick'
cask 'vagrant'
cask 'virtualbox'
cask 'vlc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment