Skip Navigation

Posts

Code Style Checking in dotnet

When working on larger projects with lots of contributors, you want to make sure everyone is playing by the same rules. One of these aspects are code formatting. There is nothing more annoying than having a pull request which basically changed one line of code, but the whole file appears changed because the IDE formatted the code on the way out and rearrange all the pieces around.In this article, I would like to share my code style setup for dotnet as well as my experience with this and previous solutions. If you’re interested in the tutorial on how to set … Read more

CarPi

It has been almost a year since I’ve written about CarPi. Partially because I keep forgetting to invest time into writing down everything, partially because I’m busy with a lot of other projects. But with this post, I want to write down what the state of CarPi is, what works and what doesn’t work. Read more

Signing your Git commits with GPG keys

Update 2023-04-04: Since writing this article, I’ve moved development to a MacBook and so I’ve found a few things I’d like to amend, mostly in regards to PIN entry. See below for more information.If you’ve been working with Git professionally or just as a hobbyist, you might have come across signed Git commits. Essentially, you cryptographically proof that you were the one who authored and/or committed the changes. Public platforms, like GitHub, GitLab, etc. will mark your commits with a green checkmark. In case you are interested in how to do this, here is a short little cheat sheet that … Read more

The German Highway System

Prompted by a video by the YouTube creator CGPGrey about theUS highway system, mainly centered around its numbering scheme,I was inspired to begin working on a similar project centered around Highwaysystems from other countries, starting with the countries I am most familiarwith, first being Germany. My plan is to eventually create an animated videopresenting this in a graphically more interesting way. Read more

Architecture of CarPi

In this post I would like to outline the architecture of CarPi. Read more

CarPi: (Re-)Introduction

When I got my first car, I was always interested in its fuel consumption.Unfortunately, my car did not come with a fuel consumption display so all I hadat first was an Excel sheet where I entered the amount of petrol I last got,the odometer or tripmeter value and the cost per kilometer. And it was alrightat first. When I learned that virtually all cars have a diagnostic port forreading out various stats, including all the required parameters to read outyour current fuel consumption, I was hooked and started reading into how thisworks and how I could leverage that to build … Read more

Setup Serilog in an ASP.NET 6 API

In this short article, I’ll describe how you can setup Serilog in a new .NET 6 Web API application.The documentation on Serilog’s part seems lacking to me at the moment. We’re also going to useSerilog.Settings.Configuration so we can configure Serilog via our appsettings.json. Read more