<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bash on JEROENDEV</title>
    <link>https://jeroendev.one/tags/bash/</link>
    <description>Recent content in Bash 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>Sun, 24 Mar 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jeroendev.one/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <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>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>
