Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shawn-crigger/d981a6d138302139c31a23778b27eb2d to your computer and use it in GitHub Desktop.
Save shawn-crigger/d981a6d138302139c31a23778b27eb2d to your computer and use it in GitHub Desktop.

Revisions

  1. @saetia saetia revised this gist Mar 23, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -120,9 +120,9 @@ wget \
    jpegoptim \
    pngcrush \
    colordiff \
    imagemagick \
    graphicsmagick \
    ghostscript \
    imagemagick --with-ghostscript \
    graphicsmagick \
    ack
    ```
    ####Homebrew Web Server Packages
  2. @saetia saetia revised this gist Mar 23, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -122,6 +122,7 @@ pngcrush \
    colordiff \
    imagemagick \
    graphicsmagick \
    ghostscript \
    ack
    ```
    ####Homebrew Web Server Packages
  3. @saetia saetia revised this gist Mar 23, 2016. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -387,6 +387,11 @@ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php70.plist
    brew install --HEAD homebrew/php/php70-redis
    ```

    ####Imagemagick
    ```bash
    brew install homebrew/php/php70-imagick
    ```

    ####MariaDB

    ```bash
  4. @saetia saetia revised this gist Mar 16, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -109,7 +109,7 @@ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh |

    ```bash
    # install package manager
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    # install homebrew packages
    brew install \
  5. @saetia saetia revised this gist Mar 16, 2016. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -122,8 +122,7 @@ pngcrush \
    colordiff \
    imagemagick \
    graphicsmagick \
    ack \
    caskroom/cask/brew-cask
    ack
    ```
    ####Homebrew Web Server Packages
    ```bash
  6. @saetia saetia revised this gist Mar 16, 2016. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -223,6 +223,15 @@ git config --global push.default simple
    git config --global github.token your_token_here
    ```


    ```bash
    #diff-so-fancy
    brew install diff-so-fancy
    git config --global pager.diff "diff-so-fancy | less --tabs=4 -RFX" && \
    git config --global pager.show "diff-so-fancy | less --tabs=4 -RFX"
    ```


    ###Coda

    ---
  7. @saetia saetia revised this gist Oct 20, 2015. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -81,9 +81,6 @@ chflags nohidden ~/Library
    # Show absolute path in finder's title bar.
    defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

    # Enable text copying from Quick Look
    defaults write com.apple.finder QLEnableTextSelection -bool YES

    # Auto-play videos when opened with QuickTime Player
    defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1

  8. @saetia saetia revised this gist Oct 20, 2015. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -356,14 +356,20 @@ vagrant plugin install vagrant-hostsupdater
    ---

    ```bash
    #switch from SecureTransport
    brew reinstall --with-openssl curl

    #install php-fpm
    brew tap homebrew/dupes && \
    brew tap homebrew/versions && \
    brew tap homebrew/dupes && \
    brew install php70 \
    --with-fpm \
    --without-apache \
    --with-mysql
    --with-mysql \
    --with-homebrew-curl \
    --with-homebrew-openssl \
    --without-snmp

    #setup daemon
    ln -sfv /usr/local/opt/php70/*.plist ~/Library/LaunchAgents && \
  9. @saetia saetia revised this gist Oct 2, 2015. 1 changed file with 8 additions and 3 deletions.
    11 changes: 8 additions & 3 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -360,16 +360,21 @@ vagrant plugin install vagrant-hostsupdater
    brew tap homebrew/dupes && \
    brew tap homebrew/versions && \
    brew tap homebrew/dupes && \
    brew install php56 \
    brew install php70 \
    --with-fpm \
    --without-apache \
    --with-mysql

    #setup daemon
    ln -sfv /usr/local/opt/php56/*.plist ~/Library/LaunchAgents && \
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php56.plist
    ln -sfv /usr/local/opt/php70/*.plist ~/Library/LaunchAgents && \
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php70.plist
    ```

    ####PHP-Redis
    ```bash
    #brew install php70-redis
    brew install --HEAD homebrew/php/php70-redis
    ```

    ####MariaDB

  10. @saetia saetia revised this gist Jul 30, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -84,6 +84,9 @@ defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
    # Enable text copying from Quick Look
    defaults write com.apple.finder QLEnableTextSelection -bool YES

    # Auto-play videos when opened with QuickTime Player
    defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1

    # Enable AirDrop over Ethernet and on unsupported Macs
    defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true

  11. @saetia saetia revised this gist Jul 18, 2015. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -308,6 +308,11 @@ git clone [email protected]:co-b/sublime-snippets.git \
    ### iOS
    ---

    ```bash
    sudo gem install cocoapods
    pod setup
    ```

    ### Ruby
    ---

  12. @saetia saetia revised this gist Jul 6, 2015. No changes.
  13. @saetia saetia revised this gist Jun 11, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -177,7 +177,7 @@ spotify
    ####Update .zshrc

    ```bash
    wget https://gist.github.com/saetia/2764210/raw/505cb6815604d92fe019612847cf7c3a13f1ad71/.zshrc -O \
    wget https://gist.github.com/saetia/2764210/raw/ab099b587689640eb32cbc1afdb6a19b62be7fb0/.zshrc -O \
    ~/.zshrc

    #syntax highlighting
  14. @saetia saetia revised this gist Jun 11, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -177,7 +177,7 @@ spotify
    ####Update .zshrc

    ```bash
    wget https://gist.github.com/saetia/2764210/raw/ef18e4013ed7d11e400527268bfaff0b7b0e4a70/.zshrc -O \
    wget https://gist.githubusercontent.com/saetia/2764210/raw/505cb6815604d92fe019612847cf7c3a13f1ad71/.zshrc -O \
    ~/.zshrc

    #syntax highlighting
  15. @saetia saetia revised this gist Jun 10, 2015. No changes.
  16. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ### OS X Preferences
    ---

    most of these require at least a logout to take effect
    most of these require logout/restart to take effect

    ```bash
    # Enable character repeat on keydown
  17. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ### OS X Preferences
    ---

    **note** most of these require at least a logout to take effect
    most of these require at least a logout to take effect

    ```bash
    # Enable character repeat on keydown
  18. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ### OS X Preferences
    **note** most of these require at least a logout to take effect
    ---

    **note** most of these require at least a logout to take effect

    ```bash
    # Enable character repeat on keydown
  19. @saetia saetia revised this gist Jun 10, 2015. No changes.
  20. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    ### OS X Preferences

    **note** most of these require at least a logout to take effect
    ---


    @@ -92,6 +92,8 @@ defaults write org.webkit.nightly.WebKit StartPageDisabled -bool true

    ```



    ###Shell

    ---
  21. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -189,6 +189,11 @@ git clone git://github.com/zsh-users/zsh-syntax-highlighting.git \
    sudo scutil --set HostName Work
    ```

    ###Agree To Xcode
    ```bash
    sudo xcrun cc
    ```

    ###Git

    ---
  22. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -295,7 +295,7 @@ wget https://raw.githubusercontent.com/chriskempson/tomorrow-theme/master/Xcode%

    ```bash
    git clone [email protected]:co-b/sublime-snippets.git \
    ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Byte
    ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/CoB
    ```

    ### iOS
  23. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 0 additions and 9 deletions.
    9 changes: 0 additions & 9 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -231,15 +231,6 @@ git clone https://github.com/bobthecow/Markdown.mode.git \

    ---

    ####Add Sublime Text CLI

    ```bash
    sudo mkdir -p "/usr/local/bin/" && \
    ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" \
    "/usr/local/bin/subl"
    ```


    ####Install Soda Theme

    ```bash
  24. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -205,11 +205,11 @@ pbcopy < ~/.ssh/id_rsa.pub
    ssh -T [email protected]

    #set git config values
    git config --global user.name "Joel Glovacki" &&
    git config --global user.email "[email protected]" &&
    git config --global github.user saetia &&
    git config --global core.editor "subl -w" &&
    git config --global color.ui true &&
    git config --global user.name "Joel Glovacki" && \
    git config --global user.email "[email protected]" && \
    git config --global github.user saetia && \
    git config --global core.editor "subl -w" && \
    git config --global color.ui true && \
    git config --global push.default simple

    #token
  25. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 0 additions and 6 deletions.
    6 changes: 0 additions & 6 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -113,16 +113,10 @@ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/
    brew install \
    tree \
    node \
    dnsmasq \
    nginx \
    mariadb \
    ssh-copy-id \
    wget \
    jpegoptim \
    pngcrush \
    redis \
    memcached \
    libmemcached \
    colordiff \
    imagemagick \
    graphicsmagick \
  26. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -106,10 +106,10 @@ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh |
    ####Homebrew

    ```bash
    #install package manager
    # install package manager
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    #install homebrew packages
    # install homebrew packages
    brew install \
    tree \
    node \
    @@ -129,8 +129,8 @@ graphicsmagick \
    ack \
    caskroom/cask/brew-cask
    ```

    #install homebrew web server packages
    ####Homebrew Web Server Packages
    ```bash
    brew install \
    dnsmasq \
    nginx \
    @@ -143,7 +143,7 @@ libmemcached \
    ####Homebrew Cask Apps & Fonts

    ```bash
    #add support for fonts
    # add support for fonts
    brew tap caskroom/fonts

    #add dev/beta versions
  27. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -105,7 +105,6 @@ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh |

    ####Homebrew


    ```bash
    #install package manager
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    @@ -131,6 +130,16 @@ ack \
    caskroom/cask/brew-cask
    ```

    #install homebrew web server packages
    brew install \
    dnsmasq \
    nginx \
    mariadb \
    redis \
    memcached \
    libmemcached \
    ```
    ####Homebrew Cask Apps & Fonts
    ```bash
  28. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -127,7 +127,6 @@ libmemcached \
    colordiff \
    imagemagick \
    graphicsmagick \
    icoutils \
    ack \
    caskroom/cask/brew-cask
    ```
  29. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -48,9 +48,6 @@ defaults write com.apple.finder ShowPathbar -bool true
    # Show Status bar in Finder
    defaults write com.apple.finder ShowStatusBar -bool true

    # Enable AirDrop over Ethernet and on unsupported Macs
    defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true

    # Show icons for hard drives, servers, and removable media on the desktop
    defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true && \
    defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true && \
    @@ -87,6 +84,9 @@ defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
    # Enable text copying from Quick Look
    defaults write com.apple.finder QLEnableTextSelection -bool YES

    # Enable AirDrop over Ethernet and on unsupported Macs
    defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true

    # Disable WebkitNightly.app's homepage
    defaults write org.webkit.nightly.WebKit StartPageDisabled -bool true

  30. @saetia saetia revised this gist Jun 10, 2015. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -26,6 +26,10 @@ defaults write com.apple.TextEdit RichText -int 0
    defaults write com.apple.dock wvous-tr-corner -int 5 && \
    defaults write com.apple.dock wvous-tr-modifier -int 0

    # Set default Finder location to home folder (~/)
    defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
    defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"

    # Expand save panel by default
    defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true