ben.lostgeek.net/code


Some smaller things I've written that you may find useful.

Everything below you may use under the terms of version 2 of the GNU general public license.


Source code available for:

xscreensaver-mate - This script replaces mate-screensaver with the full xscreensaver set on Debian /w MATE Desktop, prevents reinstallation (of mate's saver), and sets up symlinks for seamless integration.

btskm - BTSKM is a script for backing up and restoring ssh keys. Uses uname -n to match hostname. Use /w 'backup', 'restore'.

setfreq - Setting max CPU frequency for the Linux kernel's dynamic scaler.

btfetch - A more minimal neofetch clone

imageboard - Minimalist implementation of a popular image board

btv - Remote control MPV video playback on a headless, X-less system

namecheap-updater - Checks to see if your WAN ip matches your domain IP, renews if it doesn't.

nvme-error-logger - Logs nvmaer data; used to ensure stability on the Pi 5 with gen 3 link speed forced

upgrade-all - Fetch all updates for an OpenWRT system, and install them all in one go

leases2hosts - Turn OpenWRT dhcp clients list into suitable hosts file for local (LAN) hostname resolution

merge2hosts - Merge generated dhclient-derived hosts file, with existing hosts file (& avoid conflicts)

wclock40x2 - ESP32 code for a 40 x 2 parallel LCD weather/clock. Uses wifi + ntp for the clock, and needs weather data from a script on a *nix box.. That code (for weather fetch) is in the piframe link, below this.

piframe - Python code to drive 20x4 i2c LCD display from Raspberry Pi. Also, API to get weather data. Shows local weather temp, humidity %, wind speed. Uses custom characters for larger digits.


You can mail me, ben.lostgeek.net -- replace the first period with (at), and that's me.


Copyright 2008 - 2025 LostGeek.NET        All rights reserved.