Code Buckets

Buckets of code

Latest post

Where’s Kitty

After many months of intensive research, user testing and damn clever coding I have produced the ground-breaking gaming experience of Where’s Kitty – available online. Click here to play. Rules 20 Kittys have hidden themselves under the grid. It’s your…

Deploying Asp.Net Core and MySQL into Linux Docker Containers – and Populating the Database

I’ve written an .Net Core API that I want to deploy out. I want to use all open-source software so it’s going to be using a MySQL database and be hosted on a Linux box somewhere. The Task I want…

Cellular Automata with React

Here is a fun thing – above is cellular automation coded (by me) in React. Specifically, it is Conway’s Game of Life Rules The rules are Any live cell with two or three live neighbours survives. Any dead cell with…

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…