05 Oct 2020
Overview ☀ I have now built my first .NET Core Global Tool! A .NET Core Global Tool is special NuGet package that contains a console application that is installed globally on your machine. It is installed in a default directory that is added to the PATH environment variable. This means you can invoke the tool from any directory on the machine without specifying its location. The Application 🌱 So, rather than the usual Hello World...
02 Oct 2020
All of a sudden spotlight on my macOS Mojave macmini stopped working… There is a process called mdutil which manages the metadata stores used by Spotlight and was the culprit for my issue. The fix after some Google Fu and some trial and error was to restart this process as follows: sudo mdutil -a -i off sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist sudo mdutil -a -i on Hopefully this won’t happen...
30 Sep 2020
Every time apt-get upgrade upgrades my local MySQL instance on my Ubuntu laptop I get the following error:
(1698, "Access denied for user 'root'@'localhost'")
The fix each time is the following, so here it is for me next time save me wasting time googling the error every time.
sudo mysql -u root
update user set plugin='mysql_native_password' where User='root';
And with that all is well again!
11 Jun 2020
Last night I decided to pull the trigger and upgrade from Ubuntu 19.10 (Eoan Ermine) to Ubuntu Focal Fossa 20.04
A fairly smooth upgrade all in all.
I did have to re-enable the .NET Core APT repository using the following command:
sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod
I also discovered a neat shortcut to move programs from one workspace to another:
I hope this will soon become muscle memory 💪 !
08 Jun 2020
Background What do you do when you have a website that you do not want Google or other search engines to index and therefore NOT display in search results? Robots! 🤖 In the past, you have simply been able to add a robots.txt file. This is a file that website owners could use to inform web crawlers and robots such as the Googlebot about whether you wanted your site indexed or not and if so...