New Laptop

Recently ordered a new Lenovo IdeaPad 3i laptop. Twice as much disk space as my old laptop. 50% more memory. 4 cm bigger screen. WiFi 6. Fuller keyboard. Paid extra for a backlit keyboard as I loved that in my old laptop. Uses the same charger as my old one, which I already had two […]

Some software is too reliable

So my email client has been giving me warnings for a few weeks about my mail server’s certificate having expired. I trust the server, so I assumed something had gone wrong with certbot and the renewal process hadn’t worked. I put fixing it on my todo list. Today I finally got a chance to look […]

Bootstrap 5 Released

Seems I’m late to the party and it was released about two weeks ago. I’ve already been using the betas for a while though. Switching from using l/r (left/right) to s/e (start/end) for all the margin and padding utilities was a somewhat painful change. Bootstrap 4 → 5 Compatibility Shim I created this SCSS file […]

COVID-19 Vaccination, First Dose

So I had the first dose of the Oxford/AstraZeneca COVID-19 vaccination on Tuesday. No noticeable side-effects apart from a slight bruise-like pain at the injection site. I’ve had a cold (mild tonsillitis?) since Monday though which could have masked other side-effects.

Happy New Year

Happy New Year! Now it’s 2021, and all our .EU domain names can stop working. The only one I own is tmpdir.eu and I only use it as a placeholder domain name when I’m working on a new website. There’s a couple of in-progress websites and a staging site or two that will be affected […]

Dummy’s Guide to Roots Sage Theme in WordPress

Recently I’ve mostly been using Understrap as a theme for WordPress, however the Understrap GitHub repository has shown a disturbing lack of maintenance for the last year or so. With Bootstrap 5 on the horizon, and WordPress and PHP constantly moving forward, I don’t want to be stuck in a potential development dead-end using Understrap. […]

WordPress wp-ctrl-semicolon Plugin

I’ve previously blogged about creating keyboard shortcuts in WordPress. Now I’ve bundled that up into a plugin. It’s available on GitHub. https://github.com/tobyink/php-wp-ctrl-semicolon

WP Tempus Dominus Auto

Usually when I blog about programming, it’s Perl stuff, but here’s something that’s mostly Javascript (with a little PHP to act as a shim for WordPress). It’s a script to use Tempus Dominus as a date/time picker for HTML 5 date and time form inputs on Bootstrap/jQuery-based sites. It lets you do stuff like this: […]

Keyboard Shortcut to Edit a Page/Post in WordPress

WordPress does have a toolbar for logged-in administrators, but I often like to keep this feature disabled so while I’m viewing the site, I see it like normal visitors do. It’s nice to have a quick way to edit the page you’re currently viewing though. Here’s a way to allow the Ctrl+; keyboard combination to […]