Skip to content

Instantly share code, notes, and snippets.


Isaac Wolkerstorfer agnoster

View GitHub Profile
agnoster /
Created Oct 17, 2012
Like editing files in an open pull request?
* 1) Use
* 2) Install this into ~/.js/
* 3) Enjoy a button to edit any file on a pull request (some restrictions may apply, void where prohibited)
* Note: this will replace the "View file @ ...", which I find pretty useless (and it's contained in the edit mode,
* anyway). However, if you want to look at files where you don't have access to edit them, this will suck.
function getBranch() {


A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

agnoster /
Created May 30, 2012 — forked from janl/
Open Tech School Berlin JS

In the spirit of Railsgirls Berlin, we want to start a programming education group for JavaScript. We need your help to get all the coaching done.

If you are interested in coaching JavaScript, fork this gist and add yourself or leave your contact data in a comment:

agnoster / git-unmerged
Created Mar 23, 2012
Check to see if which commits are not shared between two branches
View git-unmerged
echo; echo "Only in $BRANCH1"
git cherry -v $BRANCH2 $BRANCH1
echo; echo "Only in $BRANCH2"
git cherry -v $BRANCH1 $BRANCH2
agnoster / .vimrc
Created Oct 22, 2010
.vimrc excerpt for remapping keys on a Dvorak keyboard
View .vimrc
" Dvorak remap
" 1 - Movement keys htns -> hjkl
" (gj and gk move by visual lines, if the line is wrapped for instance)
noremap h h
noremap t gj
noremap n gk
noremap s l
" 2 - replace functions we remapped away
" S goes to bottom of Screen
noremap S L