Skip to content

Instantly share code, notes, and snippets.

View 0xNaN's full-sized avatar

Vincenzo di Cicco 0xNaN

  • X @0xNaN
View GitHub Profile
@0xNaN
0xNaN / countries.py
Created January 31, 2016 19:51
Fetch (People, Surface) for all Italy's countries available on comuni-italiani.it
#!/usr/bin/python3
# 31/01/2016
# NOTES:
# 1) my version of htmldom doesn't work correctly with the link
# www.comuni-italiani.it (it doesn't recognize the correct
# encoding that is ISO-8859-1 treating it as UTF-8).
# I've manually patched the library source to return this encoding
from htmldom import htmldom
import re
@0xNaN
0xNaN / LICENSE.txt
Created October 22, 2012 21:00 — forked from 140bytes/LICENSE.txt
Conway's Game of Life
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE