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

Archive for the ‘Python’ Category

Converting Power Point

Posted by jpluimers on 2025/01/15

I have a lot of old Power Point slide decks that I want to reuse in current presentations. By now however, I learned prepare all my presentation stuff in either Markdown or reStructuredText: far easier to publish and put under version control.

After searching, I could only find one tool that is still maintained doing a decent job doing a PowerPoint to Markdown conversion: [Wayback/Archive] GitHub – ssine/pptx2md: a pptx to markdown converter. The tools which works great, in big part of PowerPoint content being highly structured with styles like title, subtitle and various heading levels and content types.

The thing it does not document is the prerequisites, which are these:

Future enhancements

Read the rest of this entry »

Posted in Development, Lightweight markup language, MarkDown, Office, Power Point, Power User, Python, Scripting, Software Development, venv | Leave a Comment »

Uncommon Uses of Python in Commonly Used Libraries

Posted by jpluimers on 2025/01/01

For my link archive as it will help me when ready to step up my Python skills: [Wayback/Archive] Uncommon Uses of Python in Commonly Used Libraries.

Via: [Wayback/Archive] Julia Evans on Twitter: “i love this kind of researchy blog post (“i read a bunch of python libraries, here’s what i learned!”)

Read the rest of this entry »

Posted in Development, Python, Scripting, Software 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 »

ValueError: invalid literal for int() with base 10: ” by tzwickl · Pull Request #768 · sivel/speedtest-cli

Posted by jpluimers on 2024/11/22

Somehow this post missed the schedule and for a long time I forgot to properly checked for “missed schedule” posts.

Back in 2021, suddenly systems with speedtest-cli threw a [Wayback/Archive] ValueError: invalid literal for int() with base 10: ” by tzwickl · Pull Request #768 · sivel/speedtest-cli after accessing the speedtest.net servers.

Around 7-8 April, 2021 the speedtest.net/speedtest-config.php XML configuration suddenly had changed the value for the XPath expression /settings/server-config/@ignoreids from being a list of integers into empty, see the archived files below.

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, Python, Scripting, Software Development, XML/XSD, XPath | Tagged: , | Leave a Comment »

The state of malware today: From Highly Obfuscated Batch File to XWorm and Redline – SANS Internet Storm Center

Posted by jpluimers on 2024/10/10

A very interesting read, where it keeps me wondering how batch files like these are being generated (making them by hand feels very surreal): [Wayback/Archive] From Highly Obfuscated Batch File to XWorm and Redline – SANS Internet Storm Center

VirusTotal entry: [Wayback/Archive] VirusTotal – File – 453c017e02e6ce747d605081ad78bf210b3d0004a056d1f65dd1f21c9bf13a9a

The day after the article was written, only Kaspersky and ZoneAlarm detected it; in the past ZoneAlarm used the Kaspersky engine, but that stopped a while ago: [Wayback/Archive] ZoneAlarm Free Antivirus Review | PCMag.

The malware uses at least these technologies:

Read the rest of this entry »

Posted in Antivirus, Batch-Files, Development, Power User, PowerShell, Python, Scripting, Security, Software Development, Windows Development | Leave a Comment »

GitHub Profile Roast 🔥🔥🔥

Posted by jpluimers on 2024/09/19

Who needs AI (:

[Wayback/Archive] GitHub Profile Roast 🔥🔥🔥

Sourcecode at [Wayback/Archive] GitHub – codenoid/github-roast: Spicy GitHub Roast 🔥

Via [Wayback/Archive] Dennis Schubert: “okay, I finally found a good u…” – Mastodon

okay, I finally found a good use for an LLM. no, really.
github-roast.pages.dev
this thing is brutal

In addition, I learned about [Wayback/Archive] lokal.so · GitHub: Supercharged HTTP/TCP/UDP Tunneling Software

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, C#, C++, Development, JavaScript/ECMAScript, LLM, PHP, Python, Ruby, Rust, Scripting, Software Development | Leave a Comment »

GitHub – AnswerDotAI/fasthtml: The fastest way to create an HTML app

Posted by jpluimers on 2024/09/11

The HTMX based [Wayback/Archive] GitHub – AnswerDotAI/fasthtml: The fastest way to create an HTML app

FastHTML is a new next-generation web framework for fast, scalable web applications with minimal, compact code. It’s designed to be:
  • Powerful and expressive enough to build the most advanced, interactive web apps you can imagine.
  • Fast and lightweight, so you can write less code and get more done.
  • Easy to learn and use, with a simple, intuitive syntax that makes it easy to build complex apps quickly.
FastHTML apps are just Python code, so you can use FastHTML with the full power of the Python language and ecosystem.
Could this be something for me?

Via [Wayback/Archive] Erik Meijer on X: “Reverse selling in full action.”

Read the rest of this entry »

Posted in Deployment, Development, HTML, htmx, Python, Scripting, Software Development, Web Development | Leave a Comment »

Twitter: getting a tweet video URL

Posted by jpluimers on 2024/09/09

For my link archive (as I wish this could be part of a Bookmarklet): the --get-url option of youtube-dl gets you the video URL of a Tweet

# youtube-dl --get-url https://twitter.com/Gert_van_Dijk/status/1548997307017871362
https://video.twimg.com/ext_tw_video/1548997270577840133/pu/vid/320x320/C20GFtInFGjBiY9k.mp4?tag=12

Via:

Read the rest of this entry »

Posted in Bookmarklet, Development, Power User, Python, Scripting, SocialMedia, Software Development, Web Browsers, YouTube, youtube-dl | Leave a Comment »

Shadow IT has entered the chat – got caught running scripts again : sysadmin

Posted by jpluimers on 2024/09/05

Shadow IT has entered the chat

Many companies have hardly any idea how many scripts are being used by their people to get the chores of day to day work done.

Read the rest of this entry »

Posted in Batch-Files, Development, Power User, PowerShell, Python, Scripting, Software Development, Windows, Windows Development | Leave a Comment »

Need to give this some thought: Poor Man’s Auto Update. by Chris Bensen | by Chris Bensen

Posted by jpluimers on 2024/07/23

Sometimes you need a relatively low-tech solution for updating.

I will need to give this some thought: [Wayback/Archive] Poor Man’s Auto Update. by Chris Bensen | by Chris Bensen | Jun, 2022 | Medium

Back then I posted some edits on Twitter which by now should be reflected in the script and GitHub repository at [Wayback/Archive] chris-blogs/PoorManAutoUpdate.md at main · chrisbensen/chris-blogs (with script at [Wayback/Archive] chris-blogs/updater.sh at main · chrisbensen/chris-blogs)

Read the rest of this entry »

Posted in *nix, *nix-tools, cron, Development, Hardware Development, Linux, Power User, Python, Raspberry Pi, Scripting, Software Development | Leave a Comment »