dt.iki.fi

About HTTPS on this site

This site is also viewable encrypted through https. There's a snag though: Browsers do not (by default) "trust" the certificate authority I'm using. Why not? Because this "trust" must be bought, and the certificate authority I have chosen does not pay this money (and neither do...

Upgrading a CAcert.org Server Certificate (nginx)

Please don't ask me to consider anything else; I choose CAcert even though it isn't "trusted". But what use is trust that can be bought with $$$? CAcert are certainly trustworthy in my opinion. If you think so too you might want to import their root certificate from this page. I also wrot...

Using GNU bash? Forget date!

Since Version 4.2.0 GNU bash can print times in strftime format with printf. OK, the external date command can do a lot that bash's builtin cannot do, but for most use cases this is enough - and it's always better to use builtins, because if you're using bloated bash, at least take full advantage of...

How to REALLY Restore Lost Contacts from a LineageOS Phone

One day I ran my phone's battery down all the way to 0%, until it switched itself off. When I rebooted, of my hundreds of contacts only about a dozen were left. Of course my last backup was way too old, and I don't have any online accounts either. Ouch. But somehow I couldn't quite believe they were...