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:
;;; -*- tab-width: 2 -*- | |
;;; These four lines go at the beginning of almost every code file. 16-byte iNES header | |
.inesprg 1 ; one bank of program code | |
.ineschr 1 ; one bank of picture data | |
.inesmap 0 ; we use mapper 0 | |
.inesmir 1 ; Mirror setting always 1 | |
;;; BANKING |
// derived from http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm | |
function map() { | |
emit(1, // Or put a GROUP BY key here | |
{sum: this.value, // the field you want stats for | |
min: this.value, | |
max: this.value, | |
count:1, | |
diff: 0, // M2,n: sum((val-mean)^2) | |
}); |