As with most folks, my git repos started with a default value of ‘master’ and I wanted to change them to ‘main’ instead. This would work for any other preferred default branch name. This change was inspired mainly by this blog post by Scott Hanselman and the discussion that surrounded... [Read More]
Switching from JSZip to unzipit
From easy to easier...
Adding Chart Labels with Chart JS to Bar Charts and Stacked Bar Charts
A real life example
I’ll preface this by saying that you probably should just use the the official data label plugin from chartjs. You can find that here. I didn’t want to add another dependency for charting, however, so I decided to just roll my own setup. Here are two ways I did this.... [Read More]
Extract data from Excel Spreadsheet using PowerShell
Why? Well... because we can!!!
I have a dashboard app that visualizes data pulled from a number of difference places. One source that I have avoided (up until now) is excel. However, I finally did receive a request to extract some information from ‘a finance spreadsheet’ and put it out there. So off I went.... [Read More]
Add a work-item to devops with storypoints from CLI
CLI, CLI, CLI
TLDR; az boards work-item create --type "user story" --title "some title" --project "project name" --fields "Microsoft.VSTS.Scheduling.StoryPoints=1" That’s the command. =) [Read More]
Migrate users from ASP.NET Forms-based Auth to ASP.NET Core Identity
How old is this app again?
Do you have a very old ASP forms based app? Do you want to run dotnet new webapp and migrate your pages, but you don’t know how you’ll simply move the users over to the new world? Well, let me give you a solution if you are moving over to... [Read More]
Uploading data to o365/spo with Powershell
...finally figured it out
I have a static website that I host on o365 for some internal use. I upload some data that is rendered via js at some scheduled times. This works today but I wanted to deploy code via script, so I took another look at how I was doing things to... [Read More]
Batch decode user agent strings
mozilla who/what now??
Recently I downloaded some web logs for an app I have running. This app is pretty old and hasn’t been changed in quite some time, but it was tweaked a year or so ago in order to get it running as an azure app service. We’re looking to freshen it... [Read More]
Download Azure WebApp / AppService Logs via CLI
I better write this down...
This seems pretty easy, but just in case you have multiple subscriptions and multiple apps on a single app service, this seemed to be the easiest way to get the logs using the way I wanted to get them. This also covers some very minor things that I always forget... [Read More]
migrating git repositories from one azure devops org to another
so easy, even i can do it!
I have a lot of projects in azure devops. I started with a handful, but I started by storing each of the customer integrations and other semi-related things into their own projects. Why? Well, largely it is only me generating and maintaining all of this code. However it has recently... [Read More]