Category: Uncategorized

  • 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…

  • [Updated] Using EF migrations with multi project solutions.

    When using ef migrations with an existing project, I found that that entity framework could not get a configuration, so therefore it could not get connection string etc. The reason for this is that ef migrations look at a few places, for the configuration. I tried a few work arounds, but none of those worked.…

  • Resolving Common Issues with Code First Migrations in ASP.NET Core

    I was working on a multi project solution and needed to do some code first migrations. It had been a while since I had done migrations and when running them, I noticed an error I hadn’t seen before. This was a strange error, and after adding the -v switch to the dotnet ef migrations add…

  • Resolving EF Migration Errors with a Separate Database Project

    As developers, we’ve all been there – stuck on a seemingly insurmountable error, with no clear solution in sight. Recently, I encountered an issue while trying to run migrations on my ASP.NET Core application. The problem was that my database was housed in a separate project from my application, which led to some unexpected errors.…

  • Here are the steps to mount a network drive permanently on a Linux system:

    Step 1: Install the necessary packages You will need to install the cifs-utils package to mount a network drive on a Linux system. You can install it using the following command: Step 2: Create a mount point Create a mount point for the network drive. This will be the directory where the network drive will…

  • Backing Up Oracle Free Tier Machines: A DIY Solution

    I have heard that Oracle sometimes blows its free tier machines away randomly, and I had left a backup solution too long. Sure, I backed up the boot volume in Oracle’s console, but this doesn’t include an easy way to pull those images down, so I needed to work something out for myself. I tried…

  • [Solved] Angular SocialX login showing even when user is authenticated.

    I was adding third party authentication to my application, and I found a plugin which looked to solve the problem. Its located here and seems very popular: abacritt/angularx-social-login: Social login and authentication module for Angular 17 (github.com) Great! I set it up, and it worked! The only frustrating thing was that the plugin would show…