Software

Synology Lucene++ Client

Recently I was trying to figure out a way of accessing the “universal search” index available via the Synology UI, in a way that didn’t require logging into the UI itself.

yt-dlp download strings

I use yt-dlp for downloading videos from YouTube, TikTok, Facebook, Twitter, etc. A full list of all the “extractors” is available here. Here are some of the download strings I use:

Getting up and running: Mastodon on Fedora Server

I had a bit of bother getting Mastodon up and running on a Fedora box so figured I’d write up the main sticking points. Preamble The scope is to: Put most of this inside Docker Use AWS S3 for object storage Use AWS SES for mail If you’ve got Postfix already running locally, or don’t want to run storage on S3, just ignore these bits.

fail2ban config for Wordpress running in Docker

This environment: CentOS 7.x WP 5.x PHP 7.x Fail2ban 0.11.x WP/PHP running in Docker In /etc/fail2ban/filter.d/wplogin.conf: [Definition] failregex = .*php7:notice.*\[client (<HOST>).*wp-admin.*Password Mismatch ignoreregex = Then in the WP home, we want to log errors to SYSLOG.

CMake ExternalProject options

CMake manpages are about the most verbose manpages on the planet. All I wanted to do was import an external project and customise the build options without having to go and add files into the child project / patch them / whatever.