Category: Uncategorized

  • Why is My Angular Array Not Updating in the View?

    As an Angular developer, you’ve probably encountered this frustrating scenario: you update an array in your component, but the changes don’t seem to be reflected in the view. You’ve checked your code, and everything looks correct, but the view remains stubbornly unchanged. In this article, we’ll explore the reasons behind this behavior and provide a…

  • Python, Flask and the dreaded error: No module named ‘imp’

    When trying to run a flask application under vscode, dev container, python 3.12.7 64 bit, I started getting these errors: After lots of non helpful answers (at least not for me!) I stumbledacreoss this: https://github.com/microsoft/debugpy/issues/808 Turns out this really helpful comment solved the issue for me! https://github.com/microsoft/debugpy/issues/808#issuecomment-1006990063 Flask has its own built-in debugger, which IIRC…

  • Getting HTML Datepickers to Display Bound Data Correctly

    I was trying to get a HTML datepicker to show the underlying data that it was bound to, but was running into issues with the date format. The datepicker would display the date as a string in the format YYYY-MM-DD, but my backend API expected the date in the same format. I needed to ensure that…

  • Pulling a Close Button to the Right in Bootstrap 5

    I was wanting to pull a close button to the right in Bootstrap 5 recently. After some research and experimentation, I ended up finding that the text-end class is a lifesaver for this! You can even include it in the same class as the col class! Bootstrap 5 provides a variety of utility classes that make aligning elements straightforward.…

  • Taking Control of Notifications with Home Assistant

    I was getting a bit tired of getting non-stop notifications when I was mowing the front lawn. So I decided to create a toggle in Home Assistant that would pause notifications for 15 minutes. The first step was to create a button helper in Home Assistant, which would serve as the toggle switch to pause…

  • Converting B6T images to ISO images.

    I downloaded some old abandoned software the other day, and one of the disk images was in the b6t format. I had no idea what that format was, but I was determined to get the software up and running. After some research, I found that b6t is a proprietary disk image format used by some…

  • Getting Plex Up and Running with a Windows Share on Ubuntu

    Okay, so my Portainer container was up… First port of call, get Plex up! My Plex media is actually stored on a Windows share. Here’s how I got it working. As a media enthusiast, I rely on Plex to stream my favorite shows and movies to my devices. However, my media library is stored on…

  • From Scratch to Dev Ready: Setting up a New Ubuntu Server with VSCode

    My trusty Ubuntu server has been running for a few years now, and it was a guinea pig for all my crazy ideas and lack of experience, so naturally it filled up with junk. I wanted to get a new one up and running, with the following essentials: Portainer, Docker, and Tailscale. In order to…

  • Drive Space Cheat Sheet for Linux/Ubuntu Machines

    I find myself forgetting syntax when it comes to checking drive space and freeing space, here is a handy cheat sheet you hopefully will find handy for finding and cleaning up old data from your Ubuntu machine. Note! Whenever cleaning up, take a backup first! Checking Drive Space Finding Large Files and Directories Freeing Up Space…

  • Why is my vm with docker running out of space?

    I recently ran into a frustrating “No space left on device” error on my VM. The culprit? Unused Docker images, containers, and volumes. Here’s a quick solution to get you back up and running: The Problem: Docker Sprawl Unused Docker resources consume disk space, slowing down your system. Particularly the docker/overlay2 folder. Check this out…