##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.
| - Create a repository | |
| git init <repo-name> | |
| git clone <url> <directory-name> | |
| git clone -o <remote-name> <url> | |
| - Commiting | |
| git add <filename> | |
| git commit -m "Commit Message" | |
| git commit -am "Commit Message" | |
| git commit --amend --date="now" |
##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.
| 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(); |