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 ‘Scripting’ Category

Stable Diffusion – a Hugging Face Space by stabilityai

Posted by jpluimers on 2025/02/06

I’m anxious to see how some 2.5 years after the introduction, Stable Diffusion has evolved.

By then, you could run it either on-line at for instance [Wayback/Archive] Stable Diffusion – a Hugging Face Space by stabilityai:

Stable Diffusion DemoStable Diffusion is a state of the art text-to-image model that generates images from text.

or run it yourself if your GPU was powerful enough by using the base repository [Wayback/Archive] CompVis/stable-diffusion or one of the many forks: [Wayback/Archive] Forks · CompVis/stable-diffusion (back then some 1.4k!)

The original announcement was [Wayback/Archive] Stable Diffusion Public Release — Stability.Ai.

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Development, Python, Scripting, Software Development | Tagged: | Leave a Comment »

A Couple of Quick Bookmarklets For Viewing a Suspended / Deleted Twitter User – ResearchBuzz

Posted by jpluimers on 2025/02/04

For my link archive (I forgot where I found this): [Wayback/Archive] A Couple of Quick Bookmarklets For Viewing a Suspended / Deleted Twitter User – ResearchBuzz

Same for [Wayback/Archive] Bookmarklet for who can see your twitter @reply tweet – By @mhawksey and [Wayback/Archive] Ben Alman » Run jQuery Code Bookmarklet » Generate.

–jeroen

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

The WordPress feature that “beautifies” (malforms!) your Blog text is called `wptexturize`: on WordPress.com you cannot disable it.

Posted by jpluimers on 2025/02/03

Over the years, WordPress started to beautify more and more text thereby malforming many (read thousands) of my older blog posts.

An example is this:

--jeroen

is now rendered as

–jeroen

The two hypen-minus signs or -- have become a en-dash or , not even an em-dash or that is is double the width of an en-dash.

So after figuring out the cause, I asked if one could change it for a WordPress.com blog backed by a premium account: [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Hi @wordpressdotcom, how do I globally disable wptexturize for a paid wiert.wordpress.com blog (it has Premium subscription)? Over the years, it has malformed more and more of my text which I don’t want (as it is way too much work to re-visit thousands of blog posts).”

Unbelievably, the answer is no!

So WordPress.com mandatorily changes the display of all your old Premium blog posts and the only solution they offer is to upgrade for another USD ~17 per month to disable it.

Read the rest of this entry »

Posted in Development, PHP, Power User, Scripting, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Bridgy Fed – bridges to/from BlueSky, Fediverse (including Mastodon) and many web-sites

Posted by jpluimers on 2025/01/29

I bumped into [Wayback/Archive] Bridgy Fed a while ago. The highlights:

Source is written in Python and HTML. It is available from [Wayback/Archive] GitHub – snarfed/bridgy-fed: 🌉 A bridge between decentralized social network protocols.

The blog post re-introducing it: [Wayback/Archive] Re-introducing Bridgy Fed | snarfed.org.

There is docs too: [Wayback/Archive] Bridgy Fed: docs

Bridgy Fed is a kind of a spin-off from the longer existing [Wayback/Archive] Bridgy which has documentation at [Wayback/Archive] About – Bridgy and source code at [Wayback/Archive] GitHub – snarfed/bridgy: 📣 Connects your web site to social media. Likes, retweets, mentions, cross-posting, and more….

Via [Wayback/Archive] Ionica Smeets (@ionica.mathstodon.xyz.ap.brid.gy) — Bluesky who’s primary social media presence is at [Wayback/Archive] Ionica Smeets (@ionica@mathstodon.xyz) – Mathstodon.

I created my [Wayback/Archive] wiert.me profile – Bridgy Fed which resulted in these two entities (that by the time you read this should have some updates):

--jeroen

Posted in Blogging, BlueSky, Development, Fediverse, HTML, Mastodon, Python, Scripting, SocialMedia, Software Development, Web Development | Leave a Comment »

python – What is a virtualenv, and why should I use one? – Stack Overflow

Posted by jpluimers on 2025/01/29

I knew that venv is always needed inside your project directory when using Python, and roughly why, but not exactly why, so the points in the below StackOverflow Q/A sequence and underlying article are important to save in my link archive.

[Wayback/Archive] python – What is a virtualenv, and why should I use one? – Stack Overflow (thanks [Wayback/Archive] Kevin and [Wayback/Archive] Thanh Nguyen).

Read the rest of this entry »

Posted in Development, Python, Scripting, Software Development | Leave a Comment »

javascript – Open a URL in a new tab (and not a new window) – Stack Overflow

Posted by jpluimers on 2025/01/28

TL;DR: you can force opening a new Window over a new Tab, but not the other way around.

Background information: [Wayback/Archive] javascript – Open a URL in a new tab (and not a new window) – Stack Overflow.

Read the rest of this entry »

Posted in Chrome, Development, Firefox, JavaScript/ECMAScript, Opera, Power User, Safari, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

Any YouTube ID is a YouTube ID which means you can use any shorts ID and music ID to watch as a YouTube URL (adding functionality shorts and music URLs lack)

Posted by jpluimers on 2025/01/24

YouTube has diversified its content separating out YouTube Shorts and YouTube Music.

The main YouTube viewing experience has a few advantages over the other two experiences:

  1. content can be monetised
  2. content can arranged into lists (including Watch Later)
  3. auto-play can be turned off

All below links have the same ID, but the ones with checkmarks can use all the above features whereas the ones with crosses cannot.

Read the rest of this entry »

Posted in Development, Google, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Development, YouTube, YouTubeMusic | Leave a Comment »

Install an old version with homebrew for macOS · GitHub

Posted by jpluimers on 2025/01/21

Fork of a repository that shows how to do this with normal Homebrew installs [Wayback/Archive] Install an old version with homebrew for macOS · GitHub has my notes to do a similar thing with Homebrew cask installs.

Fork of: [Wayback/Archive] Install an old version with homebrew for macOS · GitHub.

TODO: check notes to ensure they really work on a different system and were not a lucky shot.

Notes:

Read the rest of this entry »

Posted in Apple, Development, DVCS - Distributed Version Control, gist, GitHub, Home brew / homebrew, Mac OS X / OS X / MacOS, Power User, Ruby, Scripting, Source Code Management | Tagged: | Leave a Comment »

XKCD to ExplainXKCD Bookmarklet

Posted by jpluimers on 2025/01/21

Sometimes the XKCD episodes are hard to get, so I wanted a Bookmarklet to navigate to [Wayback/Archive] explain xkcd.

Here is the regular expression to change the domain name part if it matches: [Wayback/Archive] regex101: build, test, and debug regex: VI34VW with this generated sed code:

Read the rest of this entry »

Posted in *nix, *nix-tools, Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, sed, Software Development, Web Browsers, Web Development | Leave a Comment »

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 »