Skip to content

Instantly share code, notes, and snippets.

View CaseyRo's full-sized avatar

Casey Romkes CaseyRo

View GitHub Profile
@CaseyRo
CaseyRo / README.md
Created July 22, 2026 11:05
Time-machine frontend proxy: keep a gen1 Shelly Wall Display alive on HA 2026.7 (frontend#52986 total-load-failure workaround)

Time-machine frontend proxy for a Shelly Wall Display broken on HA 2026.7

Stopgap for the total-load-failure variant of home-assistant/frontend#52986: on older gen1 Shelly Wall Displays (e.g. SAWD-0A1XX10EU1, Unisoc SC7731E, ES5 WebView) the HA 2026.7 frontend bundle never executes — no websocket is ever established, the dashboard is blank/stale, taps do nothing. A www CSS override can't help, because the frontend never runs to apply it.

This serves the last known-good frontend to just that one device while every

@CaseyRo
CaseyRo / flohmarktv8.html
Created May 7, 2026 09:09
Strassenflohmarkt Kiebitz Aue — Druckansicht (klosterdorf.de)
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Hofflohmarkt Kiebitz Aue</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.js"></script>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
@page { size: A4 landscape; margin:0; }
tell application "Microsoft Outlook"
set theMessageList to selected objects
log theMessageList
set theMessage to item 1 of theMessageList
set theSubject to the subject of theMessage
set theTime to the time received of theMessage
set theBody to the plain text content of theMessage
set theSender to the sender of theMessage
set theSender to the address of theSender
set theID to the id of theMessage
docker-compose down
mkdir /home/pi/homebridge
cd /home/pi/homebridge
sudo nano docker-compose.yml
docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull
brew cask install osxfuse
brew install sshfs
sudo mkfs.ext4 /dev/sda1
docker run hello-world
version: '2'
services:
homebridge:
image: oznu/homebridge:latest
restart: always
network_mode: host
volumes:
- ./config:/homebridge
environment:
- PGID=1000