Skip to content

Instantly share code, notes, and snippets.

View mgottholsen's full-sized avatar
🎯
Focusing

Matthew Gotth-Olsen mgottholsen

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

README is empty

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

README is empty

{
"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.
#!/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

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
    ),

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
<div id="map_id" class="maps"></div>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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