Welcome to my blog. Here you will find a collection of articles that I
have written over the years. I hope you find them helpful and
informative. The are sorted by date, but not filtered or paginated. If
you want to search, use your browser's search function.
A step-by-step guide to building a Two-Factor Authentication (2FA) form in React using SMS for verification, highlighting the use of react-hook-form and the autoComplete="one-time-code" attribute.
Learn how to use Sentry's `beforeSend` configuration to filter out non-actionable "Failed to fetch" errors caused by adblockers in your web applications.
A blog post on how to secure your Firebase Firestore with basic security rules. We will allow read access to public data and read+write access to user-specific data.
This blog post will guide you through the process of setting up Cloudflare Workers as a proxy for Firebase authentication, allowing any user to authenticate with the `signInWithRedirect` function. Without this, cross-domain cookie settings will prevent Safari and other browsers from signing in.
In this post, I will be analyzing a poorly-optimized React function component that renders a list of items. I will be using the React performance profiler to identify the performance issues in the component, and then I will show you how to optimize the component to improve its performance. By the end of this post, you should have a better understanding of how to optimize the performance of your React components.
Sometimes you might want to debug problems or behavior of your produdction build locally. To do so, you have to somehow serve it. This post explains how!
This post describes how to fix a tailwind error, where using @apply directives would cause "resolve-url-loader: error processing CSS, invalid mapping" errors during your build.
This post explains how to fix the PGP signature verification on AUR packages. If the key of a signed PKGBUILD is not present in your public key ring, you will otherwise see "ERROR: One or more PGP signatures could not be verified"
WordPress in Docker can cause quite some headache. Especially the reverse proxy, which we need to pass through traffic from host to container. I struggled with a "Too Many Redirects" error, which can come from some different sources.
As some may struggle to get their bluetooth connections up and running under Arch Linux (and I have to google this each time I install as well) I decided to write a post on it. Hope you benefit from it!
portion of code to your .zshrc to enable autocompletion. This, in turn, slows the startup of your shell quite a lot.
But we can easily fix this slow zsh startup! Instead of always loading your nvm autocompletion, we can command oh-my-zsh to just load nvm ressources on-demand, also known as lazy-loading.
Backups with Time Machine, Nextcloud, iSCSI storage - all is stored on my TrueNAS VM. It's running in proxmox with raid controller passthrough. As my proxmox machine just crashed due to faulty ram / ECC errors two days ago, I thought that I might be better off with an offsite backup for all these important storage pools.
Thats where I discovered TrueNAS' capability of running Cloud Sync Tasks, which periodically run a TrueNAS backup to cloud providers you choose.