Skip to content

Instantly share code, notes, and snippets.

View keum's full-sized avatar

Peter Keum keum

  • King County - Wastewater Treatment Division
  • Seattle, WA
  • 00:19 (UTC -07:00)
View GitHub Profile
@keum
keum / .block
Created January 3, 2020 22:34
WA Parcel-lookup-Demo
license: mit
@keum
keum / .block
Last active April 4, 2019 02:18
fresh block
license: mit
@keum
keum / .block
Last active April 3, 2019 03:56
maptime demo
license: mit
@keum
keum / .block
Created April 2, 2019 22:57
fresh block
license: mit
@keum
keum / .block
Created April 2, 2019 00:23
fresh block
license: mit
@keum
keum / .block
Created March 28, 2019 20:43
fresh block
license: mit
@keum
keum / .block
Last active March 26, 2019 03:34
Maptime Seattle Demo
license: mit
@keum
keum / .block
Last active March 25, 2019 20:01
fresh block
license: mit
@keum
keum / waDOTcamera
Last active November 11, 2018 04:52
WA DOT camera location
{
"type": "FeatureCollection",
"name": "waDotcamera",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "CameraID": 8216, "CameraLocation\/Description": null, "CameraLocation\/Direction": "E", "Latitude": 48.1675, "Longitude": -122.1583, "CameraLocation\/MilePost": 0, "CameraLocation\/RoadName": "Airports", "CameraOwner": null, "Description": null, "DisplayLatitude": 48.1675, "DisplayLongitude": -122.1583, "ImageHeight": 197, "ImageURL": "https:\/\/images.wsdot.wa.gov\/airports\/arlwest.jpg", "ImageWidth": 335, "IsActive": "true", "OwnerURL": null, "Region": "NW", "SortOrder": 5300, "Title": "Arlington Airport Northwest" }, "geometry": { "type": "Point", "coordinates": [ -122.1583, 48.1675 ] } },
{ "type": "Feature", "properties": { "CameraID": 8218, "CameraLocation\/Description": null, "CameraLocation\/Direction": "N", "CameraLocation\/Latitude": 48.1675, "CameraLocation\/Longitude": -122.1583, "CameraLocation\/MilePost":
#!/usr/bin/env bash
# This script uses the concept at https://certbot.eff.org/#ubuntuxenial-other
# but overcomes the problem I consistently have of the server (at eff.org)
# not being able to connect to this machine.
mkdir -p /tmp/www
cd /tmp/www
sudo python -m SimpleHTTPServer 80 &
http_pid=$!