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:
| max_stack_frames = 500 | |
| TooManyStackFrames = Class.new(StandardError) | |
| TracePoint.new(:call) do |tp| | |
| if caller.size >= max_stack_frames | |
| raise TooManyStackFrames, "Stack has exceeded #{max_stack_frames} frames" | |
| end | |
| end.enable |
| http://robots.thoughtbot.com/convert-ruby-1-8-to-1-9-hash-syntax | |
| search = :([^ ]*)(\s*)=> | |
| replace = $1: |