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 / esphome_get_camera_image.py
Created June 1, 2021 19:50 — forked from micw/esphome_get_camera_image.py
Getting camera images from esp32cam with esphome and python
#!/usr/bin/env python3
import aioesphomeapi
import asyncio
async def main():
loop = asyncio.get_running_loop()
cli = aioesphomeapi.APIClient(loop, "HOST-OR-IP", 6053, "API-PASSWORD-OR_EMPTY")
await cli.connect(login=True)
[
{
"id": "207111fc.39d516",
"type": "http request",
"z": "de854356.27206",
"name": "login",
"method": "POST",
"ret": "obj",
"url": "https://api.autopi.io/auth/login/",
"tls": "",
We can't make this file beautiful and searchable because it's too large.
latitude,longitude
38.2279736,-85.7938262
38.2283609,-85.7937792
38.0984972,-85.8558046
38.2507318,-85.5904163
38.2456706,-85.6337935
38.0931369,-85.7452002
38.1362353,-85.7712499
38.1032101,-85.8727555
38.1850315,-85.5410653
https://www.huduser.gov/portal/usps/home.html
HUD has entered into an agreement with the United States Postal Service (USPS) to receive quarterly aggregate data on addresses identified by the USPS as having been "vacant" or "no-stat" in the previous quarter. HUD is making these data available for researchers and practitioners to explore their potential utility for tracking neighborhood change on a quarterly basis. The potential power of these data is that they represent the universe of all addresses in the United States and are updated every three months. Under the agreement with the USPS, HUD can make the data available publicly at the Census Tract level provided users agree to the terms and conditions of the click-on sublicense.
Total Number of Addresses - This reflects all addresses (residential and commercial) that USPS has recorded in their database.
Total Vacant Addresses - These are addresses that delivery staff on urban routes have identified as being vacant (not collecting their mail) for 90 days
<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<!-- Service Identification --> <ows:ServiceIdentification>
<ows:Title>LOJIC_HistoricImagery2016</ows:Title>
@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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mgottholsen
mgottholsen / index.html
Created October 31, 2017 15:17
Leaflet Draw
<div id="map_id" class="maps"></div>

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: