I downloaded the PC Health Check application to make sure my new machine could run Windows 11. My confidence was high, as the specs of my machine were pretty good:

However, when I ran the tool, to my surprise, I got an error telling me

  • Aprox 400g chicken thigh fillets
  • 2tbsp peanut butter (proper stuff — 100% peanuts)
  • 1tbsp dark soy sauce
  • 1tsp honey
  • Splash of boiling water (to help melt the peanut butter / make a ‘creamy’ sauce)
  • 2 spring onions
  • 2 cloves garlic
  • Handful of spinach (or pak choi)

Mix the peanut butter…

Dalgona coffee is made by whipping equal proportions of instant coffee powder, sugar, and hot water until it becomes frothy and then adding it to cold or hot milk.

It’s surprisingly easy to make.

Serves 2
2tbsp instant coffee (I used Nescafe Azera Americano)
2tbsp Sugar (I used golden caster sugar)
2tbsp very hot water

Add all 3 ingredients to a bowl, and use an electric whisk for about 30 seconds until frothy, or as bakers would say “holds stiff peaks”
Plop on top of milk (I used oat milk)


Important: If taking a pic “for the gram” be sure to use a mason jar, or something equally hipster.

If you wanted to get fancy, you could top it with more coffee powder, cocoa, crumbled biscuits, or honey, or if day ends in a ‘y’, a shot of coffee liqueur.

While working on a project that used NSwag, when the solution was built, Visual Studio (and dotnet build from the command line) reported the following error

Pretty frustrating, as it wasn’t clear what the error meant.
This project used NSwag.MSBuild to generate the client on build.

As per their documentation, we had an after build target:

<Exec Command=”$(NSwagExe_Core22) aspnetcore2openapi /project:$(ProjectDir)\..\$(ApiProjName)\$(ApiProjName).csproj /output:swagger.json “ />

The problem here was that it wasn’t taking in to account that my directory had a space in it:

Changing the target to add quotes around the path fixed the issue:
This is done by using as seen below:

<Exec Command=”$(NSwagExe_Core22) aspnetcore2openapi /project:&quot;$(ProjectDir)/../$(ApiProjName)/$(ApiProjName).csproj&quot; /output:swagger.json -no-build” />

I’m currently doing some work looking at the GeoNames dataset.
is around 1.5gb, which is pretty large, and certainly too large to open up in vscode for a quick look.

However, I found I could use command, which reads the first n lines of a file, and pipe the output to (which is the command for opening vs code and reading the output from another program)

For example:

$ head -3 allCountries.txt | code -

This opens the first 3 lines of in vs code. Handy!

Alex Brown

Freelance / contract .net developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store