Skip to content

Instantly share code, notes, and snippets.

View seabre's full-sized avatar

Sean Brewer seabre

  • CrowdFiber
  • Chattanooga, TN
View GitHub Profile
@seabre
seabre / Makefile
Created May 16, 2014 03:12
Filtrex Makefile
MODULES := ./node_modules
BIN := $(MODULES)/.bin
.PHONY: install_modules all clean
all: install_modules filtrex.js filtrex.min.js
clean:
rm -f filtrex.js
rm -f filtrex.min.js
@seabre
seabre / chkagainstschema.js
Created June 5, 2014 23:53
Check against a schema.
var check = require('check-types')
, fs = require('fs')
, csv = require('fast-csv')
, _ = require('lodash')
, stream = fs.createReadStream("Ptax_Property_Data_5_Yr.csv");
function valueToType(v) {
if (isNaN(v)) {
return v;
} else {
@seabre
seabre / .gitignore
Last active August 29, 2015 14:02 — forked from mbostock/.block
.DS_Store
build
node_modules

Keybase proof

I hereby claim:

  • I am seabre on github.
  • I am seabre (https://keybase.io/seabre) on keybase.
  • I have a public key whose fingerprint is 41A8 9451 2FEF 788C 436C 8338 32C9 26BB 3FFD DADC

To claim this, I am signing this object:

@seabre
seabre / kcic-next-90-days-meeting-5-12-14.md
Last active August 29, 2015 14:02
KCIC Next 90 Days Meeting - 5-12-14

Notes from Knight Meeting

  1. Phases of Socrata:
  2. What are they?
  3. There is a plan to have a three “portal” set-up where there is a: 1. City portal 2. Community portal 3. Citizen facing portal that will pull datasets from both
  4. Data publishing workflows?
  5. Knight Community Information Challenge proposal
// include gulp and required plugins
var gulp = require('gulp');
var sass = require('gulp-ruby-sass');
var browserSync = require('browser-sync');
var notify = require('gulp-notify');
var imagemin = require('gulp-imagemin');
var pngcrush = require('imagemin-pngcrush');
var cp = require('child_process');
var messages = {
// include gulp and required plugins
var gulp = require('gulp');
var sass = require('gulp-ruby-sass');
var browserSync = require('browser-sync');
var notify = require('gulp-notify');
var imagemin = require('gulp-imagemin');
var pngcrush = require('imagemin-pngcrush');
var cp = require('child_process');
var messages = {
@seabre
seabre / bicycle_parking.sij
Created July 14, 2014 13:18
Bicycle Parking Datasync Job
{
"datasetID" : "mzz8-ifku",
"fileToPublish" : "bicycle_parking.csv",
"fileToPublishHasHeaderRow" : true,
"fileVersionUID" : 3,
"jobFilename" : "bicycle_parking.sij",
"pathToFTPControlFile" : "control.json",
"pathToSavedFile" : "bicycle_parking.sij",
"publishMethod" : "replace",
"publishViaFTP" : true
@seabre
seabre / spec.json
Created August 12, 2014 19:19
Hamilton County Property Appraisal Information File Corrected Spec
[
{
"field":"GISLink",
"starts":"1",
"ends":"16",
"length":"16"
},
{
"field":"OwnerName1",
"starts":"17",
@seabre
seabre / usgsliquefaction.topojson
Last active August 29, 2015 14:05
Liquefaction susceptibility of the nine-county San Francisco Bay Region, California. Source: http://pubs.usgs.gov/of/2000/of00-444/ Source Shapefile: http://pubs.usgs.gov/of/2000/of00-444/of00-444_4c.tar.gz
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.