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:
----------------- | |
-- Microlight - a very compact Lua utilities module | |
-- | |
-- Steve Donovan, 2012; License MIT | |
-- @module ml | |
local ml = {} | |
--- String utilties. | |
-- @section string |
-- A priority queue that sorts based on euclidean distance | |
pq = pqueue(function(point1, point2) | |
return (point1[1]-point2[1])^2 + (point1[2]-point2[2])^2 | |
end) | |
for i=1, 20 do | |
pq:push{math.random(100), math.random(100)} | |
end |
-- makes interactive prompt dodgy. | |
-- (In an ideal world, should be able to switch this off only for | |
-- the message buffer) | |
_m.textadept.editing.AUTOPAIR = false | |
-- useful function which can safely handle argument lists containing nil; | |
-- the resulting table has n set to the real length. | |
local function pack (...) | |
local args = {...} | |
args.n = select('#',...) |
#!/bin/sh | |
# This program has two feature. | |
# | |
# 1. Create a disk image on RAM. | |
# 2. Mount that disk image. | |
# | |
# Usage: | |
# $0 <dir> <size> | |
# |