Skip to content

Instantly share code, notes, and snippets.

@kpopper
Last active November 13, 2018 13:35
Show Gist options
  • Select an option

  • Save kpopper/a348511a6c45935f4cdc to your computer and use it in GitHub Desktop.

Select an option

Save kpopper/a348511a6c45935f4cdc to your computer and use it in GitHub Desktop.

Revisions

  1. kpopper revised this gist Nov 13, 2018. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -28,14 +28,17 @@ brew install wget
    brew install git
    brew install postgresql
    brew services start postgresql
    brew install rbenv
    brew install ruby-build

    echo Installing Ruby (current stable version): https://www.ruby-lang.org/en/downloads/
    brew install ruby-install
    ruby-install ruby
    brew install chruby

    brew install node
    brew install android-sdk
    brew install hub
    brew install redis
    brew services start redis
    curl get.pow.cx | sh
    ## Potential things to install that might be better dealt with using vagrant
    # brew install imagemagick
    # brew install mongodb
    @@ -60,9 +63,6 @@ ln -s ~/dotFiles/.rspec ~/.rspec
    ln -s ~/dotFiles/.vimrc.local ~/.vimrc.local
    source .bash_profile

    echo Installing Ruby - check recent stable version: https://www.ruby-lang.org/en/downloads/
    rbenv install 2.5.0
    rbenv global 2.5.0
    gem update --system
    gem install bundler
    npm install -g bower
  2. kpopper revised this gist Feb 20, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -84,9 +84,9 @@ brew cask install --appdir=/Applications google-chrome
    brew cask install spotify
    brew cask install --appdir=/Applications synology-cloud-station
    brew cask install 1password
    brew cask install heroku-toolbelt
    brew cask install virtualbox
    brew cask install vagrant
    brew install heroku/brew/heroku
    # brew cask install virtualbox
    # brew cask install vagrant
    brew cask install superduper
    brew cask install base
    brew cask install transmission
  3. kpopper revised this gist Feb 20, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -60,9 +60,9 @@ ln -s ~/dotFiles/.rspec ~/.rspec
    ln -s ~/dotFiles/.vimrc.local ~/.vimrc.local
    source .bash_profile

    echo Installing Ruby v 2.1.5 - most stable version as at 12/2014
    rbenv install 2.1.5
    rbenv global 2.1.5
    echo Installing Ruby - check recent stable version: https://www.ruby-lang.org/en/downloads/
    rbenv install 2.5.0
    rbenv global 2.5.0
    gem update --system
    gem install bundler
    npm install -g bower
  4. kpopper revised this gist Feb 20, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ curl get.pow.cx | sh
    # brew install rabbitmq
    # brew install sqlite

    echo Set up SSH keys for Github
    echo Set up SSH keys for Github: https://help.github.com/articles/connecting-to-github-with-ssh/
    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git
    ln -s ~/dotFiles/.aliases ~/.aliases
  5. kpopper revised this gist Feb 20, 2018. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -34,8 +34,7 @@ brew install node
    brew install android-sdk
    brew install hub
    brew install redis
    ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
    brew services start redis
    curl get.pow.cx | sh
    ## Potential things to install that might be better dealt with using vagrant
    # brew install imagemagick
  6. kpopper revised this gist Feb 20, 2018. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,6 @@ brew install git
    brew install postgresql
    brew services start postgresql
    brew install rbenv
    brew install rbenv-gem-rehash
    brew install ruby-build
    brew install node
    brew install android-sdk
  7. kpopper revised this gist Feb 20, 2018. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -27,8 +27,7 @@ then
    brew install wget
    brew install git
    brew install postgresql
    ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    brew services start postgresql
    brew install rbenv
    brew install rbenv-gem-rehash
    brew install ruby-build
  8. kpopper revised this gist Oct 2, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -38,6 +38,7 @@ brew install hub
    brew install redis
    ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
    curl get.pow.cx | sh
    ## Potential things to install that might be better dealt with using vagrant
    # brew install imagemagick
    # brew install mongodb
  9. kpopper revised this gist Oct 2, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -117,6 +117,7 @@ echo * Microsoft Office (Ian and Louise) (NAS)
    echo * Printer Drivers (Ian and Louise) (NAS)
    echo * Flash player (Ian and Louise) (NAS)
    echo * Sublime Text 3
    echo * Sublime Text 3 packages: Package Control (https://packagecontrol.io/installation), EditorConfig, Sass
    echo \n
    echo Set up Cloud Station folders (Ian and Louise)

  10. kpopper revised this gist Oct 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -85,7 +85,7 @@ brew cask install eclipse-ide
    brew cask install --appdir=/Applications google-chrome
    brew cask install spotify
    brew cask install --appdir=/Applications synology-cloud-station
    brew cask install one password
    brew cask install 1password
    brew cask install heroku-toolbelt
    brew cask install virtualbox
    brew cask install vagrant
  11. kpopper revised this gist Oct 1, 2015. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -79,12 +79,12 @@ brew cask install java
    brew install elasticsearch
    ln -sfv /usr/local/opt/elasticsearch/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
    brew cask --appdir=/Applications install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install --appdir=/Applications alfred
    brew cask install --appdir=/Applications dropbox
    brew cask install eclipse-ide
    brew cask --appdir=/Applications install google-chrome
    brew cask install --appdir=/Applications google-chrome
    brew cask install spotify
    brew cask --appdir=/Applications install synology-cloud-station
    brew cask install --appdir=/Applications synology-cloud-station
    brew cask install one password
    brew cask install heroku-toolbelt
    brew cask install virtualbox
  12. kpopper revised this gist Oct 1, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -77,6 +77,8 @@ echo Installing applications via Homebrew Cask
    brew install caskroom/cask/brew-cask
    brew cask install java
    brew install elasticsearch
    ln -sfv /usr/local/opt/elasticsearch/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
    brew cask --appdir=/Applications install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install eclipse-ide
  13. kpopper revised this gist Oct 1, 2015. 1 changed file with 16 additions and 4 deletions.
    20 changes: 16 additions & 4 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -46,6 +46,22 @@ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
    # brew install rabbitmq
    # brew install sqlite

    echo Set up SSH keys for Github
    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git
    ln -s ~/dotFiles/.aliases ~/.aliases
    ln -s ~/dotFiles/.bash_completion ~/.bash_completion
    ln -s ~/dotFiles/.bash_profile ~/.bash_profile
    ln -s ~/dotFiles/.bashrc ~/.bashrc
    ln -s ~/dotFiles/.cliprompt ~/.cliprompt
    ln -s ~/dotFiles/.gemrc ~/.gemrc
    ln -s ~/dotFiles/.gitconfig ~/.gitconfig
    ln -s ~/dotFiles/.gitignore_global ~/.gitignore_global
    ln -s ~/dotFiles/.netrc ~/.netrc
    ln -s ~/dotFiles/.rspec ~/.rspec
    ln -s ~/dotFiles/.vimrc.local ~/.vimrc.local
    source .bash_profile

    echo Installing Ruby v 2.1.5 - most stable version as at 12/2014
    rbenv install 2.1.5
    rbenv global 2.1.5
    @@ -84,10 +100,6 @@ echo Installing fonts
    brew tap caskroom/fonts
    brew cask install font-aleo

    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git

    echo Set up SSH keys for Github
    echo Log in to Heroku

    echo Clean up...
  14. kpopper revised this gist Oct 1, 2015. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -27,13 +27,17 @@ then
    brew install wget
    brew install git
    brew install postgresql
    ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    brew install rbenv
    brew install rbenv-gem-rehash
    brew install ruby-build
    brew install node
    brew install android-sdk
    brew install hub
    brew install redis
    ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
    ## Potential things to install that might be better dealt with using vagrant
    # brew install imagemagick
    # brew install mongodb
  15. kpopper revised this gist Oct 1, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -32,7 +32,6 @@ brew install rbenv-gem-rehash
    brew install ruby-build
    brew install node
    brew install android-sdk
    brew install elasticsearch
    brew install hub
    brew install redis
    ## Potential things to install that might be better dealt with using vagrant
    @@ -57,6 +56,7 @@ cd maximum-awesome && rake
    echo Installing applications via Homebrew Cask
    brew install caskroom/cask/brew-cask
    brew cask install java
    brew install elasticsearch
    brew cask --appdir=/Applications install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install eclipse-ide
  16. kpopper revised this gist Oct 1, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -32,10 +32,12 @@ brew install rbenv-gem-rehash
    brew install ruby-build
    brew install node
    brew install android-sdk
    brew install elasticsearch
    brew install hub
    brew install redis
    ## Potential things to install that might be better dealt with using vagrant
    # brew install imagemagick
    # brew install mongodb
    # brew install redis
    # brew install mysql
    # brew install phantomjs
    # brew install rabbitmq
  17. kpopper revised this gist Oct 1, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -81,6 +81,9 @@ brew cask install font-aleo
    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git

    echo Set up SSH keys for Github
    echo Log in to Heroku

    echo Clean up...
    brew cleanup --force
    rm -f -r /Library/Caches/Homebrew/*
  18. kpopper revised this gist Oct 1, 2015. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -5,12 +5,15 @@ then
    echo "Come back when you have!"
    exit 2

    read -p "Have you installed all App Store apps (including Xcode Developer Tools)? <y/N> " prompt
    read -p "Have you installed all App Store apps? <y/N> " prompt
    if ! [[ $prompt =~ [yY](es)* ]]
    then
    echo "Come back when you have!"
    exit 2

    echo Install Xcode development tools - install from pop-up
    gcc

    echo Installing development stuff
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew update
  19. kpopper revised this gist Jun 4, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -69,7 +69,7 @@ brew cask install audacity
    brew cask install steam
    brew cask install cyberduck
    brew cask install skype
    brew cask install
    brew cask install google-drive

    echo Installing fonts
    brew tap caskroom/fonts
  20. kpopper renamed this gist Dec 6, 2014. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions setup_machine → setup_machine.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,10 @@
    #!/bin/sh
    read -p "Have you set up FileVault on both accounts? <y/N> " prompt
    if ! [[ $prompt =~ [yY](es)* ]]
    then
    echo "Come back when you have!"
    exit 2

    read -p "Have you installed all App Store apps (including Xcode Developer Tools)? <y/N> " prompt
    if ! [[ $prompt =~ [yY](es)* ]]
    then
  21. kpopper revised this gist Dec 1, 2014. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions setup_machine
    Original file line number Diff line number Diff line change
    @@ -63,6 +63,7 @@ brew cask install audacity
    brew cask install steam
    brew cask install cyberduck
    brew cask install skype
    brew cask install

    echo Installing fonts
    brew tap caskroom/fonts
    @@ -80,7 +81,10 @@ echo \n
    echo Set up dotFiles manually or by running ./dotFiles/link_me_up.sh
    echo \n
    echo Install the following apps manually
    echo * Microsoft Office (NAS)
    echo * Printer Drivers (NAS)
    echo * Microsoft Office (Ian and Louise) (NAS)
    echo * Printer Drivers (Ian and Louise) (NAS)
    echo * Flash player (Ian and Louise) (NAS)
    echo * Sublime Text 3
    echo \n
    echo Set up Cloud Station folders (Ian and Louise)

  22. kpopper renamed this gist Dec 1, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  23. kpopper revised this gist Dec 1, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -64,6 +64,10 @@ brew cask install steam
    brew cask install cyberduck
    brew cask install skype

    echo Installing fonts
    brew tap caskroom/fonts
    brew cask install font-aleo

    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git

  24. kpopper revised this gist Dec 1, 2014. 1 changed file with 42 additions and 9 deletions.
    51 changes: 42 additions & 9 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,31 +1,56 @@
    #!/bin/sh
    read -p "Have you installed all App Store apps (including Xcode)? <y/N> " prompt
    read -p "Have you installed all App Store apps (including Xcode Developer Tools)? <y/N> " prompt
    if ! [[ $prompt =~ [yY](es)* ]]
    then
    echo "Come back when you have!"
    exit 2

    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git
    ./dotFiles/link_me_up.sh
    source ~/.bash_profile

    echo Installing development stuff
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew update
    brew doctor
    read -p "Does everything look alright? <y/N> " prompt
    if ! [[ $prompt =~ [yY](es)* ]]
    then
    echo "Go and fix the problems, then come back."
    exit 3

    brew install wget
    brew install git
    brew install postgresql
    brew install rbenv
    brew install rbenv-gem-rehash
    brew install ruby-build
    brew install node
    brew install maximum-awesome
    brew install android-sdk
    ## Potential things to install that might be better dealt with using vagrant
    # brew install imagemagick
    # brew install mongodb
    # brew install redis
    # brew install mysql
    # brew install phantomjs
    # brew install rabbitmq
    # brew install sqlite

    echo Installing Ruby v 2.1.5 - most stable version as at 12/2014
    rbenv install 2.1.5
    rbenv global 2.1.5
    gem update --system
    gem install bundler
    npm install -g bower

    echo Installing Maximum Awesome
    cd ~ && git clone [email protected]:square/maximum-awesome.git
    cd maximum-awesome && rake

    echo Installing applications via Homebrew Cask
    brew install caskroom/cask/brew-cask
    brew cask install java
    brew cask --appdir=/Applications install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install eclipse-ide
    brew cask --appdir=/Applications install google-chrome
    brew cask install spotify
    brew cask install sublime-text
    brew cask --appdir=/Applications install synology-cloud-station
    brew cask install one password
    brew cask install heroku-toolbelt
    @@ -39,11 +64,19 @@ brew cask install steam
    brew cask install cyberduck
    brew cask install skype

    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git

    echo Clean up...
    brew cleanup --force
    rm -f -r /Library/Caches/Homebrew/*

    echo Apps to be manually installed
    echo To finish installation:
    echo \n
    echo Set up dotFiles manually or by running ./dotFiles/link_me_up.sh
    echo \n
    echo Install the following apps manually
    echo * Microsoft Office (NAS)
    echo * Printer Drivers (NAS)
    echo * Sublime Text 3

  25. kpopper revised this gist Dec 1, 2014. 2 changed files with 49 additions and 21 deletions.
    49 changes: 49 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,49 @@
    #!/bin/sh
    read -p "Have you installed all App Store apps (including Xcode)? <y/N> " prompt
    if ! [[ $prompt =~ [yY](es)* ]]
    then
    echo "Come back when you have!"
    exit 2

    echo Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git
    ./dotFiles/link_me_up.sh
    source ~/.bash_profile

    echo Installing development stuff
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew update
    brew install wget
    brew install postgresql
    brew install node
    brew install maximum-awesome

    echo Installing applications via Homebrew Cask
    brew install caskroom/cask/brew-cask
    brew cask --appdir=/Applications install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install eclipse-ide
    brew cask --appdir=/Applications install google-chrome
    brew cask install spotify
    brew cask install sublime-text
    brew cask --appdir=/Applications install synology-cloud-station
    brew cask install one password
    brew cask install heroku-toolbelt
    brew cask install virtualbox
    brew cask install vagrant
    brew cask install superduper
    brew cask install base
    brew cask install transmission
    brew cask install audacity
    brew cask install steam
    brew cask install cyberduck
    brew cask install skype

    echo Clean up...
    brew cleanup --force
    rm -f -r /Library/Caches/Homebrew/*

    echo Apps to be manually installed
    echo * Microsoft Office (NAS)
    echo * Printer Drivers (NAS)

    21 changes: 0 additions & 21 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,21 +0,0 @@
    ## Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git
    ./dotFiles/link_me_up.sh
    source ~/.bash_profile

    ## Install dev stuff
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew update

    ## Install apps
    brew install caskroom/cask/brew-cask
    brew cask install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install eclipse-ide
    brew cask --appdir=/Applications install google-chrome
    brew cask install spotify
    brew cask install sublime-text
    brew cask --appdir=/Applications install synology-cloud-station
    brew cask install one password
    brew cask install virtualbox
    brew cask install vagrant
  26. kpopper renamed this gist Dec 1, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  27. kpopper created this gist Dec 1, 2014.
    21 changes: 21 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    ## Set up dotFiles
    cd ~ && git clone [email protected]:kpopper/dotFiles.git
    ./dotFiles/link_me_up.sh
    source ~/.bash_profile

    ## Install dev stuff
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew update

    ## Install apps
    brew install caskroom/cask/brew-cask
    brew cask install alfred
    brew cask --appdir=/Applications install dropbox
    brew cask install eclipse-ide
    brew cask --appdir=/Applications install google-chrome
    brew cask install spotify
    brew cask install sublime-text
    brew cask --appdir=/Applications install synology-cloud-station
    brew cask install one password
    brew cask install virtualbox
    brew cask install vagrant