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:
| /* | |
| ## Compile | |
| g++ -Wall -std=c++11 -rdynamic -g stack-backtrace.cpp -lbacktrace -o stack-backtrace && ./stack-backtrace | |
| clang++ -Wall -std=c++11 -rdynamic -g stack-backtrace.cpp -lbacktrace -o stack-backtrace && ./stack-backtrace | |
| ## Output | |
| Backtrace: |
| cmake_minimum_required(VERSION 2.8) | |
| function(use_llvm TARGET) | |
| message("ARGC=\"${ARGC}\"") | |
| message("ARGN=\"${ARGN}\"") | |
| message("ARGV=\"${ARGV}\"") | |
| message("ARGV0=\"${ARGV0}\"") | |
| message("ARGV1=\"${ARGV1}\"") | |
| endfunction() |
| clone | |
| Matrix { data: [100, 200, 300] } |
| curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |