<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>JEROENDEV</title>
    <link>https://jeroendev.one/</link>
    <description>Recent content on JEROENDEV</description>
    <generator>Hugo 0.125.1</generator>
    <language>en</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Fri, 04 Oct 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jeroendev.one/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Apache: Disable HTTP/2 per domain base</title>
      <link>https://jeroendev.one/posts/apache-disable-http/2-per-domain-base/</link>
      <pubDate>Fri, 04 Oct 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/apache-disable-http/2-per-domain-base/</guid>
      <description>Disabling through .htaccess Append the following to your HTTP conf for the specific Virtualhost you want to disable HTTP/2 for:&#xA;Protocols http/1.1 </description>
    </item>
    <item>
      <title>Docker Compose: Auto update containers using only Bash</title>
      <link>https://jeroendev.one/posts/docker-compose-auto-update-containers-using-only-bash/</link>
      <pubDate>Sat, 06 Apr 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/docker-compose-auto-update-containers-using-only-bash/</guid>
      <description>Setting up the structure If you&amp;rsquo;re using Docker compose for having a declarative way to run your containers you might have found out that updating it requires some manual work. In this example we automate it using the following structure:&#xA;Folder: /opt/docker-compose Container folders: /opt/docker-compose/&amp;laquo;container&amp;raquo; Below is an example of my structure:&#xA;[root] docker-compose# ls -ld /opt/docker-compose/* -rw-r--r-- 1 root root 0 Sep 11 2023 /opt/docker-compose/README.md drwxr-xr-x 2 root root 4096 Sep 13 2023 /opt/docker-compose/bazarr drwxr-xr-x 2 root root 4096 Sep 11 2023 /opt/docker-compose/deluge drwxr-xr-x 2 root root 4096 Sep 16 15:51 /opt/docker-compose/homeassistant drwxr-xr-x 2 root root 4096 Jul 26 10:04 /opt/docker-compose/jellyfin drwxr-xr-x 2 root root 4096 Sep 13 2023 /opt/docker-compose/jenkins drwxr-xr-x 2 root root 4096 Oct 1 10:14 /opt/docker-compose/openvpn drwxr-xr-x 4 root root 4096 Sep 13 2023 /opt/docker-compose/pihole drwxr-xr-x 2 root root 4096 Sep 11 2023 /opt/docker-compose/radarr drwxr-xr-x 2 root root 4096 Dec 4 2023 /opt/docker-compose/ring-mqtt drwxr-xr-x 2 root root 4096 Sep 11 2023 /opt/docker-compose/sonarr -rwxr-xr-x 1 root root 349 Sep 11 2023 /opt/docker-compose/update.</description>
    </item>
    <item>
      <title>Python: Blind poule generator</title>
      <link>https://jeroendev.one/posts/python-blind-poule-generator/</link>
      <pubDate>Sun, 24 Mar 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/python-blind-poule-generator/</guid>
      <description>What is it? A blind poule is a list of randomly generated soccer score outcomes. The script I made favours the lower numbers first (because this is more likely to happen) but it can generate scores where one team scores 6 or 7 goals.&#xA;Requirements weasyprint numpy jinja2 Weasyprint can be installed using your distro&amp;rsquo;s package manager. The remaining Python modules can be installed using pip:&#xA;pip install numpy jinja2 The script import random import numpy as np import datetime from jinja2 import Template # Set generated_scores = set() # Generate random scores def generate_score(): global generated_scores while True: # Generate random scores favoring towards lower values team1_score = max(0, int(np.</description>
    </item>
    <item>
      <title>PS5: Setting up Discord RPC client</title>
      <link>https://jeroendev.one/posts/ps5-setting-up-discord-rpc-client/</link>
      <pubDate>Mon, 12 Feb 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/ps5-setting-up-discord-rpc-client/</guid>
      <description>What is it? PS5 RPC Client is an client I made using Python3 which will update your Discord Rich Presence with the game you&amp;rsquo;re playing on your jailbroken PS5. Requires Discord Desktop App&#xA;It requires etaHEN &amp;gt;= 1.4b to be running and have the following entry enabled in the /data/etaHEN/config.ini:&#xA;[Settings] discord_rpc=1 Advised to have an static IP for your PS5.&#xA;Getting started 1. Setting up Discord Go to the Discord Developers page.</description>
    </item>
    <item>
      <title>Ansible: Secret management</title>
      <link>https://jeroendev.one/posts/ansible-secret-management/</link>
      <pubDate>Sun, 07 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/ansible-secret-management/</guid>
      <description>Vault / secrets Ansible has a good way of storing passwords / secrets and still keeping your source code in Git. The tool is called ansible-vault and can be used to encrypt/decrypt secrets.&#xA;Creating a secret file This is for demonstration purposes only. Use/edit our vault in case you need secrets.&#xA;Let&amp;rsquo;s say we have this Yaml file secret.yml containing a password which we want to use in our playbooks:</description>
    </item>
    <item>
      <title>Kubernetes: Fix stuck &#39;terminating namespace</title>
      <link>https://jeroendev.one/posts/kubernetes-fix-stuck-terminating-namespace/</link>
      <pubDate>Sat, 05 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/kubernetes-fix-stuck-terminating-namespace/</guid>
      <description>If a namespace on Kubernetes is stuck on the &amp;rsquo;terminating&amp;rsquo; / finalizer state. You can try to run the following to delete it.&#xA;read -p &amp;#34;Namespace: &amp;#34; NAMESPACE kubectl proxy &amp;amp; kubectl get namespace $NAMESPACE -o json |jq &amp;#39;.spec = {&amp;#34;finalizers&amp;#34;:[]}&amp;#39; &amp;gt;temp.json curl -k -H &amp;#34;Content-Type: application/json&amp;#34; -X PUT --data-binary @temp.json 127.0.0.1:8001/api/v1/namespaces/$NAMESPACE/finalize This should fix your stuck namespace.</description>
    </item>
    <item>
      <title>DirectAdmin: Configure to use mail relay for specific domains</title>
      <link>https://jeroendev.one/posts/directadmin-configure-to-use-mail-relay-for-specific-domains/</link>
      <pubDate>Sun, 02 Apr 2023 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/directadmin-configure-to-use-mail-relay-for-specific-domains/</guid>
      <description>I discovered my server was on a blacklist from Microsoft, probably because of the provider. I couldn&amp;rsquo;t get it whitelisted as fast as I would, so I configured an SMTP relay for these specific domains. The error message from Exim:&#xA;F=&amp;lt;***@domain.com&amp;gt; R=lookuphost T=remote_smtp H=hotmail-com.olc.protection.outlook.com [104.47.14.33] X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes: SMTP error from remote mail server after pipelined MAIL FROM:&amp;lt;***@domain.com&amp;gt; SIZE=165698: 550 5.7.1 Unfortunately, messages from [XX.XX.XX.XXX] weren&amp;#39;t sent. Please contact your Internet service provider since part of their network is on our block list (S3140).</description>
    </item>
  </channel>
</rss>
