Skip to content

Instantly share code, notes, and snippets.


Piotr Usewicz pusewicz

View GitHub Profile
View exception.txt
* INFO: The .to_s function for type [(class Label)] probably doesn't look too helpful. Trying calling the .help function. #<Label:0x7fc8c0034dd0>
Exception: ERROR:
Failed to convert #<Label:0x7fc8c0034dd0> for rendering (label).
Type Information: (class Label)
Unhandled method_missing with name :size_enum, args [] was invoked on class (class Label).
pusewicz / mov2gif.rb
Last active Dec 29, 2015
Convert you QuickTime recorded screencast in the MOV and turn it into an animated GIF
View mov2gif.rb
#!/usr/bin/env ruby
$ brew install ffmpeg
$ brew install imagemagick
require 'optparse'
require 'fileutils'