Skip to content

Instantly share code, notes, and snippets.

Bill Mill llimllib

Block or report user

Report or block llimllib

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<html><head><title>Radial Bracket</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css"></style></head>
<body>
<svg>
<g transform="translate(100,100)">
<g>
<clipPath id="clip">
<rect x=0 y=0 width=100 height=100>
</clipPath>
@llimllib
llimllib / index.html
Last active Aug 29, 2015
Boston Marathon 2001-2014 Chloropleth
View index.html
<html><head><title>Runner Chloropleth</title>
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.q0-9 { fill:rgb(247,251,255); }
.q1-9 { fill:rgb(222,235,247); }
.q2-9 { fill:rgb(198,219,239); }
.q3-9 { fill:rgb(158,202,225); }
.q4-9 { fill:rgb(107,174,214); }
.q5-9 { fill:rgb(66,146,198); }
@llimllib
llimllib / canada.json
Last active Aug 29, 2015
Boston Marathon Runners US + Canada
View canada.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@llimllib
llimllib / canada.json
Created Apr 30, 2014
Boston Marathon States & Provinces Map
View canada.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@llimllib
llimllib / README.md
Created May 1, 2014
Boston Marathon Runners Chloropleth by Country 2001-2014
View README.md

This map attempts to summarize the countries of origin of Boston Marathon runners from 2001-2014. I was surprised by how global the race is, with runners from 103 different countries over the course of those 13 races.

View fixup.py
from PIL import Image
from glob import glob
import os
# pip install imagehash
import imagehash
images = {}
for f in glob("images/*"):
View Players selected by teams in the top 1k of Barclays Fantasy Premier League, Gameweek 25
------- starters ------
Hazard: 927
Agüero: 924
Kane: 900
Sánchez: 651
van Aanholt: 641
Terry: 479
Cazorla: 465
Silva: 428
Di María: 421
View How To Build a Papervision3d swc from the command line
#Here's the command line to build a papervision3d (papervision 3d) swc file
#using only the flex 3 sdk. Saved here for posterity and google's benefit.
#run this command from the trunk/src directory:
compc -source-path=. -include-sources=. -output papervision3d-test.swc
View gist:21206
function my_input($data)
{
$CI =& get_instance();
$val = $CI->db_session->flashdata($data['name']);
//print_r($CI->db_session->userdata());
if ($val) $data['value'] = $val;
return form_input($data);
}
@llimllib
llimllib / as3_unused_imports.py
Created Feb 25, 2009
run with "python as3_unused_imports.py <directory to search recursively>"
View as3_unused_imports.py
#!/usr/bin/python
import sys, re
from os import walk
from os.path import join as pathjoin
from pprint import pprint as pp
def parsef(f):
imports = []
notimports = []
for line in file(f):
You can’t perform that action at this time.