Skip to content

Instantly share code, notes, and snippets.

@brentp
brentp / euler_52.py
Created July 18, 2012 21:19
euler_52
import itertools
from collections import Counter
def euler_52():
for i in itertools.count(1):
nums = [str(i * j) for j in range(1, 7)]
s = frozenset(nums[0])
sall = set()
sall.update(*nums)
if sall == s:
@martijnvermaat
martijnvermaat / userContent.css
Last active August 29, 2015 14:03
Hide comments on Losse Veter (losseveter.nl)
/*
* Hide comments on Losse Veter (losseveter.nl)
*
* Most of the user comments on Losse Veter are either racist or zealot
* epistels about doping. With this Firefox setting, you can enjoy just
* the track and field news.
*
* Edit this file and copy it as userContent.css into your Firefox
* profile-directory/chrome/
*/