Skip to content

Instantly share code, notes, and snippets.

View chrislkeller's full-sized avatar

Chris Keller chrislkeller

View GitHub Profile
@chrislkeller
chrislkeller / README.md
Last active September 28, 2015 10:18
Quick map creating a mouseover-like event on a google map using a Fusion Tables layer...

Demo: fusion-tables-pseudo-mouseover

This repo's location has changed.

@chrislkeller
chrislkeller / README.md
Last active September 29, 2015 03:57
Scrape Wisconsin state representative bios

python-legi-write-bio

Python scraper to pull Wisconsin state senator and state representative district contact information and biographies into a text file or csv.

@chrislkeller
chrislkeller / README.md
Last active September 29, 2015 10:47
Madison Parking Ramp Scrape

Madison Parking Ramp Scrape

A simple django management command to scrape the status of Madison parking garages and save to a database model. It's the basis for the parking garage information at the bottom of this page.

@chrislkeller
chrislkeller / README.md
Last active September 29, 2015 11:18
Hacks/Hackers Chicago Fusion Tables Walkthrough

Demo: ft-walkthrough

This repo's location has changed.

@chrislkeller
chrislkeller / README.md
Last active September 30, 2015 03:08
This has been updated here to reflect the coming changes to the Fusion Tables API.

SpreadSheet to Fusion Tables

This has been updated here to reflect the coming changes to the Fusion Tables API.

@chrislkeller
chrislkeller / Learning-python-django.md
Last active September 30, 2015 07:07
In my quest to learn how to use python within the django framework, the most difficult thing was the development environment, and getting to the point where I could play. Here are some steps that I took to get to that point.

In my quest to learn how to use python within the django framework, the most difficult thing was the development environment, and getting to the point where I could play learn, practice and experiment. Here are some steps that I took to get to that point.

I’ll add to this as I can, but mostly I’m using it as a handy resource that I can access while continuing to learn.

SETUP DJANGO PROJECT IN MY MAC OS DEV ENV

Cribbed from my notes and this blog post.

@chrislkeller
chrislkeller / README.md
Last active October 5, 2015 23:17
Loop to download a file from FTP, create a symlink to the file and append date and time to subsequent downloads...

Bash script to download file from FTP

Loop to download a file from FTP, create a symlink to the file and append date and time to subsequent downloads...

@chrislkeller
chrislkeller / README.md
Last active October 6, 2015 05:47
mad-beach-status

mad-beach-status

Hacked-together attempt at a Python scraper of Madison, Wis. beach status using Beautiful Soup and Requests. It pulls similar data from the Madison and Dane County Public Health website.

This could be made better in a number of ways. Two that come to mind:

  • Display lake that the beach is on
  • if else for when beach is monitored by another agency and no status is available
@chrislkeller
chrislkeller / README.md
Last active October 6, 2015 06:18
Javascript widget showing 10 hottest links on the Madison, Wis subReddit.

Project: Reddit widget

This repo's location has changed.

@chrislkeller
chrislkeller / README.md
Last active December 18, 2020 08:12
SpreadSheet To Fusion Tables

Script to sync a Google SpreadSheet to a Fusion Table

Save for a few legacy projects that still use Fusion Tables I don't actively use this script anymore. This update hopefully solves the OAuth issue that cropped up once Google depcricated the Client Login method used by the prior version.

As always, your mileage may vary, and I welcome someone -- Google or otherwise -- to offer a long-term maintained solution.

The following is largely cribbed from a Google example here. I try to explain some of the API settings that must be enabled in the Developer's Console and elsewhere

Create your spr