How to manually force reconciliation of Argo CD ApplicationSet
To immediately trigger a manual refresh and force reconciliation of an Argo CD ApplicationSet, we can apply a specific refresh annotation directly to the ApplicationSet resource. For example, the following command force reconcile the awesome-appset immediately: âžś kubectl annotate applicationset awesome-appset -n argocd \ argocd.argoproj.io/application-set-refresh=true --overwrite Sample output: applicationset.argoproj.io/dokuwiki-appset annotated What This Does Behind the Scenes Bypasses Caches: Applying argocd.argoproj.io/application-set-refresh: "true" tells the ApplicationSet controller to immediately reconcile and completely bypass the repo-server revision cache for Git generators. [1] (https://github.com/argoproj/argo-cd/issues/27798) Forces Re-evaluation: The controller will instantly re-evaluate all template generators to create, update, or remove the underlying Application resources as necessary
Enable Dark Mode on Firefox for dwm
It’s 2026 and I still run dwm on my laptop. I think at some point I’ll need to switch to another minimal tiling window manager running on Wayland. Anyway, I want to share an easy way to enable dark mode on Firefox running on dwm without installing any additional plugins by using the about:config method. Type about:config in the address bar Search for ui.systemUsesDarkTheme, and set it to 1 Reference: https://major.io/p/enable-dark-mode-in-firefox/
Print Only Text Following a Match
I have the following text in a file called n8n-deployment: ... image: busybox:1.36 image: docker.io/n8nio/n8n:2.13.4 imagePullPolicy: IfNotPresent ... And I want to use Regex search and match the version of n8n, in this case 2.13.4 should be output. Here’s how this can be done using Ripgrep (rg) command. ➜ rg -N -o -P 'image.*n8n:\K.*$' n8n-deployment.yaml 2.13.4 Another way to do this is: ➜ rg -oN 'image.*n8n:(.*)' -r '$1' n8n-deployment.yaml 2.13.4 Or, with grep: ➜ grep -o -P 'image.*n8n:\K.*$' n8n-deployment.yaml 2.13.4 Explanation of flags: ...
Resolving Podman Error: Current System Boot ID Differs From Cached Boot ID
Recently, I noticed that whenever my server, banan, was rebooted, containers running under the git user did not automatically start. ❯ podman --version podman version 5.6.0 ❯ cat /etc/os-release NAME="AlmaLinux" VERSION="9.7 (Moss Jungle Cat)" ID="almalinux" ID_LIKE="rhel centos fedora" VERSION_ID="9.7" PLATFORM_ID="platform:el9" PRETTY_NAME="AlmaLinux 9.7 (Moss Jungle Cat)" ANSI_COLOR="0;34" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos" HOME_URL="https://almalinux.org/" DOCUMENTATION_URL="https://wiki.almalinux.org/" BUG_REPORT_URL="https://bugs.almalinux.org/" ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9" ALMALINUX_MANTISBT_PROJECT_VERSION="9.7" REDHAT_SUPPORT_PRODUCT="AlmaLinux" REDHAT_SUPPORT_PRODUCT_VERSION="9.7" SUPPORT_END=2032-06-01 Let’s investigate and fix this issue. After switching to the git user, I encountered the following error when trying to list the running containers: ...
How to undo a pushed commit
Oops… I just accidentally pushed a git commit containing code with a secret in plain text to a remote repo! Though it’s a private repository, I want to clean this mess up for security best practice. So, let’s fix it! Here are the last two commits. The secret resides in one of the files from the “add argocd infra to git” commit. $ git log -2 commit fe7b0510edc4fb160a16421352ba598e3f62703e (HEAD -> main, origin/main, origin/HEAD) Author: kenno <kenno@example.com> Date: Sat Dec 20 00:59:36 2025 +1100 add argocd infra to git commit c5a75ae14cf3528db1fea7677e2bdb54167037cd Author: kenno <kenno@example.com> Date: Thu Dec 18 14:38:17 2025 +1100 add basic auth middleware to longhorn httproute Since the commit had already been pushed to a remote repository, simply “undoing” the commit locally is not enough; it is required to overwrite the remote history. ...