Skip to content

Instantly share code, notes, and snippets.

@sethetter
sethetter / 180909-open-data-101.md
Created September 9, 2018 18:02
Open Data 101
View 180909-open-data-101.md

Open Data 101

What

  • Open Data definition
    • Structured data that is
      • machine-readable
      • freely shared
      • used and built on without restrictions
  • Specific types of open data
  • Budget
View clean-wpd-data.js
#!/usr/bin/env node
const program = require('commander')
const { promisify } = require('util')
const fs = require('fs')
const csv = require('csv')
const moment = require('moment')
const {
map,
filter
} = require('lodash')
View keybase.md

Keybase proof

I hereby claim:

  • I am sethetter on github.
  • I am sethetter (https://keybase.io/sethetter) on keybase.
  • I have a public key ASCdP3Ho9peBaeukPLxqjSLrvy3fKZekOmLaEJz1FxC0kQo

To claim this, I am signing this object:

View dbctl-server.js
const url = require('url')
const qs = require('querystring')
const path = require('path')
const fs = require('fs')
const { createServer } = require('http')
const { exec } = require('child_process')
const envFile = fs.readFileSync(path.resolve(__dirname, 'dbctl.env'), { encoding: 'utf8' })
View 171020-why-learn-haskell.md

Goal: Learn Haskell

But why?

The natural way that a programmer gets interested in programming is to see others doing it, get intrigued, and then try it out for themselves. The same is true of probably any hobby, profession, educational topic, etc. The problem with this is that it limits a newcomer's likelihood to learn a different and potentially better way to approach said activity.

View create-user-pool
#!/usr/bin/env node
const path = require('path')
const fs = require('fs')
const yaml = require('js-yaml')
const _ = require('lodash')
const AWS = require('aws-sdk')
const program = require('commander')
View civic-hacking-101.md

Civic Hacking 101

The term "civic hacking" can, at times, raise an eyebrow or two. It just so happens that each one of these words packs quite a bit of meaning individually. When you combine them, something magical happens. Let's define them.

civic - adj. -- Of, relating to, or belonging to a city, a citizen, or citizenship.

hacking - v. -- Creating clever modifications or improvements, often using

View gist:836ef9e9cb43f9c9a45e15ab60615804
const fs = require('fs')
const path = require('path')
const csv = require('csv')
const request = require('request')
const getRemoteFileContent = (url) => {
return new Promise((resolve, reject) => {
request(url, (err, response) => {
if (err) return reject(err)
return resolve(response.body)
View 170620-what-is-open-wichita.md

What exactly is Open Wichita?

I get asked this question quite a bit, and I totally understand why! We're definitely not like any other group in the area, and "civic tech" might not be a thing you've really heard much about.

Maybe you've heard about us, maybe not. Either way, I would like to take some time to jot down what exactly Open Wichita is all about. Our mission relies heavily on having awesome people involved, and how could you get involved if you don't even know what we do?

View 170324-tmw-hackathon.md

Hackathon @ Tech Midwest

At the inaugural Tech Midwest we're calling on all developers, designers, artists, makers, and technologists to come build something incredible! Whether you are a seasoned veteran or an absolute beginner, we want you to join us for this year's Hackathon!

Get together in teams of 2-5 people and collaborate on a project over the course of the event. At the end, present what you created and see which teams did the best!