Skip to content

Instantly share code, notes, and snippets.

View chrismetcalf's full-sized avatar

Chris Metcalf chrismetcalf

View GitHub Profile
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 December 16, 2019 03:19
Christopher Metcalf Public Medical Information (Placeholder)
this is a placeholder
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

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 15:02
List of materials you'll want to have prepared for NYC School of Data Open Data APIs session

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:
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 July 26, 2021 16:56
Fish Datasets for Fishackathon! 🐟💻
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)
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