The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘Development’ Category

Installing Chocolatey on Windows 10 and up

Posted by jpluimers on 2025/04/02

Steps for installing Chocolatey on Windows 11 and up or 10 version 1803 and up.

Since I often install Windows on machines where it is not easy to copy/paste longer install commands my steps are slightly different than the ones on [Wayback/Archive] Chocolatey Software | Installing Chocolatey:

  1. Start a regular command prompt
  2. Either these two (the options are equivalent, see [Wayback/Archive] curl: transfer a URL | curl Commands | Man Pages | ManKier for --remote-name and -O):
    • curl --remote-name https://community.chocolatey.org/install.ps1
    • curl -O https://community.chocolatey.org/install.ps1

    Note the cURL pre-installed on Windows 10 since at least 6 years*: release 1803 or insider build 17063 is good enough to download the Chocolatey install script

  3. Inspect the downloaded install.ps1 to check if you spot anything you dislike
  4. Start an elevated (administrator) command prompt
  5. Start PowerShell
  6. Execute this command
    • Set-ExecutionPolicy Bypass -Scope Process -Force
  7. Execute this command in the folder where you downloaded install.ps1
    • .\install.ps1
  • Yup, a custom build of cURL has been pre-installed on Windows 10 and up since more than 6 years:

Read the rest of this entry »

Posted in *nix, *nix-tools, Chocolatey, cURL, Development, Power User, Software Development, Windows, Windows 10, Windows 11, Windows Development | Leave a Comment »

Some HTTP redirect checking sites compared

Posted by jpluimers on 2025/04/02

 

Every now and then I want to check how a URL redirect, for instance when checking out why a domain failed loading in browsers a while ago because of certificate problems:

The thing was that back then, the site officially did not have a security certificate, but somehow the provider had installed a self-signed one. Most web-browsers then auto-redirect from http to https. Luckily the archival sites can archive without redirecting:

When querying [Wayback/Archive] redirect check – Google Search, you get quite some results. These are the ones I use most in descending order of preference and why they are at that position:

Read the rest of this entry »

Posted in *nix, *nix-tools, archive.is / archive.today, Communications Development, Development, Encryption, HTTP, https, HTTPS/TLS security, Internet, Internet protocol suite, ISP, Power User, Security, Software Development, TCP, WayBack machine, Web Development, wget, xs4all | Leave a Comment »

Ryan Els on X: “Center-aligned code just looks better 🥰 https://t.co/AP2l22jHRG” / X

Posted by jpluimers on 2025/04/01

[Wayback/Archive] Ryan Els on X: “Center-aligned code just looks better 🥰 …”

[Wayback/Archive] Tweet JSON

[Wayback/Archive] Gel3nsxWUAALM77.jpg:orig (617×776)

--jeroen


Posted in Development, Fun, Software Development | Leave a Comment »

Personalised audio cards and video books with your own video or audio file

Posted by jpluimers on 2025/04/01

For Whamageddon or Rickrolling: [Wayback/Archive] Personalised audio cards and video books with your own video or audio file (UK) /

[Wayback/Archive] Wenskaart met ingesproken boodschap of eigen muziek – Geluidkaartje (Dutch).

Or build your own with chips like these: [Wayback/Archive] 30S Sound Voice Music Recorder Board Voice Chip Module for Greeting Card DIY | eBay

Or buy blank cards:

Via [Wayback/Archive] sound record your own postcard – Google Search

--jeroen

Posted in Development, Fun, Hardware Development, Hardware Interfacing, Power User | Leave a Comment »

git on Windows: figuring out SID mismatch

Posted by jpluimers on 2025/03/31

A few years back I had an error happen a while on one of my Windows machines after a git pull: fatal: detected dubious ownership in repository at 'C:/versioned/repository' followed by a few lines with Windows SIDs (Security Identifiers) that I had to map to actual users.

I thought I had it scheduled, but my notes were in a draft post, so when I bumped into it again when upgrading an old virtual machine with new versions I finished it and scheduled it for now.

The first time I got the error was after git for Windows fixed security vulnerability [Wayback/Archive] CVE-2022-24765 and included the quote from [Wayback/Archive] Uncontrolled search for the Git directory in Git for Windows · Advisory · git-for-windows/git:

Read the rest of this entry »

Posted in CommandLine, Development, DVCS - Distributed Version Control, git, Power User, PowerShell, PowerShell, Scripting, Software Development, Source Code Management, Windows, Windows 10, Windows 11, Windows 7 | Tagged: | Leave a Comment »

For my link archive: 8 things you didn’t know you could do with GitHub Copilot | The GitHub Blog

Posted by jpluimers on 2025/03/28

Hopefully by now I have given GitHub Copilot so I can put this link from a while back into more perspective: [Wayback/Archive] 8 things you didn’t know you could do with GitHub Copilot | The GitHub Blog.

I saved it for my link archive as these thought processes take me a while. The conceptual thing here is if I want to pay for products that harvest profit from the enormous time and effort invested by open source authors (in this case even after the fact, as there was no way to opt out while most of the harvesting took place). See my earlier post On my list of extensions to try in vscode: tab nine.

An alternative for parts of GitHub Copilot might be the (then working title) TLDR from [Wayback/Archive] Beyond Code (German and have the domain beyondco.de). Read the rest of this entry »

Posted in Development, Power User, Software Development, vscode Visual Studio Code | Leave a Comment »

ASCII art generator: GitHub – cmatsuoka/figlet: Claudio’s FIGlet tree

Posted by jpluimers on 2025/03/27

Just in case I ever need ASCII art in a document again:

[Wayback/Archive] GitHub – cmatsuoka/figlet: Claudio’s FIGlet tree

Via:

--jeroen

Posted in ASCII, ASCII art / AsciiArt, Development, Encoding, Fun, History, Power User, Retrocomputing, Software Development | Leave a Comment »

Windows: extracting CD-audio for a funeral: CDex, MP3Gain (a replaygain like implementation which modifies MP3 metadata) plus UI wrapper and audacity (for combining tracks)

Posted by jpluimers on 2025/03/27

It has been a very long time since I played around with ripping audio from audio CDs and wrote software for audio handling. I lost access to that source code some 20 years ago, so part of this post is from memory. Hopefully that is still good memory (:

Yes, I am one of those old farts that still has computing equipment with optical drives (:

Much has improved since then, so one needs to write far less code nowadays as a of tooling is now open source or has been open source for quite some time. The hardest part was finding back CDex (which I think is still very useful especially as it handles not-so-well-handled audio CDs quite OK).

Anyway: I didn’t document much of my audio history. The only post I mentioned CDex in was Streaming your mp3 collection through an Icecast server using ezstream, which does not does it justice as back then it had been reliable for such a long time.

Funeral web-site

That web-site was horrible, especially as it was picky on audio formats. In the end, it handled 128-bit fixed bit-rate MP3 files best.

CDEX

Read the rest of this entry »

Posted in Audacity, Audio, Development, Media, Normalisation of audio, Power User, Software Development | Tagged: | Leave a Comment »

Nartac Software – IIS Crypto

Posted by jpluimers on 2025/03/26

Not just for IIS, but for hardening any Windows system including ones running http.sys (like ADFS): [Wayback/Archive] Nartac Software – IIS Crypto

Read the rest of this entry »

Posted in .NET, Communications Development, Development, Encryption, HTTP, HTTPS/TLS security, Software Development, TCP, Web Development | Leave a Comment »

Note for future self if .NET hash calculations from `ComputeHash()` are slower than expected

Posted by jpluimers on 2025/03/26

Normally when calculating hashes in .NET you use the [Wayback/Archive] HashAlgorithm.ComputeHash Method (System.Security.Cryptography) | Microsoft Learn.

This can be slow as [Wayback/Archive] cmcginty showed while answering the question [Wayback/Archive] How to get an MD5 checksum in PowerShell – Stack Overflow by [Wayback/Archive] Luke101 posing a faster solution (in this case for md5, but it can be generalised):

Read the rest of this entry »

Posted in .NET, C#, Chocolatey, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Tagged: | Leave a Comment »