Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Metcalf chrismetcalf

View GitHub Profile
View README.md
View gist:075a84757b89631e80f4e42922e8ae60
Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Library/StagedExtensions/Applications/Turbo%20Boost%20Switcher%20Pro.app/Contents/, NSFilePath=/Library/StagedExtensions/Applications/Turbo Boost Switcher Pro.app/Contents/PlugIns, NSUnderlyingError=0x7fd09ae06040 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
@chrismetcalf
chrismetcalf / medical.txt
Created Dec 16, 2019
Christopher Metcalf Public Medical Information (Placeholder)
View medical.txt
this is a placeholder
View gist:87c746521db488e9fbb7fd189a36f9a3
businessyear text BusinessYear
statecode text StateCode
issuerid text IssuerId
sourcename text SourceName
importdate floating_timestamp ImportDate
serviceareaid text ServiceAreaId
serviceareaname text ServiceAreaName
coverentirestate text CoverEntireState
county text County
partialcounty text PartialCounty
View keybase.md

Keybase proof

I hereby claim:

  • I am chrismetcalf on github.
  • I am chrismetcalf (https://keybase.io/chrismetcalf) on keybase.
  • I have a public key ASBQIa71-hU15epVl-Ew2FLssOgUFoB7meunWaVJu3PTmwo

To claim this, I am signing this object:

@chrismetcalf
chrismetcalf / school_of_data_open_data_apis.md
Last active May 15, 2017
List of materials you'll want to have prepared for NYC School of Data Open Data APIs session
View school_of_data_open_data_apis.md

Under Construction

I'll be updating this page through the course of the day, so please refresh every once in a while.

Preparation

If you'd like to follow along in the live-coding exercise, please take a couple of steps to prepare before our session:

  1. Bring a laptop with an up-to-date modern browser. The latest versions of Chrome or Firefox should work. It likely will work with Chrome or Safari on a tablet like an iPad, but you'll want an attached keyboard to go along with it.
  2. If you don't have a GitHub account, sign up for one:
View stranger_thing.c
int ALL_BULBS = 13;
int N = 12;
int U = 11;
int R = 10;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(ALL_BULBS, OUTPUT);
pinMode(N, OUTPUT);
@chrismetcalf
chrismetcalf / fish_data.md
Last active Jul 26, 2021
Fish Datasets for Fishackathon! 🐟💻
View gist:6e61b6114ab68e079388
import urllib2
# Make sure you register your own app token at http://dev.socrata.com/register
headers = {
"X-App-Token" : "YOUR_APP_TOKEN_HERE"
}
request = urllib2.Request("https://data.colorado.gov/resource/q2qp-xhnj.json?county=Denver&$limit=50", headers = headers)
response = urllib2.urlopen(request)
View all-la-parties.html
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<style>
/* BEGIN /usr/local/lib/python2.7/site-packages/bokeh/server/static/css/bokeh.css */
/*! jQuery UI - v1.10.0 - 2013-01-17