Skip to content

Instantly share code, notes, and snippets.

@hodgesmr
hodgesmr / zen-commit.sh
Created September 14, 2013 03:12
Use the GitHub Zen API to generate git commits
A=$(curl https://api.github.com/zen -s) && git commit -m "$A"
@hodgesmr
hodgesmr / pins.rb
Created February 21, 2013 20:34
Print all possible 4-digit PINs
(0..9).each { |h| (0..9).each { |i| (0..9).each { |j| (0..9).each { |k| print "#{h}#{i}#{j}#{k}\n"}}}}