I hereby claim:
- I am jeffehobbs on github.
- I am jeffehobbs (https://keybase.io/jeffehobbs) on keybase.
- I have a public key ASBm6ZogolqJnwXffjo0ZSL2PVn5QM8bcL3vIquzUbWrnwo
To claim this, I am signing this object:
[ | |
"Acme", | |
"Ada", | |
"Adams", | |
"Addison", | |
"Adrian", | |
"Aetna", | |
"Ahmeek", | |
"Akron", | |
"Alabaster", |
[ | |
"Akron", | |
"Alliance", | |
"Amherst", | |
"Ashland", | |
"Ashtabula", | |
"Athens", | |
"Aurora", | |
"Avon", | |
"Avon Lake", |
[ | |
"Abbeville", | |
"Adamsville", | |
"Addison", | |
"Akron", | |
"Alabaster", | |
"Albertville", | |
"Alexander", | |
"Aliceville", | |
"Allgood", |
[ | |
"Abington", | |
"Acton", | |
"Acushnet", | |
"Adams", | |
"Agawam", | |
"Alford", | |
"Amesbury", | |
"Amherst", | |
"Andover", |
GOAL: Send a push notification after the (vibrations from the) dryer cycle has completely stopped. | |
USING: | |
* Inexpensive hardware (see below) | |
* ESPhome (http://esphome.io) for chip firmware | |
* Home Assistant (http://hass.io) for sensor state machine and push notification. | |
--- | |
SHOPPING LIST: |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" | |
today=$(date +%Y-%m-%d) | |
fps=1 | |
SITES=("al.com" "cleveland.com" "lehighvalleylive.com" "masslive.com" "mlive.com" "newyorkupstate.com" "nj.com" "nola.com" "oregonlive.com" "pennlive.com" "silive.com" "syracuse.com") | |
for site in "${SITES[@]}" | |
do | |
: |
#!/bin/bash | |
root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" | |
SITES=("al.com" "cleveland.com" "lehighvalleylive.com" "masslive.com" "mlive.com" "newyorkupstate.com" "nj.com" "nola.com" "oregonlive.com" "pennlive.com" "silive.com" "syracuse.com") | |
for site in "${SITES[@]}" | |
do | |
: | |
/usr/bin/python3 $root/screenshot.py --site $site | |
done |
#!/usr/bin/env python3 | |
# screenshot.py // take screenshots of URLs | |
import asyncio, argparse, time, os, glob, signal | |
from time import strftime | |
from pyppeteer import launch | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--site', help='site to screenshot') | |
args = parser.parse_args() |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# os-check.py // jeffhobbs@gmail.com | |
# check chromeOS site for specific updates | |
import csv, urllib2 | |
from sparkpost import SparkPost | |
# customize the list of devices, email addresses, and add your own SparkPost API key |