Adapted from a recipe by Mark Sullivan, Chesapeake Real Ale Brewers (CRAB) from "More Homebrew Favorites", by Lutzen & Stevens.
- 0.75 pounds Crystal 90L malt
- 0.5 pounds Roasted barley
#!/usr/bin/env ruby | |
require 'open-uri' | |
category = ARGV[0] || 'fail' | |
url = "http://api.cheezburger.com/xml/category/#{category}/lol/random" | |
open(url) do |f| | |
xml = f.read | |
if xml =~ /LolImageUrl\>([^\<]*)/m |