Skip to content

Instantly share code, notes, and snippets.

View heytcass's full-sized avatar
😮‍💨
Working on a NixOS config.

Tom Cassady heytcass

😮‍💨
Working on a NixOS config.
View GitHub Profile
@EverythingSmartHome
EverythingSmartHome / All open windows and doors
Last active December 10, 2025 13:32
A collection of useful templates for Home Assistant dashboards
{{ states.binary_sensor
| selectattr('attributes.device_class', 'in', ['door','window'])
| selectattr('state', 'equalto', 'on')
| list | count }}
@sebstyle
sebstyle / rancher-on-k3os.md
Last active March 21, 2024 03:43
Install rancher on k3os

Rancher cluster on k3os

Goal

Install rancher on k3os with centralized datastore on mysql cluster.

Environment

  • Host: Ubuntu 18.04.4 Desktop (32gb ram 4 cpu)
  • Virtualisation: kvm/qemu (virtual machine manager)
  • Local network: 192.168.0.0/16
    • Gateway: 192.168.0.1