Skip to content

Instantly share code, notes, and snippets.

Isaac Wolkerstorfer agnoster

Block or report user

Report or block agnoster

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@agnoster
agnoster / github.com.js
Created Oct 17, 2012
Like editing files in an open pull request?
View github.com.js
/**
* 1) Use http://defunkt.io/dotjs/
* 2) Install this into ~/.js/github.com.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() {
View README.md

agnoster.zsh-theme

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
agnoster / otsbjs.md
Created May 30, 2012 — forked from janl/otsbjs.md
Open Tech School Berlin JS
View otsbjs.md

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
agnoster / git-unmerged
Created Mar 23, 2012
Check to see if which commits are not shared between two branches
View git-unmerged
#!/bin/bash
BRANCH1=${1:-master}
BRANCH2=${2:-HEAD}
echo; echo "Only in $BRANCH1"
git cherry -v $BRANCH2 $BRANCH1
echo; echo "Only in $BRANCH2"
git cherry -v $BRANCH1 $BRANCH2
@agnoster
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
You can’t perform that action at this time.