Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Matthew Gotth-Olsen mgottholsen

🎯
Focusing
View GitHub Profile
@mgottholsen
mgottholsen / README.md
Last active May 23, 2016 16:40
metrocouncil district
View README.md

README is empty

@mgottholsen
mgottholsen / README.md
Last active May 23, 2016 17:10
metrocouncil district
View README.md

README is empty

View vizwit_test
{
"version": "2",
"header": {
"title": "VizWit",
"description": "Lorem ipsum dolor sit amet"
},
"cards": [
{
"x": 0,
"y": 0,
@mgottholsen
mgottholsen / make_table.py
Created July 14, 2017 18:23 — forked from btbytes/make_table.py
Given a CSV file with a header row, and at-least one row of data, output a SQL `CREATE TABLE` statement by guessing the data type of the columns.
View make_table.py
#!/usr/bin/env python
# encoding: utf-8
"""
make_table.py
Given a CSV file with a header row, and at-least one row of data,
output a SQL `CREATE TABLE` statement by guessing the data type of the columns.
Pradeep Gowda <pradeep@btbytes.com>
License: Public Domain
@mgottholsen
mgottholsen / README.md
Created August 11, 2017 12:26 — forked from jsanz/README.md
Analysis example: Voronoi on CartoDB
View README.md

This example loads a CartoDB layer using a crazy SQL from a small variation of this awesome Stack Overflow response. Note the use of CSS style tags for the CartoCSS to allow easy editing.

The uncompressed (and not perfect!) version of the SQL to draw the Voronoi diagram is:

WITH 
    Sample AS (
      SELECT st_setsrid(st_union(the_geom),0) as geom 
      FROM registro_centros_nz WHERE spanish = 1
    ),
View Keybase.md

Keybase proof

I hereby claim:

  • I am mgottholsen on github.
  • I am mattgolsen (https://keybase.io/mattgolsen) on keybase.
  • I have a public key ASDLzs1VWCpbcD0EoRVtdhsQkvaxzwn1CcWCluzOrIkfEAo

To claim this, I am signing this object:

@mgottholsen
mgottholsen / index.html
Created October 31, 2017 15:17
Leaflet Draw
View index.html
<div id="map_id" class="maps"></div>
View gov_offices.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View metro_parks.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mgottholsen
mgottholsen / electric_objects.py
Created May 24, 2018 00:03 — forked from harperreed/electric_objects.py
Electric objects simple API wrapper
View electric_objects.py
import requests
import urllib
import requests
import json
import random
"""
here is a wrapper for the *unreleased* electric objects API
Built by Harper Reed (harper@nata2.org) - @harper