Skip to main content

Recently Updated Pages

.NET Process Boilerplate

.NET

Exploring standardized boilerplate for a variety of process types. Here's a known list of proces...

Updated 8 months ago by glwhite

Cancellation Token as Method Parameter

.NET

When writing a method that accepts a cancellation token, the method will need to deal with a pass...

Updated 8 months ago by glwhite

UFW and Docker

System Administration

When running containers in Docker, you will come across the need for a container to gain access t...

Updated 9 months ago by glwhite

Ubuntu Service Creation (Systemd)

System Administration

Below are instructions on how to setup a binary as a linux service. For additional systemd comma...

Updated 9 months ago by glwhite

SystemCtl Usage

System Administration

Below is a list of commonly used systemd commands. If you are needing to configure a binary as a...

Updated 9 months ago by glwhite

HowTo Install Windows 11 with Local Account

HowTo

https://www.tomshardware.com/how-to/install-windows-11-without-microsoft-account  

Updated 9 months ago by glwhite

Ubuntu: How to Kill DotNet Runtime

.NET

Sometimes, a a dotnet runtime closes without releasing a listening port. This will prevent it fr...

Updated 9 months ago by glwhite

Purging Many Records

SQL Server

If you come across the need to purge many records from a datatable, and doing so will result in a...

Updated 9 months ago by glwhite

Cancelling a Long Running Operation

SQL Server

If you accidentally execute a long-running operation that you want to cancel, and the SSMS client...

Updated 9 months ago by glwhite

Logging from FTView VBA

FactoryTalk

If you need to add diagnostic logging to the VBA of a FTView control or window, you can leverage ...

Updated 9 months ago by glwhite

RunDeck Backups

System Administration

Adapted from here: https://docs.rundeck.com/docs/administration/maintenance/backup.html We will ...

Updated 9 months ago by glwhite

Missing AspNetCore Nuget Packages

.NET

There are several aspects of an ASP Net Core web API that cannot be placed in a class library wit...

Updated 9 months ago by glwhite

WSL Setup

System Administration

In case it’s necessary to use Windows Subsystem for Linux, here’s a good tutorial on how to get i...

Updated 9 months ago by glwhite

Convert SSL PFX for NGINX Usage

System Administration

NGINX doesn’t natively use a pfx key file (pfx is what Windows IIS needs). So, it must be convert...

Updated 9 months ago by glwhite

Converting PEM to crt and key

System Administration

If you receive pem formatted certificate and key files from a CA registrar, you will need to conv...

Updated 9 months ago by glwhite

Generate SSL Cert

System Administration

Here’s some steps on how to generate and setup an SSL certificate for a web site. First, ord...

Updated 9 months ago by glwhite

PostgreSQL Bulk Insert

PostgreSQL

Here’s a means to insert multiple records in a single insert call, which is about 40 times faster...

Updated 9 months ago by glwhite

PostgreSQL DotNet DataType Mapping

.NET

Here’s a list of .NET datatypes, and how best to store each one. .NET Datatype Post...

Updated 9 months ago by glwhite

Postgres Setup

PostgreSQL

Remote Access For accessing the postgres database from outside the host or from a docker contain...

Updated 9 months ago by glwhite

Validating AD Machine Account

System Administration Windows

Here's a couple ways to validate the machine account of a PC in an Active Directory domain: dsre...

Updated 10 months ago by glwhite