Skip to content

Instantly share code, notes, and snippets.

@jeffehobbs
jeffehobbs / make_videos.sh
Created November 9, 2018 17:44
make timelapse videos of sites
#!/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
:

Keybase proof

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:

@jeffehobbs
jeffehobbs / vibration_sensor_ESP32_HA_how_to.txt
Last active April 21, 2026 09:19
Vibration Sensor for ESPHome/Home Assistant
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:
@jeffehobbs
jeffehobbs / massachusetts.json
Created June 17, 2020 14:17
JSON array of cities and towns in Massachusetts
[
"Abington",
"Acton",
"Acushnet",
"Adams",
"Agawam",
"Alford",
"Amesbury",
"Amherst",
"Andover",
@jeffehobbs
jeffehobbs / alabama.json
Created June 17, 2020 14:36
JSON array of cities and towns in Alabama
[
"Abbeville",
"Adamsville",
"Addison",
"Akron",
"Alabaster",
"Albertville",
"Alexander",
"Aliceville",
"Allgood",
@jeffehobbs
jeffehobbs / ohio.json
Created June 17, 2020 14:43
JSON array of cities and towns in Ohio
[
"Akron",
"Alliance",
"Amherst",
"Ashland",
"Ashtabula",
"Athens",
"Aurora",
"Avon",
"Avon Lake",
@jeffehobbs
jeffehobbs / michigan.json
Last active June 17, 2020 15:13
JSON array of cities and towns in Michigan
[
"Acme",
"Ada",
"Adams",
"Addison",
"Adrian",
"Aetna",
"Ahmeek",
"Akron",
"Alabaster",
@jeffehobbs
jeffehobbs / new_jersey.json
Created June 17, 2020 15:19
JSON array of cities and towns in New Jersey
[
"Aberdeen",
"Absecon",
"Alexandria",
"Allamuchy",
"Allendale",
"Allenhurst",
"Allentown",
"Alloway",
"Alpha",
@jeffehobbs
jeffehobbs / pennsylvania.json
Last active December 2, 2021 17:22
JSON array of cities and towns in Pennsylvania
[
"Aliquippa",
"Allentown",
"Altoona",
"Arnold",
"Beaver Falls",
"Bethlehem",
"Bloomsburg",
"Bradford",
"Butler",
@jeffehobbs
jeffehobbs / oregon.json
Created June 17, 2020 15:26
JSON array of cities and towns in Oregon
[
"Adair Village",
"Adams",
"Adrian",
"Albany",
"Amity",
"Antelope",
"Arlington",
"Ashland",
"Astoria",