Skip to content

Instantly share code, notes, and snippets.

@johnmdonahue
johnmdonahue / gist:6288729
Created August 20, 2013 23:37
Dump repos in current directory with uncommitted changes.
find . -type d -maxdepth 1 -exec sh -c '(cd {} && [ "`git status --porcelain 2>/dev/null`" != "" ] && echo "\033[0;31m> Uncommitted changes: `basename $PWD`\033[m")' ';'
@johnmdonahue
johnmdonahue / gist:6863313
Created October 7, 2013 06:26
.bash_history word cloud
cat ~/.bash_history | awk '$0=$1' | sort | uniq -c | sort -r
@johnmdonahue
johnmdonahue / .block
Last active March 20, 2016 23:21 — forked from mbostock/.block
Line Chart
license: gpl-3.0