This file contains hidden or 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
// Gets query string parameters | |
$.urlParam = function(name){ | |
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); | |
if(results && results.length > 0) { | |
return results[1] || 0; | |
} | |
}; | |
// Example usage | |
if($.urlParam('screen_grab')) |
This file contains hidden or 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
alias dev="cd ~/Dev" | |
alias dropbox="cd ~/Dropbox" | |
alias vag="cd ~/Vagrant" | |
# Vagrant | |
alias vu="vagrant up" | |
alias vr="vagrant reload" | |
alias vh="vagrant halt" | |
alias vd="vagrant destroy" | |
alias vs="vagrant status" |
NewerOlder