-
-
Save linhuiw/c062ac9899f7c4ac1e2c to your computer and use it in GitHub Desktop.
Revisions
-
saetia revised this gist
Oct 2, 2015 . 1 changed file with 8 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 php70 \ --with-fpm \ --without-apache \ --with-mysql #setup daemon 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 -
saetia revised this gist
Jul 30, 2015 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
saetia revised this gist
Jul 18, 2015 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 --- -
saetia revised this gist
Jul 6, 2015 . No changes.There are no files selected for viewing
-
saetia revised this gist
Jun 11, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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/ab099b587689640eb32cbc1afdb6a19b62be7fb0/.zshrc -O \ ~/.zshrc #syntax highlighting -
saetia revised this gist
Jun 11, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -177,7 +177,7 @@ spotify ####Update .zshrc ```bash wget https://gist.githubusercontent.com/saetia/2764210/raw/505cb6815604d92fe019612847cf7c3a13f1ad71/.zshrc -O \ ~/.zshrc #syntax highlighting -
saetia revised this gist
Jun 10, 2015 . No changes.There are no files selected for viewing
-
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ ### OS X Preferences --- most of these require logout/restart to take effect ```bash # Enable character repeat on keydown -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ```bash # Enable character repeat on keydown -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ```bash # Enable character repeat on keydown -
saetia revised this gist
Jun 10, 2015 . No changes.There are no files selected for viewing
-
saetia revised this gist
Jun 10, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 --- -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 --- -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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/CoB ``` ### iOS -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 0 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -231,15 +231,6 @@ git clone https://github.com/bobthecow/Markdown.mode.git \ --- ####Install Soda Theme ```bash -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 push.default simple #token -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 0 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 \ ssh-copy-id \ wget \ jpegoptim \ pngcrush \ colordiff \ imagemagick \ graphicsmagick \ -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # install homebrew packages brew install \ tree \ node \ @@ -129,8 +129,8 @@ graphicsmagick \ ack \ caskroom/cask/brew-cask ``` ####Homebrew Web Server Packages ```bash brew install \ dnsmasq \ nginx \ @@ -143,7 +143,7 @@ libmemcached \ ####Homebrew Cask Apps & Fonts ```bash # add support for fonts brew tap caskroom/fonts #add dev/beta versions -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -127,7 +127,6 @@ libmemcached \ colordiff \ imagemagick \ graphicsmagick \ ack \ caskroom/cask/brew-cask ``` -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 # 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 -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,7 +23,7 @@ defaults write com.apple.dashboard enabled-state 2 defaults write com.apple.TextEdit RichText -int 0 # Make top-right hotspot start screensaver defaults write com.apple.dock wvous-tr-corner -int 5 && \ defaults write com.apple.dock wvous-tr-modifier -int 0 # Expand save panel by default -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,6 +19,13 @@ defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false # Turn on dashboard-as-space defaults write com.apple.dashboard enabled-state 2 # Use plain text mode for new TextEdit documents defaults write com.apple.TextEdit RichText -int 0 # Make top-right hotspot start screensaver defaults write com.apple.dock wvous-tr-corner -int 4 && \ defaults write com.apple.dock wvous-tr-modifier -int 0 # Expand save panel by default defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 12 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,12 +2,22 @@ --- ```bash # Enable character repeat on keydown defaults write -g ApplePressAndHoldEnabled -bool false # Set a shorter Delay until key repeat defaults write NSGlobalDomain InitialKeyRepeat -int 12 # Set a blazingly fast keyboard repeat rate defaults write NSGlobalDomain KeyRepeat -int 0 # Disable window animations ("new window" scale effect) defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false # Turn on dashboard-as-space defaults write com.apple.dashboard enabled-state 2 # Expand save panel by default defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true @@ -30,12 +40,6 @@ 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 && \ -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ --- ```bash # Disable window animations ("new window" scale effect) defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false # Enable character repeat on keydown -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ --- ```bash # Disable window animations ("New window" scale effect) defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false # Enable character repeat on keydown -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,6 @@ defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true # Avoid creating .DS_Store files on network volumes defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true # Disable disk image verification defaults write com.apple.frameworks.diskimages skip-verify -bool true && \ defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true && \ @@ -71,7 +70,7 @@ chflags nohidden ~/Library defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES # Enable text copying from Quick Look defaults write com.apple.finder QLEnableTextSelection -bool YES # Disable WebkitNightly.app's homepage defaults write org.webkit.nightly.WebKit StartPageDisabled -bool true -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,6 +30,9 @@ defaults write com.apple.finder ShowStatusBar -bool true # Enable AirDrop over Ethernet and on unsupported Macs defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true # Set a shorter Delay until key repeat defaults write NSGlobalDomain InitialKeyRepeat -int 12 # Set a blazingly fast keyboard repeat rate defaults write NSGlobalDomain KeyRepeat -int 0 @@ -42,8 +45,6 @@ defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true # Avoid creating .DS_Store files on network volumes defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true # Disable disk image verification defaults write com.apple.frameworks.diskimages skip-verify -bool true && \ -
saetia revised this gist
Jun 10, 2015 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -50,10 +50,6 @@ defaults write com.apple.frameworks.diskimages skip-verify -bool true && \ defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true && \ defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true # Trackpad: map bottom right corner to right-click defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2 && \ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true && \
NewerOlder