Raspberry Pi Pi-Hole

How to Install and Configure SNMP on a Raspberry Pi for LibreNMS Monitoring

If you’re running LibreNMS on a server somewhere and you’ve got a Raspberry Pi sitting on the same network, it’s worth pulling that Pi into your monitoring. It draws almost no power, it’s always on, and once it’s reporting data you’ll have graphs for CPU, memory, disk, network traffic, and temperature with very little effort. …

How to Monitor Websites and HTTPS Endpoints in LibreNMS via Docker

Many developers set up LibreNMS using Docker to monitor infrastructure via SNMP. However, keeping tabs on public or internal websites requires a different approach. LibreNMS can perform HTTP and HTTPS availability checks that function just like a curl command, tracking response times and alerting you if a site drops. If you deploy LibreNMS using the …

Understanding the Mandelbrot Set, the Julia Set, and Their Relationship

This little article is more for my own notes. Hoping to add more details later. What is the Mandelbrot Set? The Mandelbrot set is a set of complex numbers defined in the complex plane1. It exhibits great complexity and is popular for its aesthetic appeal and fractal structures1. The set is defined as the complex …

Raspberry Pi Pi-Hole

Disable WiFi MAC Randomization on Raspberry Pi Zero

Problem By default, the Raspberry Pi Zero generates a random MAC address for WiFi connections to limit device tracking. While this is a good privacy feature for mobile devices, it makes it difficult to track and manage the device on your home network. Solution Disable MAC randomization by creating a NetworkManager configuration file. Steps 1. …

Celery being Broken in Half

More Workers, Slower Progress? Why More Isn’t Always Better for CPU-Bound Celery Tasks

Recently, I was wrestling with some performance issues on my Django website. I’m using Celery to handle background tasks, specifically processing uploaded images using OCR via Tesseract. Initially, things seemed to run smoothly with a few concurrent uploads. However, as the number of simultaneous image uploads increased, the processing time for each file ballooned dramatically, …

keys

Gaining Access to a Docker Container That Errors Out

Gaining Access to a Docker Container That Errors Out Docker containers are fantastic for encapsulating applications, but what happens when one stubbornly refuses to start? Maybe you’ve made a configuration blunder, introduced a code error, or encountered a pesky dependency issue. If the container exits immediately with an error, how do you fix it? In …

Laravel Logo

Getting Started with PHP Laravel in a Docker Container

Laravel is a powerful PHP framework designed for web artisans. It provides an elegant syntax and a robust set of tools to build modern web applications. Docker, on the other hand, is a platform that allows you to package applications into containers, ensuring consistency across different environments. Combining Laravel with Docker can streamline your development …