Mirrors

More backups are always better

I’ve mentioned before that I have my website’s repository mirrored across multiple Git hosts. Well, it is not just the website; it is all my repositories. I have four hosts, namely: GitHub, GitLab, Codeberg, and Bitbucket. This is overkill, I know. I really like it, though. It gives me a warm, fuzzy feeling knowing my precious crap is safe. If one host goes down, I’ve got three others. If two go down, there are still two left. And if three go down… well, there’s probably something far more serious going on, but let’s not get distracted. ...

Compose key

Compose Key

In many languages there’s a need to add decorations, or glyphs to characters, like for example é or č. These are called diacritics. These characters don’t exist on a US Standard qwerty keyboard. There is the US International version with dead keys, which allow for crafting these special characters by pressing the desired diacritic key followed by the character to apply it to. So for example pressing ~ followed by n results in an ñ. ...

Security camera

Using external drive as data directory in a Proxmox LXC

I have a homelab, or more simply a personal server I run at home. It’s a small square black box that sits in my office, humming away. This server runs Proxmox VE, a hypervisor. This controls pretty much everything that goes on, on this server. It has the ability to spin up containers, which it calls LXC’s. These are somewhat akin to Docker containers. Anyway, the process of spinning one of these up is super simple. Click a few buttons, allocate some space and there’s your ‘container’. ...

Making a new post in Hugo

According to the Hugo Quick Start documentation, the right way to start a new post is by issuing the following command in a terminal: hugo new content content/posts/my-post-name.md. This works fine and yields a new Hugo post with basic frontmatter. I’ve found issuing hugo new posts/my-new-post.md works fine as well. It’s shorter, so I prefer it. This is not the point however. The point is the frontmatter. This is a few lines of text above the content of the Markdown file you’ve created by a hugo new command. The Quick Start shows the following as an example of front matter that it generates: ...