Skip to content

Instantly share code, notes, and snippets.

require "rubygems"
require "hpricot"
require "open-uri"
url = "http://feeds.feedburner.com/Rubyconf2008-Confreaks"
(Hpricot(open url)/:enclosure).map {|x| x.attributes["url"]}.uniq.each do |vid|
filename = vid.gsub(/http:.+\//, '')
filename.gsub!(/-/, "_")
next if File.exist?(filename)
/* https://gist.github.com/8379833.git */
.highlight { }
.highlight .c { color: #586E75 } /* Comment */
.highlight .err { color: #93A1A1 } /* Error */
.highlight .g { color: #93A1A1 } /* Generic */
.highlight .k { color: #859900 } /* Keyword */
.highlight .l { color: #93A1A1 } /* Literal */
.highlight .n { color: #93A1A1 } /* Name */
@kjell
kjell / Makefile
Last active August 29, 2015 14:02 — forked from mbostock/.block
olive-trees.jpg:
curl -O -o olive-trees.jpg https://api.artsmia.org/images/1218/large.jpg