Skip to content

Index

ConnectX-3 Set Port Mode to ETH/IB

I just swapped my TrueNAS from a Dell R720XD over to a Dell r730XD. During this migration, I moved over my NVMe drives, NICs, and everything else relevant.

However, after firing up TrueNAS on the new hardware, I noticed my 40G NIC was not listed in the list of devices!

After once again googling how to change the mode over, I figured I would just quickly write some documentation incase this happens again in the future.

Home Assistant - Is Working Sensor

Creating simple sensors to determine if we are "at work". Includes setting up a work_days sensor, time of day sensor, and a template sensor to tie everything togather.

As well, includes steps for handling vacation / OoO days, and holidays.

Home Solar Project - Introduction

One of my projects I have been working on over the last two years, is adding solar panels to my house to offset some/most of my electrical usage.

Here are the goals I wish to accomplish, and how I plan on accomplishing them:

C# - Get Display Attribute Value from Enum

Every now and then, I have a use case where decorating an Enum’s values with Attributes comes in handy. Things such as… Adding Display Names, Descriptions, etc.

Well, every time I have this use-case, I have to go google how I did it the previous time… and in most cases, StackOverflow is less then helpful. Then, I remember a few personal projects where I previously did this, and I find the code and reuse it.

TFS / Azure Devops - Semantic Versioning

I publish nuget packages. Alot of nuget packages.

I don’t have time to maintain nuget package versioning, so, I automatically generate versions based on the date and build number, like so: 2022.07.14.1

As well, I need support for alpha/beta/etc.

So, 2022.07.14.1-alpha.

Here is my method of doing it-