When evaluating a model for a binary dependent variable, for instance logistic regression there is always going to be a trade off between Sensitivity and Specificity.Sensitivity is the proportion of…
Creating Azure SQL logins and database users is fairly simple.First create the login on the server:CREATE LOGIN login_name WITH PASSWORD = 'strong_password';Then create the user on the database and…
Any asp dotnet developer who has had to pass security or OWASP top 10 audits knows that probably the most annoying thing about dotnet is that IIS, and now Azure app service, ass in custom headers…
public class XEnumNamesSchemaFilter : ISchemaFilter { public void Apply(OpenApiSchema schema, SchemaFilterContext context) { var type = context.Type; if…
Using font awesome it is incredibly easy to create a spinner to alert users that something is happening.There are a number of spinner iconswhich are easy to animate using fa-spin<div class="fa-3x"> …
We had a requirement to export our git log for accounting purposes.Who knew it was super easy.git log -p --all > git_log.txt…
I am developing an asp.net core application comprised of 4 microservices.Every day at about 3pm my machine gets a little slow.I thought it may be antivirus or something but checked and nothing was…
Often I will need to restart the Azure App Services that I use for development and testing.Using the portal web interface can be tedious.A much easier was is to use powershell or the shell to loop…
Today we noticed something strange happen with our dotnet core web apps. They started to throw an error when we ran them on the commandline "System.InvalidOperationException: Unable to configure HTTPS endpoint"…
Recently we heard about Shopify Marketer Dan Desilva getting sued because he had stolen images from someone else on the internet (I'm not going to give him the satisfaction of linking to him but you…