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

Archive for the ‘Scripting’ Category

Writing a tool that restarts the Google Chat desktop app Window (and hopefully theΒ Google Duo desktop app Window too)

Posted by jpluimers on 2025/03/04

In the past, the Google Hangouts desktop app on Windows would integrate with the system “tray” (actually the notification area) and show you missed chats and calls.

The [Wayback/Archive] Google Chat desktop app does not. It shows missed messages only as a number on the taskbar icon. Even worse: when you close the Window, the taskbar application icon does not show that number any more.

The odd thing is that the Google Duo desktop app does stay active and shows a notification popup on incoming calls. The Google Chat desktop app does not.

So I wanted to restart the Google Chat desktop app automatically when the Window was closed. But there is a catch:

Read the rest of this entry »

Posted in .NET, C#, CommandLine, Delphi, Development, PowerShell, PowerShell, Scripting, Software Development | Tagged: | Leave a Comment »

Some interesting tweets by @isotopp and others on home power measurement and what to do to optimise energy usage at home

Posted by jpluimers on 2025/02/26

For my link archive (browse back and forth in the tweets: lots of useful tips):

[Wayback/Archive] Kris on Twitter: “@mausdompteur @HildebrandtRalf … Tasmota Support P1-mqtt in Python, fΓΌr den oa Zuidwijk Slimme Lezer Diese LΓΆsung setze ich ein.”

A few of his power usage pictures:

Read the rest of this entry »

Posted in Development, Hardware, IoT Internet of Things, LifeHacker, Network-and-equipment, Power User, Python, Scripting, Software Development | Leave a Comment »

How to send raw network packets in Python with tun/tap

Posted by jpluimers on 2025/02/20

For my link archive: [Wayback/Archive] How to send raw network packets in Python with tun/tap

I never really played around with tun and tap, so this is a nice opportunity to do so. I know they were the base for VPN on Linux, but just now I learned TUN/TAP are not available on nx, but also on Windows. Cool!

Via [Wayback/Archive] πŸ”ŽJulia EvansπŸ” on Twitter: “how to send raw network packets in Python with tun/tap …”

--jeroen

Posted in *nix, *nix-tools, Development, Ethernet, Hardware, Linux, Network-and-equipment, Power User, Python, Scripting, Software Development | Leave a Comment »

Twitter image size suffixes reloaded: pbs.twimg.com URL information

Posted by jpluimers on 2025/02/18

It’s almost

Goal of the current post amend the above posts with information so I can later write a bookmarklet or web-page with JavaScript that – from a x.com or twitter.com – tweet URL can get the JSON, then the images and/or videos in all sizes, then generate a web-page from it for Wayback Machine archival.

Read the rest of this entry »

Posted in Development, HTML, JavaScript/ECMAScript, Scripting, SocialMedia, Software Development, Twitter, Web Development | Tagged: , , , , | Leave a Comment »

evilsocket/jscythe: Abuse the node.js inspector mechanism in order to force any node.js/electron/v8 based process to execute arbitrary javascript code.

Posted by jpluimers on 2025/02/13

This is based on SIGUSR1, so means you need to run as the same user on the same local system, but it can be used for interesting techniques like extending node.js/electron based applications beyond what they were designed for.

[Wayback/Archive] evilsocket/jscythe: Abuse the node.js inspector mechanism in order to force any node.js/electron/v8 based process to execute arbitrary javascript code.

The behaviour has been documented and was known for a long time: [Wayback/Archive] sigusr1 node.js – Twitter Search.

It got my attention because ofΒ [Wayback/Archive] Simone Margaritelli on Twitter: “You can force any v8/Electron process to execute arbitrary js code (child_process, http, etc) by forcefully enabling and abusing the builtin debug mechanism … here’s VS Code executing Calc, but I suspect any Electron app is susceptible πŸ”₯ it works with SIP enabled on macOS”

Read the rest of this entry »

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

The Search Engine for Vintage Computers: FrogFind!

Posted by jpluimers on 2025/02/12

[Wayback/Archive] FrogFind! (archived as “Server Error”, but working fine on my end) andΒ [Wayback/Archive] FrogFind!

FrogFind!

a pixelated cartoon graphic of a fat, lazy, unamused frog with a keyboard in front of them, awaiting your search query

The Search Engine for Vintage Computers

 

Leap to:
Built byΒ Action RetroΒ on YouTube | Logo byΒ Mac84Β |Β Why build such a thing?Powered by DuckDuckGov1.2

More information at [Wayback/Archive] About FrogFind!

Based on [Wayback/Archive] GitHub – fivefilters/readability.php: PHP port of Mozilla’s Readability.jsΒ and DuckDuckGo.

--jeroen

Posted in Development, LifeHacker, PHP, Power User, Retrocomputing, Scripting, SearchEngines, Software Development, Web Browsers | Tagged: | Leave a Comment »

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 »