- Learn to touch type (can be done asynchronously)
- Read Your Problem With Vim is You Don't Grok Vi
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
brew update | |
brew versions FORMULA | |
cd `brew --prefix` | |
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
brew install FORMULA | |
brew switch FORMULA VERSION | |
git checkout -- Library/Formula/FORMULA.rb # reset formula | |
## Example: Using Subversion 1.6.17 | |
# |
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
function renderPage(url) { | |
var page = require('webpage').create(); | |
var redirectURL = null; | |
page.onResourceReceived = function(resource) { | |
if (url == resource.url && resource.redirectURL) { | |
redirectURL = resource.redirectURL; | |
} | |
}; |
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
Taken from TJ Holowaychuk: http://tjholowaychuk.com/post/26904939933/git-extras-introduction-screencast | |
Added to ~/.bash_aliases | |
alias gd="git diff | subl" | |
alias ga="git add" | |
alias gaa="git add --all" | |
alias gbd="git branch -D" | |
alias gst="git status" | |
alias gca="git commit -a -m" | |
alias gm="git merge --no-ff" |
- Learn to touch type (can be done asynchronously)
- Read Your Problem With Vim is You Don't Grok Vi