Skip to content

Instantly share code, notes, and snippets.

View stu-spp's full-sized avatar

Stu Westerman stu-spp

View GitHub Profile
@huyvometropolis
huyvometropolis / update-aimobile-ext4.sh
Last active April 28, 2026 19:15
Update AIMobile yocto OS on the flight. It checks the active slot, picks the other partition, writes, flips the slot, and reboots — nothing else.
#!/bin/bash
set -euo pipefail
ROOTFS="${1:?Usage: $0 <rootfs.ext4>}"
[ -f "$ROOTFS" ] || { echo "Error: file not found: $ROOTFS"; exit 1; }
ACTIVE=$(/usr/sbin/nvbootctrl get-current-slot)
if [ "$ACTIVE" = "0" ]; then
@timothyham
timothyham / ipv6guide.md
Last active May 10, 2026 19:51
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1