Skip to content

Instantly share code, notes, and snippets.

@graysonchen
Last active August 1, 2019 08:37
Show Gist options
  • Save graysonchen/3f9d55cdb585e437fa38d8ab630e1397 to your computer and use it in GitHub Desktop.
Save graysonchen/3f9d55cdb585e437fa38d8ab630e1397 to your computer and use it in GitHub Desktop.

Revisions

  1. graysonchen revised this gist Aug 1, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -156,6 +156,7 @@ casks=(
    hazel
    little-snitch
    vlc
    sequel-pro
    )

    # Install casks to /Applications
  2. graysonchen revised this gist Nov 1, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -145,7 +145,7 @@ casks=(
    cyberduck
    slack
    psequel
    leonsoft-kras-transmission-remote-gui
    # leonsoft-kras-transmission-remote-gui
    bartender
    skype
    firefox
  3. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -155,6 +155,7 @@ casks=(
    caffeine
    hazel
    little-snitch
    vlc
    )

    # Install casks to /Applications
  4. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -112,6 +112,8 @@ binaries=(
    stunnel
    zsh
    mackup
    autojump

    )

    # Install binaries
    @@ -171,4 +173,10 @@ brew cask install --appdir="/Applications" ${casks[@]}
    # Install Oh My Zsh
    if [ ! -d ~/.oh-my-zsh ]; then
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    fi

    # Intall RVM
    if [ ! -d ~/.rvm ]; then
    gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
    \curl -sSL https://get.rvm.io | bash -s stable
    fi
  5. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -111,6 +111,7 @@ binaries=(
    proxychains-ng
    stunnel
    zsh
    mackup
    )

    # Install binaries
    @@ -150,6 +151,7 @@ casks=(
    sizeup
    coconutbattery
    caffeine
    hazel
    little-snitch
    )

  6. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -149,6 +149,7 @@ casks=(
    istat-menus
    sizeup
    coconutbattery
    caffeine
    little-snitch
    )

  7. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -134,7 +134,7 @@ casks=(
    launchcontrol
    omnigraffle
    sourcetree
    sublime-text3
    sublime-text
    vagrant
    virtualbox
    dropbox
    @@ -148,7 +148,6 @@ casks=(
    firefox
    istat-menus
    sizeup
    twitter
    coconutbattery
    little-snitch
    )
    @@ -167,6 +166,6 @@ brew cask install --appdir="/Applications" ${casks[@]}
    # brew cask install ${fonts[@]}

    # Install Oh My Zsh
    if [ -d ~/.oh-my-zsh ]; then
    if [ ! -d ~/.oh-my-zsh ]; then
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    fi
  8. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -167,4 +167,6 @@ brew cask install --appdir="/Applications" ${casks[@]}
    # brew cask install ${fonts[@]}

    # Install Oh My Zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    if [ -d ~/.oh-my-zsh ]; then
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    fi
  9. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,9 @@ fi
    # Update homebrew recipes
    # brew update

    # Install homebrew science
    brew tap homebrew/science

    # Binaries
    binaries=(
    adns
    @@ -42,7 +45,6 @@ binaries=(
    gd
    jpeg
    libusb
    opencv3
    redis
    wget
    autossh
  10. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -109,7 +109,6 @@ binaries=(
    proxychains-ng
    stunnel
    zsh
    mackup
    )

    # Install binaries
  11. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -146,9 +146,9 @@ casks=(
    skype
    firefox
    istat-menus
    sizeup4
    coconutbattery
    sizeup
    twitter
    coconutbattery
    little-snitch
    )

  12. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,6 @@ binaries=(
    node
    python
    tbb
    android-platform-tools
    fontconfig
    ilmbase
    libtiff
  13. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -164,4 +164,7 @@ brew cask install --appdir="/Applications" ${casks[@]}

    # # Install fonts
    # echo "Installing fonts..."
    # brew cask install ${fonts[@]}
    # brew cask install ${fonts[@]}

    # Install Oh My Zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  14. @stephanfuchs stephanfuchs revised this gist Aug 20, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -109,6 +109,8 @@ binaries=(
    nmap
    proxychains-ng
    stunnel
    zsh
    mackup
    )

    # Install binaries
  15. @stephanfuchs stephanfuchs revised this gist Aug 19, 2017. 1 changed file with 93 additions and 25 deletions.
    118 changes: 93 additions & 25 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,5 @@
    #!/usr/bin/env bash

    # inspired by https://gist.github.com/ultim8k/a8992f494c50f0758774a179fbf06503

    # Check for Homebrew, install if we don't have it
    if test ! $(which brew); then
    echo "Installing homebrew..."
    @@ -13,34 +11,104 @@ fi

    # Binaries
    binaries=(
    android-sdk
    archey
    arp-scan
    boot2docker
    coreutils
    docker
    emacs --cocoa
    adns
    ffmpeg
    findutils
    git-flow-avh
    gnupg2
    graphicsmagick --with-ghostscript
    grep
    heroku-toolbelt
    htop-osx
    leiningen
    media-info
    icu4c
    libtasn1
    node
    python
    tbb
    android-platform-tools
    fontconfig
    ilmbase
    libtiff
    npth
    python3
    unar
    ansible
    freetype
    imagemagick@6
    libtool
    numpy
    qrencode
    unrar
    autoconf
    gcc
    isl
    libunistring
    opencv
    readline
    webp
    automake
    gd
    jpeg
    libusb
    opencv3
    redis
    wget
    autossh
    gdbm
    lame
    libvorbis
    openexr
    sdl
    x264
    awscli
    gettext
    libassuan
    libyaml
    openssl
    sdl_image
    xvid
    bcrypt
    git
    libffi
    macvim
    [email protected]
    sdl_mixer
    xz
    cmake
    git-crypt
    libgcrypt
    mercurial
    p11-kit
    sdl_ttf
    yarn
    coreutils
    gmp
    libgpg-error
    mobile-shell
    pinentry
    smartmontools
    youtube-dl
    cscope
    gnupg
    libksba
    mpfr
    pkg-config
    curl
    gnutls
    libmpc
    mtr
    node
    p7zip
    portmidi
    dnstracer
    go
    libogg
    namebench
    postgresql
    redis
    rename
    sqlite
    e2fsprogs
    graphviz
    libpng
    nettle
    protobuf
    ssh-copy-id
    streamripper
    trash
    youtube-dl
    eigen
    httping
    libsodium
    nmap
    proxychains-ng
    stunnel
    )

    # Install binaries
  16. @stephanfuchs stephanfuchs created this gist Aug 19, 2017.
    97 changes: 97 additions & 0 deletions setup_mac.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,97 @@
    #!/usr/bin/env bash

    # inspired by https://gist.github.com/ultim8k/a8992f494c50f0758774a179fbf06503

    # Check for Homebrew, install if we don't have it
    if test ! $(which brew); then
    echo "Installing homebrew..."
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    fi

    # Update homebrew recipes
    # brew update

    # Binaries
    binaries=(
    android-sdk
    archey
    arp-scan
    boot2docker
    coreutils
    docker
    emacs --cocoa
    ffmpeg
    findutils
    git-flow-avh
    gnupg2
    graphicsmagick --with-ghostscript
    grep
    heroku-toolbelt
    htop-osx
    leiningen
    media-info
    mercurial
    mtr
    node
    p7zip
    postgresql
    redis
    rename
    ssh-copy-id
    streamripper
    trash
    youtube-dl
    )

    # Install binaries
    echo "Installing binaries..."
    brew install ${binaries[@]}

    # Cleanup
    brew cleanup

    # Install brew-cask
    brew tap caskroom/cask

    # Casks
    casks=(
    unetbootin
    visual-studio-code
    appcleaner
    dash
    google-chrome
    iterm2
    launchcontrol
    omnigraffle
    sourcetree
    sublime-text3
    vagrant
    virtualbox
    dropbox
    beardedspice
    cyberduck
    slack
    psequel
    leonsoft-kras-transmission-remote-gui
    bartender
    skype
    firefox
    istat-menus
    sizeup4
    coconutbattery
    twitter
    little-snitch
    )

    # Install casks to /Applications
    echo "Installing casks..."
    brew cask install --appdir="/Applications" ${casks[@]}

    # # Fonts
    # fonts=(
    # font-inconsolata
    # )

    # # Install fonts
    # echo "Installing fonts..."
    # brew cask install ${fonts[@]}