Skip to content

Instantly share code, notes, and snippets.

View maxju's full-sized avatar

Max Schaible maxju

  • Germany
  • 07:06 (UTC +01:00)
View GitHub Profile
@maxju
maxju / format.sh
Created February 24, 2026 12:54
Format device with two ext4 partitions of equal size
#!/bin/bash
set -euo pipefail
if [ -z "${1:-}" ]; then
echo "Usage: $0 <device>"
echo " e.g. $0 vdb"
exit 1
fi
blueprint:
name: deCONZ - Aqara Wireless Remote Switch Single Rocker (1 button)
description: |
Aqara Wireless Remote Switch Single Rocker control
domain: automation
input:
remote:
name: Remote
description: Aqara remote