##Install Xcode command line tools
Xcode>Preferences>Downloads
Enable root if not already enabled: http://support.apple.com/kb/PH11331?viewlocale=en_US
##Apache
Apache is already installed, just not running.
##Install Xcode command line tools
Xcode>Preferences>Downloads
Enable root if not already enabled: http://support.apple.com/kb/PH11331?viewlocale=en_US
##Apache
Apache is already installed, just not running.
| git add . | |
| git commit -m "message" | |
| git show --pretty="format:" --name-only | |
| git push | |
| delete: git rm -r filename | |
| - Create a repository | |
| git init <repo-name> | |
| git clone <url> <directory-name> |
| var detectBackOrForward = function(onBack, onForward) { | |
| hashHistory = [window.location.hash]; | |
| historyLength = window.history.length; | |
| return function() { | |
| var hash = window.location.hash, length = window.history.length; | |
| if (hashHistory.length && historyLength == length) { | |
| if (hashHistory[hashHistory.length - 2] == hash) { | |
| hashHistory = hashHistory.slice(0, -1); | |
| onBack(); |