Skip to content

Instantly share code, notes, and snippets.

View jletourneau's full-sized avatar

Jack Letourneau jletourneau

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')
@jletourneau
jletourneau / gist:808186
Created February 2, 2011 19:04
Extract GitHub URL from Git config file and open with system default web browser
perl -ne 'print "https://$1/$2" if (/(github\.com):(.+)\.git/)' .git/config | xargs open