Modify a config file in Erlang Modifying an Erlang config file at runtime wasn't as easy (or obvious) as I'd thought it'd be. So I wrote a script to hopefully make it easier.
Using an application config file with a .NET Standard app and NUnit 3 Porting .NET Framework code to .NET Standard has been a learning experience, with some challenges too. This time I had a .NET Standard library that expected an application config file, but loading one from an NUnit test suite proved to be more difficult than it sounded at first.
Using a constant as a DateTime format inside string interpolation I was upgrading some code to use string interpolation, a feature introduced in C# 6, when I ran into a small snag with DateTimes and a format string stored as a constant.
Using Attributes in C# Ever thought it'd be convenient to attach metadata to your code at design time, then read it at runtime? Attributes let you do just that - to methods, classes, tests, enumerations, and more. Use reflection to read them at runtime and take some action. Here's a few examples for the uninitiated...
Keep your EUnit teardown logic as simple as possible! Ever had an EUnit test fixture fail with meck reporting it was "already_started"? Well I did, and here's why...
Calculate Easter and other holidays in Erlang I wrote a small library for calculating Easter and other holidays in Erlang. Here's how I did it and what I learned.
A look at the many ways APIs can authorize access After writing about so many APIs and having to figure out the auth process for each, I wanted to compare and contrast how some of these services approach authentication and authorization, and why they might've decided to do it the way they did.