Author Archive

fciv.py – Python Module for Microsoft FCIV

April 5th, 2020

fciv.py is a Python module that I implemented to generate file integrity data in a format used by Microsoft File Checksum Integrity Verifier. My use case involves copying files from a Linux workstation to a Microsoft Windows workstation. I wanted to generate integrity data on Linux using Python 3 and verify file integrity on Microsoft […]

Let the (Casino) Chips Fall Where They May

March 25th, 2020

It has been more than 10 years since the Great Recession.

TypeScript: readonly vs. const

March 10th, 2020
Posted in TypeScript | No Comments

From The TypeScript Handbook: The easiest way to remember whether to use readonly or const is to ask whether your using it on a variable or a property. Variables use const whereas properties use readonly.

Backup Procedure Using WSL

February 1st, 2020

Using Microsoft Windows Subsystem for Linux (WSL) to gain access to Linux command line tools within Microsoft Windows 10, I was able to create a consistent backup procedure that can be performed in Windows and Linux environments. I used SyncToy and File Checksum Integrity Verifier (FCIV) to perform backups before adopting this standard approach. Except […]

C#: Using Declaration

January 7th, 2020
Posted in C# | No Comments

Introduced in C# 8.0, the using-declaration language enhancement eliminates nested using-statements. The following code: using System.IO; class Program { static void Main(string[] args) { var filename = “hello.txt”; using (var stream = new FileStream(filename, FileMode.Create)) { using (var writer = new StreamWriter(stream)) { writer.WriteLine(“Hello, World!”); } } } } is improved with using declarations to […]