Skip to content

Instantly share code, notes, and snippets.

View ptonelli's full-sized avatar

paul.tonel.li ptonelli

View GitHub Profile
@serialx
serialx / daemonset.yaml
Created April 5, 2026 12:04
Watchdog for siderolabs/sbc-raspberrypi#82 — RPi5 Ethernet drop
# BSD Zero Clause License
#
# Copyright (c) 2026 Sung-jin Hong
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
@serialx
serialx / fan-control.sh
Last active May 27, 2026 01:04
Fan control for Raspberry Pi 5 running Talos Linux
#!/bin/bash
# BSD Zero Clause License
#
# Copyright (c) 2026 Sung-jin Hong
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
@AnnoyingTechnology
AnnoyingTechnology / Apple's SuperDrive tweak for use with Linux.md
Last active April 21, 2026 13:55
Make Apple's USB SuperDrive work on Linux

I was ready to throw it away, I opened it up and didn't find anything wrong with it. After a quick Google Search, turns out Apple fucked up their users (again) and locked this drive to only one laptop : the MacBook Air.

Bellow is the tweak (found online) to make it usable on Linux

# Debian/linux only - Linux SCSI generic driver
sudo apt install sg3-utils -y