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
/** | |
* 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() { |
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:
#!/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 |
" 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 |