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,862 other subscribers

Archive for the ‘Software Development’ Category

Hasan • Digital Writer on Twitter: “I made JavaScript Arrays Methods cheat sheet🔥 I hope it can helps you https://t.co/6KoWtagj13” / Twitter

Posted by jpluimers on 2024/12/19

[Wayback/Archive] Hasan • Digital Writer on Twitter: “I made JavaScript Arrays Methods cheat sheet🔥 I hope it can helps you”, a visual representation covering map, filter, find, findIndex, fill, copyWithin, some, every, reduce:

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development, Web Development | Leave a Comment »

How to extract playlists (list of file locations) from iTunes using python – Stack Overflow

Posted by jpluimers on 2024/12/18

While migrating from iTunes on one machine to Apple Music on another one, I needed to migrate part of the (disorganised) playlists.

I knew there was a binary ~/Music/iTunes/iTunes Library.itl file, but that is encoded or encrypted, making it hard to parse.

Luckily there is also ~/Music/iTunes/iTunes Music Library.xml which I found via the links below.

Read the rest of this entry »

Posted in Apple, Development, iTunes, Mac OS X / OS X / MacOS, Power User, Python, Scripting, Software Development, XML, XML/XSD | Leave a Comment »

den on Twitter: “Kubernetes.” portrayed by Seinfeld characters (Engineering Festivus)

Posted by jpluimers on 2024/12/18

At the end of 2020, in the midst of the Covid-19 crisis, [Wayback/Archive] den (@DennisCode) / Twitter started [Wayback/Archive] Engineering Festivus

The only thing 2020 needed is Seinfeld making a career change and getting into tech.

It is a series of IT parodies that at the time of writing just had its’ 35th episode: [Wayback/Archive] den on Twitter: “Kubernetes.”

Kubernetes

Kramer decided to use Kubernetes for his website. Jerry tries to explain what that entails. Kramer is adamant to do it all himself.

Read the rest of this entry »

Posted in Amazon.com/.de/.fr/.uk/..., AWS Amazon Web Services, Cloud, Cloud Development, Containers, Development, Docker, Infrastructure, Kubernetes (k8n), Software Development | Leave a Comment »

As a tribute to their @isotopp handle history, Kris now changed its name to Köhntopp

Posted by jpluimers on 2024/12/17

[Wayback/Archive] Jeroen Wiert Pluimers: “LOL, just saw @isotopp changed…” – Mastodon

LOL, just saw @isotopp changed his name to Köhntopp

Well done, Kris. Well done.

ftfy.vercel.app/?s=ö

( the history of the iso isotopp handle is so great, that I was glad I captured it from Twitter before that content got deleted; it is now at wiert.me/2022/06/09/how-isotop )

This Vercel app cannot be archived in the Wayback Machine properly as it then returns a HTTP 500. The Archive.is save succeeded though: [Wayback/Archive] https://ftfy.vercel.app/?s=ö:

Read the rest of this entry »

Posted in Development, Encoding, ISO-8859, ISO8859, Mojibake, Software Development, Unicode, UTF-8 | Leave a Comment »

Markdown has been the Internet’s lingua franca for documentation. Microsoft finally the documentation format with markitdown: Python tool for converting files and office documents to Markdown.

Posted by jpluimers on 2024/12/17

Finally an easier way to convert Office documents (and other formats) to markdown: [Wayback/Archive] GitHub – microsoft/markitdown: Python tool for converting files and office documents to Markdown. (after Google added a Markdown export feature to Google Docs about half a year ago, and basic Markdown formatting about 2 years ago – see below):

There are quite a few dependencies in [Wayback/Archive] markitdown/pyproject.toml at main · microsoft/markitdown · GitHub, so be prepared for that.

Supported formats (added links for clarity):

The MarkItDown library is a utility tool for converting various files to Markdown (e.g., for indexing, text analysis, etc.)
It presently supports:
  • PDF (.pdf)
  • PowerPoint (.pptx)
  • Word (.docx)
  • Excel (.xlsx)
  • Images (EXIF metadata, and OCR)
  • Audio (EXIF metadata, and speech transcription)
  • HTML (special handling of Wikipedia, etc.)
  • Various other text-based formats (csv, json, xml, etc.)

Google was first though:

  1. [Wayback/Archive] Google Workspace Updates: Compose with Markdown in Google Docs on web
  2. [Wayback/Archive] Google Workspace Updates: Import and export Markdown in Google Docs

There is speculation on why Microsoft introduced it just now ranging from “they need it for AI training” to “just late to the game”. I’m with the latter. Apple is even later, so if you want to convert Apple Notes to markdown, then you can use [Wayback/Archive] Import from Apple Notes – Obsidian Help.

Via various sources, including:

Read the rest of this entry »

Posted in CSV, Development, Excel, HTML, HTML5, JSON, Lightweight markup language, MarkDown, Office, PDF, Power Point, Power User, Software Development, Word, XML/XSD | Tagged: , | Leave a Comment »

Some links and notes as I want to write a Bookmarklets to help resize HTML images

Posted by jpluimers on 2024/12/17

Probably not fully the direction I need to search to (main goal is to interactively edit img tag attributes (basic and style) to manipulate the appearance of pictures in my blog), but should do for now:

Read the rest of this entry »

Posted in Bookmarklet, CSS, Development, HTML, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

Link archive: Windows PSBits/PasswordStealing/NPPSpy at master · gtworek/PSBits

Posted by jpluimers on 2024/12/12

Simple (but fully working) code for NPLogonNotify(). The function obtains logon data, including cleartext password.

[Wayback/Archive] PSBits/PasswordStealing/NPPSpy at master · gtworek/PSBits has been used in the wild since about 2022 (the code is from 2020).

The code is a ~100 line C file resulting in a DLL exporting the NPGetCaps() and NPLogonNotify() functions.

Background/related:

Read the rest of this entry »

Posted in .NET, Blue team, C, CommandLine, Development, Power User, PowerShell, PowerShell, Red team, Scripting, Security, Software Development, Windows Development | Tagged: | 1 Comment »

Unicode: Keyboard Symbols ⌘ ↵ ⌫

Posted by jpluimers on 2024/12/11

I wish I had bumped into this page a way sooner as it contains most if not all the keyboard symbols I ever looked for: [Wayback/Archive] Unicode: Keyboard Symbols ⌘ ↵ ⌫

The page contains a lot more than just this diagram (which already is a great start):

⎋
 ` 1 2 3 4 5   6 7 8 9 0  - = ⌫    ⎀ ⤒ ⇞
 ⇥ Q W E R T   Y U I O P  [ ] \    ⌦ ⤓ ⇟
 🄰  A S D F G   H J K L ;  ' ↵
 ⇧   Z X C V B   N M , . /  ⇧        ↑
 ⎈ ❖ ⎇    ␣    ⎇ ❖ ▤ ⎈           ← ↓ →

🌐 ⌃ ⌥ ⌘

Some more symbols are at these pages:

Read the rest of this entry »

Posted in Development, Encoding, Hardware, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, Software Development, Unicode | Leave a Comment »

CAPTCHA by Basic Apple Guy on X: “Find the Mac Pro (5th anniversary edition) 🔍 1949 cheese graters, 1 of them is a Mac Pro”

Posted by jpluimers on 2024/12/11

Next level CAPTCHA which AI engines fail at [Wayback/Archive] Basic Apple Guy on X: “Find the Mac Pro (5th anniversary edition) 🔍 1949 cheese graters, 1 of them is a Mac Pro”

The low res versions are impossible for me, and even the high-res picture is tough.

What is the smallest size you can find the Mac Pro? Picture on the right for reference.

Twitter picture sizes (I will explain them in a future blog post) via [Wayback/Archive] Tweet  JSON:

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Development, Fun, Software Development | Leave a Comment »

How To Scale and Crop Images with CSS object-fit | DigitalOcean

Posted by jpluimers on 2024/12/11

[Wayback/Archive] How To Scale and Crop Images with CSS object-fit | DigitalOcean helped me to crop the picture in Florian Haas on Twitter: alias kubectl=”TZ=Etc/UTC kubectl”; You’re welcome.

The picture itself is 800 * 800 pixels (width * height), but the interesting bits are 400 * 200 around the center. Also it is a lot larger than I wanted.

So I embedded it using this HTML

<img class="alignnone size-full" style="width: 200px; height: 100px; object-fit: cover; object-position: 0 50%;" src="https://archive.ph/frSNu/0f0ebeeb5a4edf048577be89adb866344b303394.jpg" alt="" />

The width made it 25% the original size (because of [Wayback/Archive] object-fit value cover), and half the height so I had to move the [Wayback/Archive]object-position up 50%.

I found this via [Wayback/Archive] image inline css to crop top and bottom – Google Search.

That also found [Wayback/Archive] html – while display image crop Top and Bottom of image using css – Stack Overflow with an example at [Wayback/Archive] Edit fiddle – JSFiddle – Code Playground which is similar to the above solution.

--jeroen

 

Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »