Make the Flex theme center images

Posted on Wed 07 October 2020 in Tech • Tagged with Tech

Previously I've been frustrated that the CSS in the Pelican Flex theme doesn't centre images. However, I'm only one user with one use-case, so I haven't raised a pull request.

Instead, I've finally gotten around to creating a quick-and-dirty sed string to fix the minified CSS file:

sed -i 's/}img{max-width:100%}/}img{max-width:100%;margin-left:auto;margin-right:auto;display:block}/' style.min.css

I also like my caption text to be italicised and centered, so I extended this a little:

sed -i 's/}img{max-width:100%}/}img{max-width …

Continue reading

Kate Bush - Army Dreamers guitar tab

Posted on Sun 30 August 2020 in Ramblings

Some friends and I have been working on our own version of Army Dreamers, by Kate Bush. The original version is replete with instruments, including a prominent Mandolin, some background violins, a synth of some sort, and even the sound of a rifle being racked. Since we're two guitarists, a bassist, and a singer, there's quite a bit of arranging to do to make it work.

Although there's plenty of tab around for the mandolin part, that's only a few notes, with the violin part kicking in immediately afterwards. I …

Continue reading

Ham and Pea Soup

Posted on Sun 09 August 2020 in Food • Tagged with Recipes, Food

I've never made Ham and Pea soup before today. I remember my mum making it when I was younger, but it was never really my thing. But tonight just seemed the right combination of a rainy, chilly, wintery evening... and we had some leftover jalapeño cornbread!

Well, it was so good I completely forgot to even take photos. I did it all in our pressure cooker, so the meal was ready in about half an hour. Here's what I did:


Primary Aromatics

  • 2 tablespoons butter
  • 5 cloves garlic, chopped …

Continue reading

Delicious Cornbread

Posted on Sun 26 July 2020 in Food • Tagged with Recipes, Food

I remember celebrating Christmas with family in New Mexico when I was a kid. I was fairly young, but I think it must have been at the Feast of the Virgin of Guadalupe. One of the most delicious treats I recall from the Feast was real Mexican cornbread.

Now, every few years I'll head into Gilmours and yoink a three-kilo bag of cornmeal. I don't make this often, but we do all love it, and one batch usually makes enough for multiple households.

A cast-iron skillet, hot from the oven, cradling a golden-brown cornbread.
It really comes out this beautiful every …

Continue reading

I made Salmon Gravlax!

Posted on Sat 11 July 2020 in Food • Tagged with Recipes, Food, Whisky

I joined some friends last weekend for a belated World Whisky Day celebration. The entry fee was, of course, a bottle of whisky (this year the theme was different finishing casks)... but we also each bring some delicious morsel that piques our interest.

This year, as I was bringing Glenmorangie's The Lasanta (aged in Oloroso and Pedro Ximénez sherry casks), I decided my amuse-bouche would be sherry-based.

My treat was dried prunes, soaked in a dry sherry, then sprinkled with a pinch of salt, and eaten with a tamari-roasted almond …

Continue reading

My mountain

Posted on Sat 06 June 2020 in Ramblings

Landscape photography of Mount Tongariro and Mount Ngauruhoe, covered in white snow

I got a tattoo a couple years ago, which is a sketch outline of Mount Tongariro and Mount Ngauruhoe, in the Central Plateau of New Zealand.

The photo that the tattoo, which the tattoo was based on, was just the result of a Google search. I've tried to find it many times since I actually got the tattoo - at very least just so I could give credit to the photographer. However, to no avail.

The other day I happily found a copy of the photo, and went to Google's Reverse …

Continue reading

ZFS zpool vanishing after upgrading ProxmoxVE 5.4 to 6.2

Posted on Sat 23 May 2020 in Tech • Tagged with Tech, Linux

Performing a major version upgrade is never pleasant. I've been using ProxmoxVE for about ten years now though, and it's consistently done a fantastic job. Since it's based on Debian, all the upgrades are done with a simple apt update && apt upgrade, with a variety of steps in the middle to point to new repositories, etc. Nothing out of the ordinary, nothing scary.

So I've got two servers - one is an old one, with only a couple testing VM's residing on it. I go ahead and work through the 5 …

Continue reading

Why are all Split-Tunnel VPN diagrams so ugly?

Posted on Thu 21 May 2020 in Security • Tagged with Security, Tech


Today I needed to find a diagram of the traffic flow for a split-tunnel VPN. Nothing fancy, just a real simple user-facing diagram to form part of an article.

And friends, there was nothing. Nothing at all. I found proper technical ones from Cisco Meraki; fancy Office365 ones, depicting an ExpressRoute to O365 and tunnelling everything else through the VPN; and another Office365 tunnel with ExpressRoute and a split-tunnel for the rest of the traffic.

Pretty much the closest I came to my needs was this atrocity, via http …

Continue reading

Roundcube not loading email contents

Posted on Mon 11 May 2020 in Tech • Tagged with Tech

Here's another quick one! I had a Roundcube instance, chugging along fine. Then one day it just stopped loading emails! Everything else was all fine - no problems with login etc, but trying to preview an email just game me a sadfaec. Chrome couldn't load the contents, and told me that the server had refused to connect.

Continue reading

Renaming a computer object in Active Directory

Posted on Sat 09 May 2020 in Tech • Tagged with Tech

Quick post tonight.

You can't rename a computer object in Active Directory Users and Computers. Even if you change the hostname, the domain object will still have the original distinguishedName from the old device.

However... you can do it in ADSIEdit! Just open ADSIEdit, navigate to the AD container that holds your misnamed object, right click on it, and Rename.

I've just done it with a couple test computers on a domain and both worked completely smoothly. I don't know if this would be safe if the renamed computer were …

Continue reading