Skip to content

Instantly share code, notes, and snippets.

View kogent's full-sized avatar

Mark Carey kogent

View GitHub Profile
@kogent
kogent / giftube.rb
Last active March 11, 2016 23:25 — forked from marcel/gist:2100703
giftube – Generates an animated gif from a YouTube url.
#!/usr/bin/env ruby
# giftube – Generates an animated gif from a YouTube url.
#
# Usage:
#
# giftube [youtube url] [minute:second] [duration]
#
# ex.
#
# HG changeset patch
# User Sean Farley <[email protected]>
# Date 1382624667 -28800
# Thu Oct 24 22:24:27 2013 +0800
# Node ID dd6d51b7e12be5fab94a8779e890c5558e4d4001
# Parent 86a3bc5c8ff689a291e86950a3d8fd327f42b870
partial import
wiggled scp
@kogent
kogent / 0_reuse_code.js
Created March 11, 2016 22:57
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console