Programming Mnemonics
Mnemonics – helping developers remember intrinsics since 1973.
A mnemonic
a system such as a pattern of letters, ideas, or associations which assists in remembering something.
Share files generated by Docker with Synology CloudSync
We needed to generate some files and share them with a third party. They preferred we put the files on our SharePoint since they already had access to it.
So we made a docker-compose that scheduled a CRON job to create the files in the shared folder.
The files were getting generated alright and other files were getting synced alright, but the generated files were not!?
JavaScript RegExp Tutorial
A cheat sheet for the regex syntax in JavaScript.
TL&DR
/^$/.test(''); // boolean
'ok'.replace(/(o)(k)/g, '$2$1');
// Other replacements:
// $$ (literal), $& (all), $` (before), $' (after), $<name>
const matchG = 'aaa'.match(/a/g);
matchG == ['a', 'a', 'a'];
const matchNoG = 'str'.match(/(st)r/);
matchNoG == Object.assign(['str', 'st'], {groups: undefined, index: 0, input: 'str'});
matchNoG == /(st)r/.exec('str');
The new Angular template syntax
Compared to other SPA frameworks, Angular really made it quite cumbersome to do simple things like an if/else to show/hide certain UI parts.
The new syntax is so much more succinct, it gets rid of excess html tags, is easier to remember and it doesn’t need to be added to the imports array of a standalone component.
Testing Internal Methods
Typically you want to write tests only for public methods. You want to avoid writing tests for private methods so that when you change the implementation, your tests remain green and you can do that ruthless refactoring without having to worry about introducing new bugs.
Database Auditing with EntityFramework and SQL Server
Keeping track of database changes in SQL Server with EntityFramework, let’s go over your options with sample implementations.
All code with some UnitTests can be found at the Github repository.
QA TechEvent: SQL Training
This month our QA TechEvent was “SQL Training”. Goal was to score most points by solving more and more complex SQL exercises against three datasets: countries of the world, teachers + departments (postgres) and the football worldcups (sql server).
Which country scored the most owngoals? Read on to find out!

Docker + Mongo: a guide
How to load some initial data after spinning up a mongo with Docker.
If you want to follow the examples:
git clone https://github.com/itenium-be/Docker-Mongo
cd Docker-Mongo
docker compose up -d --build
# After fiddling, force re-creating the mongos:
docker compose down -v
docker compose up -d --build
KISS and Decorators
I picked up a UserStory to make a small adjustment.
The story was simple enough as was the required change but… Looking at the code, how was it supposed to work? It looked like it just.. Shouldn’t…
Took some time but I found out, the behavior of the software was defined in the IOC registration, at startup, with Autofac.












