vknabel
Valentin Knabel
Developer, cyclist, coffee nerd, human. Open Source, kindness, honesty, vegan. It is fine to be imperfect, as long as we are honest and have fun along the way.
Top Words
- swift
- code
- hugo
- swiftui
- async
- simple
- reminder
- manager
- debugging
- vapor
- angular
- language
All posts (109)
I have been playing around with minikube for quite some time now. Though as I run minikube on my Mac, I experienced multiple bugs regarding accessing the cluster and it’s published ports. From my perspective Kind works much better, is faster, more stable on macOS and allows the creation of multiple clusters. Though...
I gave the newest tool of Charm Gum a try. It allows to create interactive bash scripts in just a few lines of code. In my case I gave it a try for Kubernetes. I often want to look at the logs of a pod, but the exact k8s pod differs from time to time. And sometimes I forget the exact namespace or the pod’s name...
Go 1.19 introduced a new option to customize the runtime Garbage Collection behavior: Memory Limit. This might be interesting when embedding Go within a mobile application. Go Time – Episode #240: What’s new in Go 1.19
Two years ago, I created Puffery for iOS, which allows sending push notifications to your iOS devices. You can follow other’s channels and directly receive updates. There is no algorithm that decides wether you should receive notifications or not. From the beginning scripting is part of puffery’s DNA: you were able...
When using tailwind, you might be forced to manually write SCSS by hand. With @apply some classes; you can embed whole classes with all their styles into your own rules. But sometimes you need to only acces one single constant. Like accessing an animation timeout, default paddings, fonts or a color for some cases....
Unlinke many other static site generators, the syntax highlighting of Hugo does not use client-side JavaScript, which is great! The underlying library is available as Go module github.com/alecthomas/chroma.
You can override internal Hugo templates with your own templates. Simply create it in the layouts folder and you are done! That’s how I overrode _internal/google_analytics_async.html with my own template - to not use GA! That way I could avoid forking athul’s archie template.
In Hugo you can simply create a folder within content/ and a template within layouts/_default/. It will be used for the index route of that folder - even if your template did not specify a layout. This allowed me to create a separate template for all my learnings / til section!
If you need assets for a specific document or blog post, you can simply create a folder with your desired name and place your assets in there. Rename the markdown file to index.md. To reference the asset, just link it relative to the folder [text](./my-file.ext).
I created a GitHub workflow to automatically build and deploy my website to GitHub Pages. It uses peaceiris/actions-hugo@v2 to build the website with Hugo and peaceiris/actions-gh-pages@v3 to deploy it to GitHub Pages.
Once you have decided you want to create your own programming language, you need to create a broader concept. Every programming language is unique in its own way. Your goal is to find out in which way. And you need to find your reason why you want to create it in the first place. Do you want to solve a particular...
This is planned to be a series of blog posts about designing and developing my own programming language, where I want to share some pitfalls, my learnings, design decisions, experience and the development process. While this series will not teach you how to write your first own programming language on its own, it...
Page 4 of 10