Skip to content

Instantly share code, notes, and snippets.

Tim Wisniewski timwis

Block or report user

Report or block timwis

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 gist:d4ce0ffb3f2f616ef892
<iframe src="http://www.phila.gov/openbudget/" width="100%" height="700" frameborder="0"></iframe>
View gist:8ab6607d8f744e70437c
swagger: "2.0"
info:
description: |
Locations of Indego bike share stations in Philadelphia
**Endpoint:** http://api.phila.gov/bike-share-stations/v1
version: "1.0"
title: Bike Share Stations
@timwis
timwis / gist:f24586ace7e43d6c6145
Created May 3, 2015
Election results kimono modification script
View gist:f24586ace7e43d6c6145
function transform(data) {
var newCandidates = [];
var raceIndex = -1; // start at -1 since first index is 0
// Loop through candidates
data.results.candidates.forEach(function(row, index) {
if(row.candidate === 'Candidate Name') {
raceIndex++;
} else {
row.race = data.results.races[raceIndex].race;
View healthy_chinese_takeout.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@timwis
timwis / modernizr-custom.js
Last active Sep 14, 2015 — forked from ianlintner-wf/modernizr-custom.js
2.x dev-build of modernizr minified
View modernizr-custom.js
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
*/
;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a){var e=a[d];if(!F(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"functi
@timwis
timwis / gist:4237abfc1607d93bb5a0
Created Sep 14, 2015 — forked from ehershey/gist:ac1e9d9d246a5cb7de0c
Amazon Linux and Ubuntu and Red Hat Enterprise Linux
View gist:4237abfc1607d93bb5a0
I've been launching and launching to test
varied instances, sizes, OS
to rule out dud instances
and regional differences
I'll try it outside us-west
mike o used an existing vpc
creating new ones broke for me
it all was this morning
with AMI's boring
I guess I'll go home now, thanks.
@timwis
timwis / gsheets.json
Last active Sep 25, 2015
Google Sheets VizWit testing
View gsheets.json
{
"version": "1",
"header": {
"title": "Parking Violations",
"description": "This data set reflects parking violations reported by authorized agencies in Philadelphia. The data represented below is a sample of parking violations occurring between 2012-2015 with license plate numbers anonymized for privacy.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3bxz-a5sb/rows.csv?accessType=DOWNLOAD&bom=true"
}
@timwis
timwis / parking-violations.json
Last active Sep 26, 2015
Parking Violations Full width
View parking-violations.json
{
"version": "1",
"header": {
"title": "Parking Violations",
"description": "This data set reflects parking violations reported by authorized agencies in Philadelphia. The data represented below is a sample of parking violations occurring between 2012-2015 with license plate numbers anonymized for privacy.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3bxz-a5sb/rows.csv?accessType=DOWNLOAD&bom=true"
}
View detroit-service-requests.json
{
"version": "1",
"header": {
"title": "Improve Detroit: Submitted Issues",
"description": "This data set reflects parking violations reported by authorized agencies in Philadelphia. The data represented below is a sample of parking violations occurring between 2012-2015 with license plate numbers anonymized for privacy.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3bxz-a5sb/rows.csv?accessType=DOWNLOAD&bom=true"
}
@timwis
timwis / mass-commonwealth-connect.json
Last active Sep 30, 2015
Massachusetts Service Requests VizWit config
View mass-commonwealth-connect.json
{
"version": "1",
"header": {
"title": "Improve Detroit: Submitted Issues",
"description": "This data set reflects parking violations reported by authorized agencies in Philadelphia. The data represented below is a sample of parking violations occurring between 2012-2015 with license plate numbers anonymized for privacy.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3bxz-a5sb/rows.csv?accessType=DOWNLOAD&bom=true"
}
You can’t perform that action at this time.