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
gdiggs / chocolate_chili_stout.md
Last active Sep 24, 2015
Chocolate Chili Stout
View chocolate_chili_stout.md

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.

Ingredients

  • 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 = "http://api.cheezburger.com/xml/category/#{category}/lol/random"
open(url) do |f|
xml = f.read
if xml =~ /LolImageUrl\>([^\<]*)/m
You can’t perform that action at this time.