Skip to content

Instantly share code, notes, and snippets.

@drwelby
drwelby / mb2s3.py
Last active December 15, 2015 01:39 — forked from emacsen/mb2s3.py
#!/usr/bin/env python
"""Script to upload contents of an mbtile to an s3 storage bucket"""
from boto.s3.connection import S3Connection
from boto.exception import S3ResponseError
import sqlite3
import sys
import os
import time

Curd Is The Word

[Cozy Cow Dairy] (http://www.cozycows.com) is the only source for [fresh cheese curds] (http://www.cozycows.com/products/cheese/) in the Colorado Front Range. If you're not from Wisconsin, the importance of freshness to cheese curds might not seem obvious. After all, cheese seems to stay perfectly fresh when kept cool, and some cheeses get better with age.

First, an explanation of what cheese curds are - consider them the caterpillar to a cheese butterfly. They're small chunks of coagulated milk that have been salted and cooked. Usually they are pressed together in molds and after some aging turn

@drwelby
drwelby / statcheck.py
Last active September 25, 2015 01:58
'''
Requires a free InfoChimps account to get census data
You'll need to enter your InfoChimps API key in the perc_black function
'''
from BeautifulSoup import BeautifulSoup
import urllib2
from geopy import geocoders
import simplejson