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:
| module Alphabet ( | |
| Alphabet, | |
| encodeWithAlphabet, | |
| decodeFromAlphabet | |
| ) where | |
| import Prelude | |
| import Data.List(elemIndex, mapAccumR) | |
| import Data.Maybe(fromMaybe) |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| # Simple bijective function | |
| # Basically encodes any integer into a base(n) string, | |
| # where n is ALPHABET.length. | |
| # Based on pseudocode from http://stackoverflow.com/questions/742013/how-to-code-a-url-shortener/742047#742047 | |
| ALPHABET = | |
| "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".split(//) | |
| # make your own alphabet using: | |
| # (('a'..'z').to_a + ('A'..'Z').to_a + (0..9).to_a).shuffle.join |