Twitter

Hallo @staatsbosbeheer, er ligt hier een koe met een gaatje. Wellicht goed om even polshoogte te nemen. https://t.co/NrmcaXyiuR

1 week ago

Follow

Hi @TheShufflehound, thanks for the beautiful Gillion and Jevelin themes! They are most useful. Are you still developing new themes?

2 weeks ago

Follow

Reading up on TLS and the beatings it has taken in the past decade 🥊. https://t.co/Jr84euQX5r

1 month ago

Follow

Just created a #LEGO Brickheadz figure of my girl and me. Super happy with the result! https://t.co/t4JkJsukYT

3 months ago

Follow

Categories

Category: PowerShell

PowerShell

Create mp3 playlist with PowerShell

Playlist are a dandy way of organizing the files into one list (easy to find on your device). The m3u playlist format is a no-hassle straight forward format, that’s why I love it. It is basically a list of relative file paths. Well… if it is that simple, it should be easy to write into a PowerShell statement.

PowerShell

Comparing files with PowerShell

Sometimes you want to test if two files are the same. You could run MD5 or SHA hashes of the files, but it might take some time to compute them. A byte by byte comparison might be the faster instead. I’ve wrote a script doing it in PowerShell.

PowerShell

$1 Regex Replacement Problem PowerShell [solved]

Madre mia! I’ve been trying to edit an HTML file using PowerShell. I only wanted to eliminate all the spans and paragraphs using regular expressions (would make sense)… and how hard can that be?
Well, it turned out to be pretty hard if you’re used to the replacement syntax of regular .Net expressions! After searching for hours I’ve discovered that $1 can’t be used in the same way as in .Net. Just use ${1}. Ouch!