Your cart is currently empty!
Author: jcianci12
-
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.…
-
If you are running docker for windows, and your running out of space. Try looking at {{your user folder}}\AppData\Local\Docker\log\host
I was having a big issue with my drive filling up. Turns out docker was pumping logs out. Ill keep an eye on things to see if this issue returns as I will need to find a way to adjust the logging. As this is not sustainable! 😅
-
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…
-
Why docker wont start. Adding a User to the Docker Users Group: A Step-by-Step Guide
As a Docker user on Windows, you may have encountered an issue where you start it and nothing happens. This is because Docker requires the user to be part of the Docker Users group to function properly. In this article, we’ll explore why this is necessary and provide a step-by-step guide on how to add…
-
Web.config transforms and git. Ending the frustration.
In the world of MVC projects, managing web.config transformations can often be a tricky task, especially when working with source control systems like Git. A common issue that developers face is that every time a web transform is run, the web.config file changes are being tracked by Git. This can be frustrating as these changes are made before runtime…