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…
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…
How to Add Chapters to a Video using FFMPEG - Part Two - C# Script
Thu Aug 05 2021Uncategorized
This is the second post in the series involving the creation of chapters using FFMPEG. Part 1 - How to Add Chapters to a Video using FFMPEG - Part One - The Basics Part 2 - How to Add Chapters to a Video using FFMPEG - Part Two - C# Script Here's some example code of how to create FFMPEG chapter metadata using C# .NET Core 5.0:
Blazor (client-side) application - CI/CD - Deploy from GitLab to Netlify
Wed May 01 2019ProgrammingWeb Development
Using GitLab to host both the source control and perform CI/CD, we will take a blazor project and build it and then proceed to deploy it on Netlify. This article presumes that you have some familiarity with the following: GitLab for source control (See here) GitLab for CI/CD (See here) Netlify CLI for deployment (See here) 1. Using the current SDK 3.0.100-preview4-011223 (See here), create a new blazor (client-side) project called 'testproj': Now create a file called .gitlab-ci.yml and add it to…
Entity Framework - Debugging a Seed method from the Package Manager Console
Fri Feb 08 2019ProgrammingWeb Development
On the odd occasion you wish to debug Seed method code which has been executed from the Package Manager Console using the Update-Database command, a quick and dirty method is to add the following code: Yes it's dirty! It will however fire up a new Visual Studio debug window and allow you to see what's going on inside. This method will also work for any code that happens to sit outside of a normal debugging scenario.
GatsbyNetlifyReactTypeScriptTailwind CSS
© Copyright 2008-2021 Terry Butler