Custom Corporate Holidays with holidays package

I am currently working on a newish personal project. My plan is to create a Python version of a Google Script app that I am running. I wanted to find a way to determine if a given date is a national holiday. This requires taking into account that National Holidays that fall on a Sunday are moved to the following Monday or to Tuesday if Monday is already a National Holiday. I also needed to support adding Company holidays. This is important as it impacts some calculations. Enter the Python package: holidays

[Read More]

A barebones C++ library template using CMake and Google Test

Objective

This is a BAREBONES C++ template with Google Test support using CMake. It is setup to allow for the building of a static library using TDD principles; but could be adapted for building a small program. This is in no way the ideal solution.

This template was created to allow for programming under Mac OS. But the files should work under other systems.

[Read More]

Rust: Add an Example Program to your Library Crate

Recently I decided that I might actually publish my little rust crate. To that end I started looking into some of the things that are needed and what can be done. I have published a perl module in the past. And as a rule for myself, I like to provide an example program that uses a module or library. That is what I will look at today.

[Read More]
rust  crate  lib