Skip to content

Instantly share code, notes, and snippets.

Gordon Diggs gdiggs

Block or report user

Report or block gdiggs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gdiggs /
Last active Sep 24, 2015
Chocolate Chili Stout

Shot in the Dark - Chocolate Chili Stout

By Gordon Diggs

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
View lol
#!/usr/bin/env ruby
require 'open-uri'
category = ARGV[0] || 'fail'
url = "{category}/lol/random"
open(url) do |f|
xml =
if xml =~ /LolImageUrl\>([^\<]*)/m
You can’t perform that action at this time.