Skip to content

Instantly share code, notes, and snippets.

View dhoe's full-sized avatar

David Hoeffer dhoe

  • Amsterdam, The Netherlands
View GitHub Profile
@dhoe
dhoe / gist:5938856
Created July 6, 2013 06:10
Mefi anagrams
['syzygy', 'sygyzy']
['koen', 'keno', 'neko']
['karma', 'kmara']
['agent', 'agnte']
['robi', 'biro']
['slkinsey', 'skylines']
['pemulis', 'impulse']
['mlis', 'slim']
['mbg', 'gmb']
['nrs', 'snr']
@dhoe
dhoe / gist:5505474
Created May 2, 2013 21:07
Calibre recipe to fetch Metafilter
class AdvancedUserRecipe1367522950(BasicNewsRecipe):
title = u'Metafilter'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = False
remove_fake_margins = False
feeds = [(u'Metafilter', u'http://feeds.feedburner.com/Metafilter')]
extra_css = '.comments, .copy {margin-left: 2px; margin-right: 2px}'
# Scan ports 1 to 1024 on localhost
nc -z -w 1 localhost 1-1024
:v/foo/bar