Your cart is currently empty!
Category: Uncategorized
-
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…
-
[Solved] Angular sub paths not working.
Make sure to wrap your app-root element with the body tag! For example:
-
Home assistant key configuration for image notifications
I put this together for those that are chasing a working config to get their camera to take a snapshot, and forward that snapshot through as a rich notification to android or IOS. Note that my phone sits on the same VPN as my home assistant instance, so the image URL will be accessible by…