r0b's random ramblings

This is a place for me to jot down thing's I've experimented with and document them for my future self ... or other people too I guess.

Getting started with kube-prometheus-stack

Wednesday, 2 February 2022

I recently added monitoring and alerting to my Kubernetes stack to discover and respond to failures faster. It took me way too long so here's what I did and learned along the way.

Creating custom JavaScript errors

Sunday, 12 September 2021

Custom errors are a powerful tool in JavaScript. Here's how to create them with modern ES classes and static methods.

Compile Sass with eleventy

Tuesday, 25 May 2021

How to add Sass/Scss to an Eleventy project and integrate it with the development server for automatic reloading.

Running Node.Js as a systemd service

Monday, 16 November 2020

I had a Node.js app that I wanted to run when my Raspberry Pi Zero started up in a minimal manor. Here's how I created a systemd service to do it.

My first generator function

Saturday, 25 July 2020

I finally did it, I found a use for JavaScript's generator functions, wrote one and now its deployed!

Spoofing a Raspberry Pi's mac address

Saturday, 22 February 2020

Sometimes you just want to fake a raspberry pi's mac address to appear as something else on the network. This is how to do that.

A minimal kiosk mode for a Raspberry Pi

Monday, 20 January 2020

When you need a Raspberry Pi to just display a webpage, you don't really need an entire operating system and window manager. This was my solution.

Using jsx WITHOUT React

Sunday, 12 January 2020

I wanted to do some lightweight javascript recently and didn't want to use a massive framework. Creating all my DOM elements manually was laborious and ugly so I setup jsx to do it for me.