21 Feb 2020
I am in the process of building and publishing my first ever NuGet package and while I am not ready to go into that today I can post a quick tip about fixing an error I had with a library I am using to help with git versioning. The library is Nerdbank.GitVersioning and the error I got was when I tried to upgrade from an older version to the current one. The error? The "Nerdbank.GitVersioning.Tasks.GetBuildVersion"...
12 Feb 2020
A very very quick one today.
Sometimes when developing on macOS I want to view hidden files in Finder but most of the time it is just extra noise so I like them hidden.
There is a keyboard shortcut to toggle the visibility of these files.
cmd + Shift + .
(thanks to osx daily for the tip and image.)
This keyboard shortcut will show hidden files or hide them if shown…
11 Feb 2020
Today I was writing a Windows batch script that would at some stage run git pull. When I ran the script it paused and displayed the message: Enter passphrase for key: 'c/Users/Administrator/.ssh/id_rsa' No matter how many times I entered the passphrase Windows would not remember it and the prompt would appear again. So, after some time on Google and some trial and error, I was able to fix the issue and so for anyone else...
05 Feb 2020
Another quick one for today. After a little while developing on and against Windows, I am back developing on the lovely macOS. I have a local install of MySQL and when I connected to it via my terminal using mysql -u root I would connect ok but as soon as I tried to do anything I would get the following error. ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... ERROR...
02 Feb 2020
Building server-rendered HTML websites is a nice experience these days with ASP.NET Core. The new Razor Pages paradigm is a wonderful addition and improvement over MVC in that it tends to keep all your feature logic grouped rather than having your logic split over many folders. The standard dotnet new template does a good job of giving you what you need to get started. It bundles in bootstrap and jquery for you which is great...