Encrypted QNAP volumes protect against stolen hardware, but someone must enter the key after every power loss. This BASH script in a cron job on another machine logs in, finds locked volumes and unlocks them automatically — security without the 3AM wake-up.
Windows can mount WebDAV shares as drives, but refuses basic auth by default — and getting Apache to serve digest auth that Windows accepts took some troubleshooting. The working setup, documented.
Varnish claims to be "10 times faster than squid" but isn't built to be a general internet proxy — so I chained it with Squid on a Debian box for my cable modem. The full setup, step by step.
A few one-liners I keep reaching for: filtering and replacing with regex straight from the Perl command line, including in-place file editing with automatic backups.