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:
{ config, pkgs, ... }: | |
{ | |
require = [ | |
<nixos/modules/programs/virtualbox.nix> | |
./hardware.nix | |
./monitors.nix | |
# ./mailpile.nix | |
]; |
// Answering the "how many squares" problem (my answer = 40): | |
// | |
// http://media-geeks.com/special-features/how-many-squares-indeed/ | |
// | |
// HasCanvas: | |
// | |
// http://hascanvas.com/Counting-Squares | |
// | |
// GIF outptu: | |
// |
# Install Bash 4 using homebrew | |
brew install bash | |
# Or build it from source... | |
curl -O http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz | |
tar xzf bash-4.2.tar.gz | |
cd bash-4.2 | |
./configure --prefix=/usr/local/bin && make && sudo make install | |
# Add the new shell to the list of legit shells |
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |