Skip to content

Instantly share code, notes, and snippets.

View kevinschaul's full-sized avatar

Kevin Schaul kevinschaul

View GitHub Profile
@kevinschaul
kevinschaul / admin3-4-maritime.json
Created January 20, 2023 17:37
Style showing openmaptiles maritime boundary bug
{
"version": 8,
"name": "OSM Liberty",
"metadata": {
"maputnik:license": "https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md",
"maputnik:renderer": "mbgljs",
"openmaptiles:version": "3.x"
},
"sources": {
"natural_earth_shaded_relief": {
@kevinschaul
kevinschaul / r-cheat-sheet.md
Last active August 18, 2022 20:46
R stats cheat sheet
@kevinschaul
kevinschaul / flattenIn2csv.py
Created December 1, 2015 22:01
Convert a .json file into a CSV file, flattening any embedded objects and arrays
#!/usr/bin/evn python
import csv
import json
import sys
from sets import Set
def main():
"""
@kevinschaul
kevinschaul / with-center-fix.html
Created August 20, 2019 20:56
ai2html: Demonstrating the max_width + center_html_output issue
<!-- Generated by ai2html v0.92.0 - 2019-08-20 16:50 -->
<!-- ai file: ai2html-center-max-width-test.ai -->
<style type='text/css' media='screen,print'>
#g-ai2html-center-max-width-test-box {
max-width:600px;
}
#g-ai2html-center-max-width-test-box,
#g-ai2html-center-max-width-test-box .g-artboard {
margin:0 auto;

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@kevinschaul
kevinschaul / README.md
Last active December 27, 2015 12:59
Election results pages
@kevinschaul
kevinschaul / README.md
Last active December 25, 2015 22:08
Installation instructions for web developers, specific to the Star Tribune stack

Star Tribune web dev tools installation

Must-haves

Includes tools needed to compile software

Via the Mac App Store

Note: An Apple developer account is required.

@kevinschaul
kevinschaul / index.html
Last active December 19, 2015 10:29
Show undefined regions in d3 charts
<!DOCTYPE html>
<style>
text {
font-family: Arial, sans-serif;
font-size: 11px;
stroke: none;
fill: #999;
}
.axis {
stroke: none;