Category Archives: Software

Information related to software

Linux locate, which and find Commands

February 28, 2023

All three commands allow the user to find files on their system. Each has different strength. locate Command The locate command (man page) is very fast since it builds a database for file searches and doesn’t have to walk all the directory trees every time. It does require an occasional maintenance update command but it is not a… Read More »

Ubuntu Cheatsheet

February 28, 2023

Official Linux Documentation Linux commands and an enormous amount of information on the operation system can be found at a Linux Documentation site. This also includes the ebook Dive Into Python and other material. For my desktop, the Ubuntu distro has its own help. Upgrade system packages with “apt” “apt” is primarily designed for user interaction on the… Read More »

WorldTimeAPI

March 13, 2023

As the website says – WorldTimeAPI is a simple web service which returns the current local time for a given timezone as either plain-text or JSON. This is a great site to get the current time/date in order to keep your IoT clock accurate. It is not intended to be used for commercial applications. The API can go… Read More »

Quickly Create JSON Serialization Classes

February 8, 2023

If you have a non-trivial JSON object, it can be time consuming to create classes the can be used for serialization/deserialization. This web site can help you out no matter what type of language you want to work with. Procedure The resulting classes are regenerated automatically if you modify any settings or change the JSON file. Copy the… Read More »

Move Uncommitted Work to New Git Branch

February 7, 2023

Maybe it’s just me, but I frequently PR my git branch to dev then forget that the git squash removed my old branch and the code I have been working on since the PR needs a new branch. Fortunately, it is easy to create a new branch and move your work to a legitimate branch. Obviously this is… Read More »

PowerShell: Aliases

January 27, 2023

PowerShell defines short forms forms for the long hyphen separated commands it provides. You can see the current aliases for you system by entering: Below is the result for a typical system. I am only providing the “Name” column. Also, I massaged the output so the columns would line up and be easier to read.

PowerShell: Environment Variables

January 27, 2023

We can get a single variable. Or get all of them at once. However, since each environment variable result is truncated to a single line, you will not be able to see all of certain ones – like Path. Use below to wrap all the values to multiple lines. Set Environment Variables To set an environment variable for… Read More »

Pass Command Line Parameters to Inno Setup

August 31, 2023

Inno Setup is a great software installer creator. I use it with Visual Studio as a post-build step to package my software. This software is available as a NuGet package – Tools.InnoSetup.  Unfortunately some capabilities are not as clear as they should be. I needed to set the file path for an assembly that should be included in the… Read More »

What Version of .NET is Installed?

February 28, 2023

In order to determine which version(s) of the .NET framework and SDKs installed, use the dotnet command. Remember that this will not display .NET Framework information. SDK Versions Runtime Versions Standard Installation Folders It is possible that .NET is installed but not added to the PATH variable for your operating system or user profile. Here are standard folders… Read More »