This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
MAP = [['M', 1000], ['D', 500], ['C', 100], ['L', 50], ['X', 10], ['V',5], ['I',1]] | |
prv = proc { |i| | |
t = MAP.map(&:first) | |
t.zip(t.drop(1)).rassoc(i).first | |
} | |
sub = proc { |string| | |
string.gsub(/(.)?(.)(\2){3}/) { |_| | |
output = nil |
# Call grep, with stdin closed if it is a terminal. | |
# | |
# Avoids the "eternal wait" problem when you've forgotten | |
# to specify a filename. | |
function grep { (tty -s && exec <&-; exec $(which grep) "$@"); } |