Some times we might be working in a team, and that team has members who prefer
to use different IDEs or who develop on different platforms. In these cases we
can leverage CMake’s generators.
This is a short guide on using a generator for Xcode and adding a second
test file to break up testing.
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]Decon-Spf Version 0.2.1 Released
I am happy to announce that I have released decon-spf version 0.2.1 This release contains a number of improvements and a new feature.
[Read More]Install & Configure Certbot
Docker & Let's Encrypt
I have been playing with a few things of late. Mostly related to moving my site off GitHub and using my own domain. As part of that I am just toying with Let’s Encrypt.
I have been doing this during my trial period with Linode.
Today I will document how I set up Let’s Encrypt using DNS as the preferred Challenge.
Published My First Crate: decon-spf
Today I published my first rust crate.
[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: Lazy Static Regex
Passing Regex around, helping the compiler keep things optimised.
Hi,
Today I will finally go over how I used the lazy_static crate to help the compiler keep regex optimised.
[Read More]Swift: Deconstruct SPF
Learning Swift: Documenting a Package
Hi,
I have been working on this project on and off for a bit now. So I thought it was time to go over how we might be able to not only internally document our code, but also to document it at the package level.
[Read More]Swift: Deconstruct SPF: asMechanism with Qualifier
Hi,
In this article, I will walk through how I re-implemented the enum
for Qualifier
and MechanismKind
. I will also deliver a working asMechanism()
function. The diff is here
Swift: Deconstruct SPF - Qualifier and MechanismKind
Learning Swift: Enum
In this article I will be looking at defining the enums for Qualifier
and MechanismKind
. I will also be adding tests to ensure that the functions work as expected. Further I will implement a simple asMechanism()
as a proof of concept.