CI/CD for Hugo with GitHub Actions
I’ve been moving this site to hugo quite a while ago, but only recently stumbled across the idea to create a workflow on GitHub Actions to build a hugo site straight after each push. Contrary to many other articles however, I didn’t have the option to publish the page to GitHub Pages or similar, simply because the project still is under heavy construction. So, I had the following requirements: Start workflow after each push, but also enable manual triggering for testing purposes Build the site, considering it requires additional dependencies due to relying on Googles Docsy-Theme Bonus: Use a tool to verify the integrity of all the internal links and images to verify correct paths Let’s keep it simple: I started with a regular setup of the repo on an up-to-date Ubuntu container:...
Remote Debugging ASP.NET Core with Ngrok
Sometimes it can be helpful to test your apps not only on a local machine, but also using other devices within or outside, your network. In my current example, I use an ASP.NET Core web application that contains an API that I can in turn access via an Android app. I debug the Android app on a physical device that is on the same network as the ASP.NET Core application....
Password-Synchronization with Syncthing
If you are reading this, chances are you already use a password manager. I have been doing that for several years now. But I have to admit that my password manager has only run on my phone so far and I have always transferred passwords that I use on my PC by hand. Probably out of sheer laziness. Today, I use this blog post to finally synchronise my password database between any number of devices - and to show you how to do it....
Building a CrossFit Workout-App with Node.JS and Vue
If you follow my blog a bit more closely, you might know that my most time-consuming hobby is triathlon. Strength training in the gym or at home is and remains part of it, but is more a means to an end. Then in October 2020 I had my first experience with CrossFit - (very) short, very intense workouts without too much equipment, leaving you with a feeling like the one you have after finishing a very hard interval session on the running track - I was immediately captivated....
Resolve Open Generics with ASP.NET Cores DI-Container
ASP .NET Core already has quite a decent di-container built in. However, there are some quirks you might need to be aware of. In one of my applications, I’ve been using a factory pattern to register my views by using open generics. To be more clear about that: I have an Interface IView<TView>, and I want to register all of this interfaces implementations. As I found out, Microsofts DI-Container currently doesn’t support that by default (text me if I’m wrong!...