Fix DNS in WSL

My WSL instance partly failed to define the correct DNS servers. I wrote a script to fix that.

July 11, 2024 · 2 min · 281 words · Chris Pratl

Check if a string is a web URL via a regular expression

I want to check if a string is an URL and created a regular expression for that.

July 9, 2024 · 2 min · 409 words · Chris Pratl

Get the remaining validity time of a SSH certificate

I want to find out how long an SSH certificate is still valid.

April 10, 2024 · 2 min · 257 words · Chris Pratl

Automatically open SSH connections on Linux

I have setup an SSH tunnel that will be connected automatically as long as my device is running.

February 4, 2024 · 3 min · 430 words · Chris Pratl

Removing a password from a PDF

I receive a pdf with a password. I would like to automatically remove the password for further automated processing.

December 27, 2023 · 5 min · 940 words · Chris Pratl

About using the correct SSH identity

A note about SSH identities.

December 15, 2023 · 2 min · 348 words · Chris Pratl

Create a UUID in Ansible

Today I learned how to generate a UUID in Ansible. I would like to write that down so that I can look that up again next time I need it.

November 7, 2023 · 1 min · 130 words · Chris Pratl

Algorithm: Reading multiple JSON objects from a file

I receive a file with multiple JSON objects in a row. I want to decode them one after another.

October 5, 2023 · 4 min · 793 words · Chris Pratl

My Jupyter Notebook Setup

Documentation how I have setup my Jupyter Notebook Setup.

October 3, 2023 · 3 min · 620 words · Chris Pratl

Poll data from an Azure Storage Account Blob into a Python Azure Function

How to read a JSON document from an Azure (Blob) Storage Account and use that in an Azure Function.

September 11, 2023 · 1 min · 144 words · Chris Pratl