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

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!

JavaScript

How to use Regex Groups in Javascript

As a .Net developer I’m almost addicted to regular expressions to solve common string problems. The advantage of regex is that a lot of tools and languages use them. A drawback is that regex can be very complex and hard to read (documenting them is…