Code Buckets

Buckets of code

Latest post

26 Tips for Localising your Application

I’ve worked with applications with different language variants for years. Here are some things I’ve learnt along the way. This is written from the point of view of an English speaker, working with an English application. In honour of that,…

Moving hosting to Hostinger

I’ve been meaning to move the hosting for codebuckets for months now. My level of enthusiasm for moving hosting come somewhere between going to the dentist and getting my annual taxes sorted. Actually, it’s less appealing than both those unappealing…

Bootstrap Modal Dialog in React without JQuery

The Task I want the modal dialog component working in a React project. My React project uses function components and hooks but it would be the same with class components. The Problem To show the modal I need to call…

Applying Entity Framework Migrations to a Docker Container

I’m going to run through how to deploy an API and a database into two separate Docker containers then apply Entity Framework migrations. This will create and populate the database with the correct schema and reference data. My idea was…

Browsing the File System in Windows and Linux Docker Containers

I’ve written a few posts about Docker now so I thought I would just step back and write a set of instructions on how to browse the file system via an interactive shell on a running container. Although it’s basic…

Artificial Intelligence A-Z

I’m just getting back into the blog after a break. In that spirit, I’m backfilling posts about some of the stuff I’ve read. watched and listened to during that break. My boss told me that anyone who doesn’t know about…

In Praise of the Marquee Tag

I’ve created a few internal tools for various tasks over the years. I tend to pop a web front end on them. I also like to pop on a marquee tag somewhere nice and visible so I can marvel at…

NuGet restore failing in Docker Container

I was tempted to write about this before, but I didn’t as there is already a very good, highly rated stack overflow answer with the solution. However, I’m just reinstalling Docker desktop and getting things working again and I wish…

Blocked by CORS policy? Unblocking in .Net Core 3

A while ago I wrote an post about hosting Angular under an existing IIS website. Quite a few people seem to have found it useful which is good. My motivation was to avoid CORS policy errors i.e blocked JavaScript requests…

Why I’m uninstalling Docker Desktop

It might be the parting of the ways for me and Docker Desktop for now. There have been good times. There have been bad times. But it’s relentless demands have become too much for one software developer to bear. I’ve…