Skip to content

Instantly share code, notes, and snippets.

View seanlowe's full-sized avatar
👋
Open to Work

Sean Lowe seanlowe

👋
Open to Work
View GitHub Profile
@danfarino
danfarino / run.sh
Last active August 7, 2024 13:41
Conditionally build and run Go program if any files have changed
#!/usr/bin/env bash
# Note: be sure to add `.exe/` to your `.gitignore` file, otherwise this script will not work properly.
set -euo pipefail
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
input_sha=$(
(
@rithvikvibhu
rithvikvibhu / README.md
Last active April 12, 2024 15:32
GHLocalApi Update

GHLocalApi Update

The Gist

Until recently, the Google Home app used to communicate with the device over port 8008 (HTTP) and did not require any authentication. Everything in the unofficial documentation worked as expected.

A few days (weeks) ago, Google pushed a new update to all GH devices and all endpoints (except /setup/eureka_info) started returning 403 (forbidden) errors. The app had switched over to port 8443 and HTTPS.