<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.dereyck.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.dereyck.eu/feed.php">
        <title>Thomas&#039; Wiki</title>
        <description></description>
        <link>https://wiki.dereyck.eu/</link>
        <image rdf:resource="https://wiki.dereyck.eu/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-07-23T09:17:21+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/automatically_assigning_extensions_to_files?rev=1771843177&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/email_authentication?rev=1765960740&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/start/public/generating_hashes_from_a_string_with_a_yubikey?rev=1734040455&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/common_openssl_operations?rev=1732091885&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/da_rules?rev=1731537639&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/parsing_a_csv_file_with_bash?rev=1731146809&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/list_libvirt_os_variants?rev=1731061172&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/logging_in_on_windows_11_remote_desktop_with_your_microsoft_account?rev=1730980935&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/listing_all_teams_assigned_phone_numbers?rev=1730976639&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/projects/public/working_with_docker?rev=1729802655&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/test?rev=1729024096&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/?image=public%3Amacos_version_in_disk_utility.png&amp;ns=public&amp;rev=1711450893&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/?image=public%3Ayubikey_challenge-response.png&amp;ns=public&amp;rev=1710886993&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/?image=scripts%3Apurge_stale_devices.ps1&amp;ns=scripts&amp;rev=1710493405&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.dereyck.eu/_media/wiki/dokuwiki.svg">
        <title>Thomas' Wiki</title>
        <link>https://wiki.dereyck.eu/</link>
        <url>https://wiki.dereyck.eu/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.dereyck.eu/public/automatically_assigning_extensions_to_files?rev=1771843177&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-23T10:39:37+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Automatically assigning extensions to files - created</title>
        <link>https://wiki.dereyck.eu/public/automatically_assigning_extensions_to_files?rev=1771843177&amp;do=diff</link>
        <description>Automatically assigning extensions to files


#recursively find files in current directory that have no extension
for i in $(find . -type f ! -name &quot;*.*&quot;); do
    #guess that extension using file
    extfile=$(file --extension --brief $i)
    #select the first extension in the event file spits something weird (e.g. jpeg/jpe/jfif) 
    extawk=$(echo $extfile | awk -F/ &#039;{print $1}&#039;)
    #copy the file to a file appended with the extension guessed from the former commands
    mv $i $i.$extawk
done</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/email_authentication?rev=1765960740&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-17T08:39:00+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Setting SPF and DMARC for a domain that is not sending e-mail - created</title>
        <link>https://wiki.dereyck.eu/public/email_authentication?rev=1765960740&amp;do=diff</link>
        <description>Setting SPF and DMARC for a domain that is not sending e-mail

Set the SPF TXT record (domain.com) to:


v=spf1 -all


This will inform receiving mail servers that no servers are authorized to send mail from this domain.

Set the DMARC TXT record (_dmarc.domain.com) to:</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/start/public/generating_hashes_from_a_string_with_a_yubikey?rev=1734040455&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-12T21:54:15+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Generating hashes from a string with a Yubikey</title>
        <link>https://wiki.dereyck.eu/start/public/generating_hashes_from_a_string_with_a_yubikey?rev=1734040455&amp;do=diff</link>
        <description>Generating hashes from a string with a Yubikey

Use Yubikey authenticator to set up a challenge-response algorithm in slot 2 of your Yubikey. Then, make sure you have the command line tool ykchalresp installed. It usually comes packaged with the Yubikey personalization tool, e.g. on macOS via Homebrew:</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/common_openssl_operations?rev=1732091885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-20T08:38:05+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Common OpenSSL Operations</title>
        <link>https://wiki.dereyck.eu/public/common_openssl_operations?rev=1732091885&amp;do=diff</link>
        <description>Common OpenSSL Operations

Extracting a private key in PEM format from a P12 container


openssl pkcs12 -in container.p12 -out key.pem -legacy -nocerts -nodes


Extracting a certificate in PEM format from a P12 container


openssl pkcs12 -in container.p12 -out certificate.pem -legacy -nokeys -nodes</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/da_rules?rev=1731537639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-13T22:40:39+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Da Rules - created</title>
        <link>https://wiki.dereyck.eu/public/da_rules?rev=1731537639&amp;do=diff</link>
        <description>Da Rules

	*  Nothing is more permanent than a temporary solution.
	*  Meetings with more than 4 people are rather pointless.
	*  Avoid starting from scratch. Incrementally improve what already exists.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/parsing_a_csv_file_with_bash?rev=1731146809&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-09T10:06:49+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Parsing a CSV File with Bash - [References] </title>
        <link>https://wiki.dereyck.eu/public/parsing_a_csv_file_with_bash?rev=1731146809&amp;do=diff</link>
        <description>Parsing a CSV File with Bash

You can easily parse CSV files with bash. In this example script, I generate QR codes using qrencode as an example. As a source I use following very simple CSV file called list.csv:


Google,https://www.google.com
Yahoo,https://www.microsoft.com
Microsoft,https://www.microsoft.com</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/list_libvirt_os_variants?rev=1731061172&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T10:19:32+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>List libvirt OS Variants - [References] </title>
        <link>https://wiki.dereyck.eu/public/list_libvirt_os_variants?rev=1731061172&amp;do=diff</link>
        <description>List libvirt OS Variants

When creating a guest with virt-install you need to specify the --os-variant.

To get a list of acceptable values, first install the libosinfo-bin package


sudo apt install libosinfo-bin


before running the command below:</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/logging_in_on_windows_11_remote_desktop_with_your_microsoft_account?rev=1730980935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-07T12:02:15+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Logging in on Windows 11 Remote Desktop with Your Microsoft Account - created</title>
        <link>https://wiki.dereyck.eu/public/logging_in_on_windows_11_remote_desktop_with_your_microsoft_account?rev=1730980935&amp;do=diff</link>
        <description>Logging in on Windows 11 Remote Desktop with Your Microsoft Account

On Windows 11, if you use your Microsoft account to log in to your PC, you will be unable to log in via Microsoft Remote Desktop. As a workaround, you need to use runas to cache your Microsoft account password. After that (and of course enabling Remote Desktop), you will be able to log in remotely using your Microsoft account e-mail address and password</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/listing_all_teams_assigned_phone_numbers?rev=1730976639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-07T10:50:39+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Listing all Teams assigned phone numbers</title>
        <link>https://wiki.dereyck.eu/public/listing_all_teams_assigned_phone_numbers?rev=1730976639&amp;do=diff</link>
        <description>Listing all Teams assigned phone numbers

:!: At the time of writing, this does not yet seem possible with Graph API, and requires the Teams Powershell module instead.

Open PowerShell, and install the PowerShell Teams module:


Install-Module -Name MicrosoftTeams -Force -AllowClobber</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/projects/public/working_with_docker?rev=1729802655&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-24T20:44:15+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>Working with docker - created</title>
        <link>https://wiki.dereyck.eu/projects/public/working_with_docker?rev=1729802655&amp;do=diff</link>
        <description>Working with docker

Getting a shell in a running container:


docker exec -it containername bash</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/test?rev=1729024096&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-15T20:28:16+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title> - removed</title>
        <link>https://wiki.dereyck.eu/test?rev=1729024096&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/?image=public%3Amacos_version_in_disk_utility.png&amp;ns=public&amp;rev=1711450893&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-26T11:01:33+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>macos_version_in_disk_utility.png - created</title>
        <link>https://wiki.dereyck.eu/?image=public%3Amacos_version_in_disk_utility.png&amp;ns=public&amp;rev=1711450893&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://wiki.dereyck.eu/_media/public/macos_version_in_disk_utility.png?w=500&amp;amp;h=500&amp;amp;tok=834ca0&quot; alt=&quot;macos_version_in_disk_utility.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/?image=public%3Ayubikey_challenge-response.png&amp;ns=public&amp;rev=1710886993&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-19T22:23:13+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>yubikey_challenge-response.png - created</title>
        <link>https://wiki.dereyck.eu/?image=public%3Ayubikey_challenge-response.png&amp;ns=public&amp;rev=1710886993&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://wiki.dereyck.eu/_media/public/yubikey_challenge-response.png?w=500&amp;amp;h=500&amp;amp;tok=280098&quot; alt=&quot;yubikey_challenge-response.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/?image=scripts%3Apurge_stale_devices.ps1&amp;ns=scripts&amp;rev=1710493405&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-15T09:03:25+00:00</dc:date>
        <dc:creator>thomas (thomas@undisclosed.example.com)</dc:creator>
        <title>purge_stale_devices.ps1 - created</title>
        <link>https://wiki.dereyck.eu/?image=scripts%3Apurge_stale_devices.ps1&amp;ns=scripts&amp;rev=1710493405&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://wiki.dereyck.eu/lib/images/fileicons/svg/file.svg&quot; alt=&quot;purge_stale_devices.ps1&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
</rdf:RDF>
