Arch Linux laptop power — suspend, battery, and charging

Arch Linux laptop power — suspend, battery, and charging

I recently got a new laptop, (well — not new, but new to me), a HP ZBook 15 G5. After installing Arch Linux and the i3 wm I spend some time setting up power management, suspend on idle, and figuring out the state of the battery.

Read more →

Making my own NVR — with a streaming proxy and FFmpeg

Making my own NVR — with a streaming proxy and FFmpeg

I’ve been thinking about getting some CCTV cameras for a while, and last summer I purchased two Reolink PoE cameras. The footage is stored on a SD card, and uploaded to a local FTP server.

But I also wanted to record continuously, without getting a dedicated Reolink NVR. I’ve seen some YouTube videos by Tall Paul Tech where he uses FFmpeg to record CCTV footage — so let’s do that! 🙂

Read more →

Microblogging in Hugo — using Todoist tasks

Microblogging in Hugo — using Todoist tasks

I’ve had a recurring thought, following by some intense Googling — using this Hugo powered site to microblog. The idea has been fueled by two desires; owning my own “microblogging” data — and making it quicker, and easier, to post something on my own domain.

Being able to quickly snap a photo with my phone and publish it is not so easy with a static website. So I got the idea of using the Todoist app, and their API to post, build, and publish.

This is the story of how I did it, and why it wasn’t a good idea.

Read more →

Running CAT6 to the 2nd floor den — another interior wall

Running CAT6 to the 2nd floor den — another interior wall

I first got started on the network run from the attic switch to the 2nd floor den — back in October of 2021. I finished it a year later, so it’s about time to get this blog post published 😛

Read more →

Build and deploy Hugo with Make

Build and deploy Hugo with Make

I’ve written before about how I deploy this blog using Drone.io. It works well, and does exactly what you’d expect.

Lately I’ve started looking into reducing complexity in homelab systems that I use — and using “a Continuous Integration platform for busy development teams” felt a bit overkill for this tiny blog.

So I switched to something simple; GNU Make.

Read more →

Arch Linux — local caching repository and AUR build server

Arch Linux — local caching repository and AUR build server

I’ve set up a local Arch repository, a dynamic reverse proxy cache using nginx — and a local “build server” for AUR packages, using aurutils.

Here is how, and why 👇

Read more →

We got married!

We got married!

Mona and I got married in January 😃 We had a small civil ceremony — and dinner with our kids, parents, best man, and maid of honor.

Afterwards we were driven to Plaza Hotel in Oslo, where we spent the weekend ❤️

Read more →

Adding support for multiple series per post — in Hugo

Adding support for multiple series per post — in Hugo

I’ve previously implemented a series taxonomy in Hugo, but it only supported a single series per post and used intersect which is kind of slow.

Here is my improved implementation of a series taxonomy in Hugo 👇

Read more →

Running CAT6 to the twins’ rooms — inside interior wall

Running CAT6 to the twins' rooms — inside interior wall

We recently moved the twins into their own bedrooms, after sharing a room for nine years — it was finally time for some privacy 🙂

With their own rooms; they also got their own computers — a life long dream 😉 Those computers needs network, proper network, not Wi-Fi.

Read more →

Raspberry Pi security alarm — the basics

Raspberry Pi security alarm — the basics

In November last year — I started building a DIY security alarm system, using a Raspberry Pi as the controller. My plan was to make a self-sustained system, using proper alarm hardware — like PIR sensors and sirens.

Integration with Home Assistant would be an add-on, not a requirement. I wanted the system to be as redundant and fault-tolerant as I could make it.

This is a pretty long story, with some twists and turns — let’s get into it 👇

Read more →