Digital Ocean spaces vs restic

Very easy answer to a problem that's probably had you cursing for ages. When you set up a DO Spaces instance, you get a URL like https://myspace.eur3.digitaloceanspaces.com/, where eur3 is the datacenter you're in and myspace is the space name you supplied. So you just take that and append s3: to it in your restic … Read more

Node Package Manager install surprise. 387 extra packages!

I've got a server running Ubuntu 20, and wanted to try out something on it with nodejs. I checked on the server and apparently nodejs was already installed. I guess some previous dependency had put it on there a long time ago. node –version v10.19.0apt-cache policy nodejs nodejs: Installed: 10.19.0~dfsg-3ubuntu1 Candidate: 10.19.0~dfsg-3ubuntu1 OK, so the … Read more

Formatting mysqladmin variables output sensibly

OK, so if you're here, you've probably been searching for a variable in mysqladmin and have watched twenty screens of spaces and pipes scroll past. Me too, so I'm just leaving this little snatch of formatting to remind myself how to tame it down to something readable. So if you're searching for 'buffer' related variables, … Read more

Add a better PDF printer in Linux

One of the major revelations to Windows users when they migrate to Linux is that its no longer necessary to pay for a PDF printer, or install an open source one: Linux knows how to print PDFs already. However its default implementation is a little irritating. When you print you have to accept the document … Read more