- Basic HTML: http://foundation.zurb.com/templates.html
- With Bootstrap: http://startbootstrap.com/
- Free Single Page Templates: http://www.freshdesignweb.com/free-one-page-website-templates.html
- One Page Love: http://onepagelove.com/
- Single Page: http://www.mydesy.com/single-page
This file contains 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 characters
# find and replace ' to \' in the middle of '@ and @' (escape) | |
Find What: '\@(.+)'(.+)\@' | |
Replace With: '@$1\\'$2@' |
This file contains 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 characters
## 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 |
###Ref: https://github.com/KKBOX/FireApp/wiki
brew install ruby
curl -sSL https://get.rvm.io | bash -s stable --ruby
This file contains 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 characters
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost | |
fe80::1%lo0 localhost |
(Seems like) To move n commits (not pushed to remote branch yet) from master branch to a new branch (mynewbranch)
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'
This file contains 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 characters
# | |
# Use daemon mode for supervisord | |
# | |
daemonize yes | |
# | |
# Save data to disk every 5 min. | |
# | |
save 300 10 |