- After Bind v9.6, DLZ included.
acl corpnets {
36.231.157.56/32;
114.34.18.168/32;
}
allow-recursion { corpnets; };
| # | |
| # Use daemon mode for supervisord | |
| # | |
| daemonize yes | |
| # | |
| # Save data to disk every 5 min. | |
| # | |
| save 300 10 |
git branch mynewbranch # copy current commits to the new branch
git reset --hard HEAD~1 # reset 1 commit, replace 1 to n or any other natural number you want.
git commit --amend -m 'new message'
| 127.0.0.1 localhost | |
| 255.255.255.255 broadcasthost | |
| ::1 localhost | |
| fe80::1%lo0 localhost |
###Ref: https://github.com/KKBOX/FireApp/wiki
brew install ruby
curl -sSL https://get.rvm.io | bash -s stable --ruby
| ## change the default location (path) of screen shots. | |
| defaults write com.apple.screencapture location ~/Desktop/screenshots/ | |
| # | |
| # Disable/Enable Spotlight | |
| # | |
| ## Disable Spotlight | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
| ## Enable Spotlight |
| # find and replace ' to \' in the middle of '@ and @' (escape) | |
| Find What: '\@(.+)'(.+)\@' | |
| Replace With: '@$1\\'$2@' |