Skip to content

Instantly share code, notes, and snippets.

View notoriousb1t's full-sized avatar

B1t notoriousb1t

View GitHub Profile
# define mapper function
map <- function(list, fn) {
i <- 0;
len <- length(list);
result <- vector(length = len);
while (i < len) {
i <- i + 1;
result[i] <- fn(list[i]);
}
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active June 27, 2025 20:44
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: