Sometimes you may want to commit only the files you have changed and not any newly created files,
this can easily be achieved by this command: git commit -a
Post Mortems
Learning from incidents
Incidents happen, and we can and should always learn from them, to be better prepared for the next time things go wrong.
A great tool to do that is the post-mortem, it is a process designed to recap the incident, learn from mistakes and improve the system as a result.
Basic principles There are some basic principles that can help achieve a good post-mortem process. They are only guidelines and I recommend adapting them to what works best in your organization.
[Read More]
GitLab: User owned projects report
Export a CSV formatted report of projects in user-namespace on a GitLab instance.
This is especially useful if you think about limiting or disabling this feature.
[Read More]Monoliths & Microservices
An opinionated overview
Ever since diving into the software development world I was troubled by a duality:
On the one hand I have built and operated many services described as monolithic with relative ease, on the other hand I’m always told I, and others, should build microservices because they are better in a variety of ways.
With this post I’m going to compare both software architectures by looking at the key benefits often associated with microservices and additional considerations I think are important.
[Read More]
Simple git changelog
A simple changelog system on top of git commit messages.
The main idea is to generate “release notes” from a diff in commits before a release. It can easily be run manually or as part of a merge/pull CI pipeline.
In this case it looks for commit messages starting with one of these [ADD], [REMOVE], [INFO] and just outputs those, but those patters can be adjusted to fit any existing commit schema.
[Read More]
The WSL Onion
Calling powershell.exe from PowerShell inside WSL
The other day I was playing around in WSL with a colleague of mine and we did this:
[Read More]Windows Subsystem For Linux 2: Debian+Podman
The problem: Docker itself can’t be run in WSL2 as it requires the docker daemon, usually run though systemd.
The solution: Podman works just fine and can easily be installed, although we will need to configure some things to make it work properly.
[Read More]Going Part Time
(Re)starting my indie journey
Starting on the first of March 2022 I no longer work full-time in my day job.
That sentence has been about a year in the making and makes me both happy and a bit scared about the future.
I have been doing some side-hustle and projects since I’ve been 16 building websites with my dad, so you could say it has been a long time coming.
Right now I have set myself three mid-term goals to build up something that brings me joy and financial independence.
[Read More]
Simple HTTP Status Monitor Using Curl
yamllint: Ignore exisiting errors
When adding yamllint to an existing project it can be hard to fix all the errors at once.
I wrote a simple script to create a rules block that simply ignores all rules that currently trigger for a file. This works by generating a rules block ignoring paths.
[Read More]