This page contains code I've written and want to make public, which doesn't fit anywhere else on my site.

fcrdns

This is a Python 3 script that just does DNS lookups on an IP address and the returned name. It is handy for verifying forward-confirmed reverse DNS. It uses host from bind9-host.

UniFi Video and UniFi Controller Let's Encrypt certificate update script

This is a bash script that I run weekly with cron to keep the Let's Encrypt TLS certificates current for my UniFi software. You would of course have to adapt it to your own site since it contains my hostname.

packages.rb

Puppet Facter custom fact (written in Ruby). Returns a list of packages installed on the system as a hash, mapping the package name to the version. Works with Debian and Red Hat family operating systems.