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:
| class Game < ActiveRecord::Base | |
| belongs_to :schedule | |
| belongs_to :contestant_a, polymorphic: true | |
| belongs_to :contestant_b, polymorphic: true | |
| has_one :score, dependent: :destroy | |
| def winner | |
| score.winner |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)