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
archive_github_repo() | |
{ | |
if [ ! -d .git ]; then | |
echo "You must run this from within the root of your git repo." | |
exit 1 | |
fi | |
pwd=`pwd` | |
repo_url=`git config --local --get remote.origin.url` | |
repo_name=`echo $repo_url | awk -F / '{print $2}' | sed -e s/.git//` |
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
set keymap vi-insert | |
Control-a: beginning-of-line | |
Control-b: backward-char | |
Control-d: delete-char | |
Control-e: end-of-line | |
Control-f: forward-char | |
Control-k: kill-line | |
Control-n: next-history | |
Control-p: previous-history | |
set keymap emacs-ctlx |
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
window.stainedPaper = function (func) { | |
var canvas = document.createElement('canvas'); | |
document.body.appendChild(canvas); | |
paper.setup(canvas); | |
func.call(paper); | |
}; |
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
announce_party: function(cb_name, info) | |
{ | |
info = this.parse_flash_args(info); | |
var publishHref = window.location.href.split('?')[0]; | |
var chr; | |
if (info.screen != '' && info.screen != undefined) | |
{ | |
if (publishHref.indexOf("?")!=-1) { | |
chr = "&"; | |
} |
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
" Fuck you, help key. | |
set fuoptions=maxvert,maxhorz | |
inoremap <F1> <ESC>:set invfullscreen<CR>a | |
nnoremap <F1> :set invfullscreen<CR> | |
vnoremap <F1> :set invfullscreen<CR> |
NewerOlder