PowerShell - Reading Binary Data
Tue Jan 04 2022Programming
The first version is compatible with PowerShell 6: The second version is compatible with PowerShell 7: However for a version that works equally well between both, simply invoke the beautiful power of C# and do away with the hassle!
C# NuGet Package TableSpans.HtmlAgilityPack for HtmlAgilityPack to Collapse Rowspan and Colspan Into Unique Cells
Sat Aug 28 2021Programming
I have just released an extension called TableSpans.HtmlAgilityPack for HtmlAgilityPack to handle collapsing rowspan and colspan into unique cells to aid in parsing tables. If you try to parse a table that makes use of colspans or rowspans, you'll find the results of the parsing fail completely. This package rebuilds the individual cells duplicating the results across the missing cells. See the example image below: Example table found here: https://stackoverflow.com/questions/1669334…
Animated Fly Cursor for Cats
Tue Aug 17 2021Programming
Given that my cat loves to chase my mouse cursor as I work, for a bit of fun I thought I'd making an animated fly cursor using HTML/CSS/jQuery: I based this on the tutorial by Chris Coyier at CSS Tricks. Check out the original article here. Here it is in action 😆:
Creating a PowerShell Module in C# .NET Core
Thu Aug 12 2021Programming
Let's create a PowerShell Module in C# .NET Core with unit testing. Note: This demonstration uses the dotnet core CLI to initialise and set up the project before heading into Visual Studio. This is my personal preference but it might be advantageous to see the CLI in action. Follow along with the GitHub repository for this article here. Getting Started You may need to install the PowerShell template for .NET Core if you haven't already: Confirm the presence of the template: You should see one…
Blazor (Client Side) - FileNotFoundException: Could not locate application assembly at expected location
Fri May 10 2019ProgrammingWeb Development
Just a very quick one with Preview5. I encountered this gotcha whereby the project's name in the solution explorer doesn't match that of the folder name. I'd had a change of heart on the project name but of course the folder on disk doesn't change automatically. Once I'd renamed the folder and then proceeded to fix the path in the .sln file this error went away. tl;dr project folder name and project name in the solution explorer seemingly have to match up at present
GatsbyNetlifyReactTypeScriptTailwind CSS
© Copyright 2008-2022 Terry Butler