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
This PC can't run Windows…
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.
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.
Yesterday, I tried to publish an app to Azure App Service from Visual Studio 2019 (right-click -> publish) (I know, I know… but I just wanted to try this feature out!)
I had already set up my Linux App Service Plan (size B1)
On clicking publish, and selecting “use existing”…
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:"$(ProjectDir)/../$(ApiProjName)/$(ApiProjName).csproj" /output:swagger.json -no-build” />
One of my clients is still using the legacy free version of GSuite legacy free edition
Prior to December 6, 2012, Google offered a free edition of G Suite-also known as the legacy free edition-that had a reduced set of business features. …
I’m currently doing some work looking at the GeoNames dataset.
allCountries.txt 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
code - (which is the command for opening vs code and reading the output from another program)
$ head -3 allCountries.txt | code -
This opens the first 3 lines of
allCountries.txt in vs code. Handy!
Medium has to be one of the most disjointed platforms I’ve ever used.
Their import tool recently stopped working, inexplicably, simply throwing this error, with no further explanation:
Without the import tool, it’s impossible to set a canonical link back to the original source of the content (which should definitely…
One of my clients came to me with a relatively simple requirement; they needed to take online payments for their fitness event photography business.
The model is quite simple:
I’ve used Mediatr for some time, to reduce controller action bloat, and have spoken about it a few times, on how I use it to avoid the classic `xService` pattern:
Controller Action -> ‘Service’ -> Repo
Lately, I’ve been doing a lot of work with Azure Functions, and would like…