Skip to content

Instantly share code, notes, and snippets.

View nyx's full-sized avatar
👨‍🚀
space explorer

Andrew Andkjar nyx

👨‍🚀
space explorer
View GitHub Profile
@jletourneau
jletourneau / ruck-beer.py
Last active January 27, 2018 05:04
Ruck beer list scraper
#!/usr/bin/python
from pyquery import PyQuery as pq
import re
import datetime
print datetime.datetime.now().strftime('%c')
print
doc = pq(url='http://www.beermenus.com/places/4733-the-ruck')
@rtomayko
rtomayko / gist:1202895
Created September 8, 2011 08:11
The Sazerac
You'll need:
- Old Fashioned glasses, two of
- Sugar cubes, two of
- Peychaud's Aromatic Cocktail Bitters, one bottle of
- Ice, enough to fill both glasses
- Water, one oz of
- Rye whisky, two oz of
- St. George Absinthe Verte, 0.333oz of
- Lemon, one twist of
(set! *print-length* 103)
(set! *print-level* 15)
(use '[clojure.contrib.repl-utils :only [show add-break-thread!]])
(use '[clojure.pprint :only []])
(def *pprint*)
(defn my-repl []
(add-break-thread!)
(binding [*pprint* true]
(clojure.main/repl