Skip to main content

Posts

2025

Logging and Debug output prefixes
·155 words·1 min
Logging Debugging
When I’m generating output from a script or process I typically use a standard set of prefixes to aid in displaying information about whats occuring.
Delaying Forgejo mirror updates
·282 words·2 mins
Forgejo Mirror Sqlite
Mirroring a large number of repositories in Forgejo triggered many 429 errors from the source preventing updates.
No Hello
·189 words·1 min
Hello Messaging
Don’t Just say Hello # I’ve had a few messages at ${WORK} lately which simply start with a: “Hello” followed by nothing. Sometimes there’s an ask of how a thing, typically a weekend, was.
HDD Drive Security - When it went wrong
·1088 words·6 mins
Hdparm Storage Linux
When I’ve finished using a hard disk for a customer project I’ll erase the data on it so the drive can be reused without the customers data getting exposed. A simple reformat of the disk would cover most scenarios but there’s a chance data can still be recovered after this so I need to be sure its not recoverable. The Secure erase feature of the disk would be perfect for this, or so I thought.

2024

Linux Firewall: Blocking a lot with a little
·1211 words·6 mins
Linux Iptables Ipsets Firewall
I have a need to block a large list of ever changing IP addresses from servers and systems I operate.