🪠 OK Ubuntu, If You Say So 🪠
Turn on monitor, find unexpected problem: No idea what that means. In my head it means: We’ve all been there.
Turn on monitor, find unexpected problem: No idea what that means. In my head it means: We’ve all been there.
Here’s a very quick little thing I just had to do, that maybe useful to you at some point in the future. The idea is that I had a JSON file (technically some JS to begin with), and I wanted to create a new file in the current directory for each entry in the JSON. … Read more
I suspect this problem won’t impact too many people. However, it caught me out so I figured I’d document it and share the fix. Heads up: you’re probably missing a next.config.js file. Or perhaps you have one, but it’s not got the right setting. OK, I will first share my config: That’s my Dockerfile in … Read more
A very frustrating problem for me today. With a very easy fix, I’m sure you will be glad to hear. The problem I was hitting is when running a build with NextJS, I was consistently getting a set number of pages fail to render with the error: Error occurred prerendering page. All of my pages … Read more
You may well have come across the warning in React where you are rendering out a list of things, and you forget to give each element a unique key. If you do that, you get the following showing your browser’s console: Warning: Each child in a list should have a unique “key” prop. In this … Read more
In this post we will look at how to use Google Sheets conditional formatting to change the colour of cells based on the given date. Here’s an example of what we will achieve: The conditional formatting rules I have applied here are: And it’s actually much easier than you might think (and easier than I … Read more
Continuing with learning C#, lately I have been diving into interacting with the Chat GPT API from my C# command line applications. This was my first experience with working with JSON in C#, and in particular I wanted to convert the JSON response from Chat GPT into one (or more?) C# objects. This does, however, … Read more
When switching from Dot Net 6 to Dot Net 7 on Ubuntu, I found that the Dot Net manual installation process went fine, but JetBrains Rider was less than happy with the result. After upgrading, and changing my project to build for Net7, I got the following error when trying to run the project in … Read more
Until now I’ve been getting by right enough running .net version 6.0 on Ubuntu. However, today I wanted to use raw string literals, aka “”” quoted multi line strings: This involved installing .net 7.0 on Ubuntu, which was pretty easy honestly: And then: With that done: I then restarted Rider, and saw that it had … Read more
I made a previous post about how you can use a couple of actions built into Google Sheets to help you delete empty rows for a given column. In that post I got a comment asking if it’s possible to automate the deletion in some way. It is. And to do that, one way would … Read more