misc-scripts/.
As it sounds, these are just random scripts I've written (lately, with some help from so-called 'AI') that might be useful to someone, though it's unlikely.
Directory Listing
total 72K
drwxr-xr-x 2 4.0K Mar 5 12:36 ./
drwxr-xr-x 11 4.0K Mar 5 12:37 ../
-rwxr-xr-x 1 5.6K Jan 27 2025 build-code-markdown.sh
-rw-r--r-- 1 15K Feb 5 2025 c64-schedule.php
-rw-r--r-- 1 7.7K Oct 2 15:09 events-csv.php
-rwxr-xr-x 1 1.5K Jun 5 2025 ips-from-spf.py
-rw-r--r-- 1 248 Dec 5 2024 LICENSE
-rw-r--r-- 1 978 Aug 20 2025 print-fixtures.py
-rw-r--r-- 1 1.4K Mar 5 12:36 README.md
-rw-r--r-- 1 6.6K Mar 5 08:19 spfflatten.py
-rw-r--r-- 1 157 Jan 27 2025 summary.md
-rw-r--r-- 1 968 Jan 15 2025 sunlight-percent.py
Download
- Download Tarball (Built 2026-03-05): misc-scripts.tar.bz2
Readme
Miscellaneous Scripts
As it sounds, these are just random scripts I've written (lately, with some help from so-called 'AI') that might be useful to someone, though it's unlikely.
- c64-schedule.php - Intended to sit in the root of a Wordpress installation, this script generates a Commodore 64 basic program in the form of a PRG file from data queried out of the database. As it is, it grabs upcoming events from the Eventon plugin and displays them on the screen, but with a bit of modification it could display anything from a WP site.
- sunlight-percent.py - Shows how much of today's sunlight has passed, as a percentage. What if we replaced our current H:M:S scheme with this number?
- build-code-markdown.sh - Used on this very site to convert a source code tree into a markdown file tree, for presentation/browsing within a static (in my case, Pelican) web site.
- spfflatten.py - Generates a list of IP addresses and/or networks, recursively, from a domain's SPF entry. Useful for flattening an SPF entry with too much recursion, or for firewall whitelists if you manage your own mail server.
- events-csv.php - Wordpress plugin that exports events from the eventON plugin, into a CSV file. I use it to aid in generating performance rights org reports (i.e., BMI and ASCAP)
- print-fixtures.py - For grabbing a fixture list from a QLC+ project.
License
This project is in the public domain.
Contributing changes back to this codebase and giving attribution when reusing this code are both wonderful things, but neither are necessary.