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 September, 2023

Getting a local VM disk to OVH (or most any VM hoster) is as easy as 1, 2, 3, 4, 5 (dd, gzip ssh, gunzip, dd)

Posted by jpluimers on 2023/09/29

This is why I love nx:

Actually, saving the OVH image first is another 1, 2, 3, 4 (ssh, dd, gzip, dd).

Speed wasn’t bad BTW: [Wayback/Archive] Jilles🏳️‍🌈 on Twitter: “Done 167772160+0 records in 167772160+0 records out 85899345920 bytes (86 GB, 80 GiB) copied, 2481.09 s, 34.6 MB/s [root@arch ~]#” / Twitter

–jeroen

Posted in *nix, *nix-tools, dd, Power User | Leave a Comment »

The JavaScript bookmarklets that saved me a lot of time documenting the Embarcadero docwiki outage

Posted by jpluimers on 2023/09/28

Winter 2022, the Embarcadero docwiki (their most active site which contains all documentation for all their products) was down. Twice. First for a week, then parts of it for almost a week, then only parts of the Alexandria got up in a stable way.

Back then I published The Delphi documentation site docwiki.embarcadero.com has been down/up oscillating for 4 days is now down for almost a day.. The product and library documentation for the most recent version got back up in a week, but the Code Examples and older product versions took much longers.

Usually once learns way more about a system when it is failing then when it is working. That was the case this system as well.

Documenting the failing system took considerable time, but would have taken way more if not for these two JavaScript browser bookmarklets:

Read the rest of this entry »

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

Javascript – Copy string to clipboard as text/html – Stack Overflow

Posted by jpluimers on 2023/09/27

For my link archive is the below answer that should help me a lot with unfinished bits from Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs.

Goal of that post was to have some grounding and eventually find a means to build an HTML page in a new tab using a bookmarklet that I then later could post to my blog.

Assembling to HTML and putting it on the clipboard might be a lot easier and better fitting in my workflow.

So, via [Wayback/Archivejavascript copy html to clipboard – Google Search, for my link archive: [Wayback/Archive] Javascript – Copy string to clipboard as text/html – Stack Overflow (thanks [Wayback/Archive] Loilo for answering and [Wayback/Archive] kofifus for asking):

Below is a function that will do exactly that. I tested it with your required browsers, it works in all of them. However, IE 11 will ask for confirmation on that action.

Explanation how this works can be found below, you may interactively test the function out in this jsFiddle.

Read the rest of this entry »

Posted in Chrome, Development, Firefox, HTML, HTML5, Internet Explorer, JavaScript/ECMAScript, JSFiddle, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

Maarten van Smeden on Twitter: “Peer review proces explained (video)”

Posted by jpluimers on 2023/09/26

[Wayback/Archive] Maarten van Smeden on Twitter: “Peer review proces explained …” / Twitter

–jeroen

Posted in Agile, Code Quality, Code Review, Development, Power User, Software Development | Leave a Comment »

Jen Gentleman on Twitter: “Did you know that if you press CTRL + ALT + Tab then the ALT + Tab UI will stay open without you having to continue holding the keys down? 👀” / Twitter

Posted by jpluimers on 2023/09/25

[Wayback/Archive] Jen Gentleman 🌺 on Twitter: “Did you know that if you press CTRL + ALT + Tab then the ALT + Tab UI will stay open without you having to continue holding the keys down? 👀” / Twitter

I didn’t, so I suggested this:

[Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “@JenMsft Works best if you do not use one single hand to press these keys at once.” / Twitter

–jeroen

Read the rest of this entry »

Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 10, Windows 11 | Leave a Comment »

Meredith Whittaker on X: “Facebook messages turned over by the company served as key evidence used to convict Jessica Burgess and her daughter. E2E encryption keeps people safe.”

Posted by jpluimers on 2023/09/24

This is why you don’t use Facebook Messenger (and use E2E encrypted messengers):

[Wayback/Archive] US mother sentenced to two years in prison for giving daughter abortion pills | Nebraska | The Guardian

Court documents in the case revealed that Facebook’s parent company Meta supplied police with the private Facebook messages that Celeste and Jessica Burgess had sent one another. In one message, Celeste told Jessica: “Remember we burn the evidence.”

Via

  1. [Waybacksave/Archive] Meredith Whittaker on X: “Facebook messages turned over by the company served as key evidence used to convict Jessica Burgess and her daughter. E2E encryption keeps people safe.”
  2. [Wayback/Archive] Max Burns on X: “People scoffed and said it was overdramatic to say that overturning Roe v. Wade would mean putting women in prison. Welcome to the new America. Nebraska Mom Who Gave Teen Daughter Abortion Pills Sentenced To Two Years In Prison”
  3. [Wayback/Archive] Nebraska Mom Who Gave Teen Daughter Abortion Pills Sentenced To Two Years In Prison

–jeroen

Posted in Facebook, Opinions, SocialMedia | Leave a Comment »

Elle Cordova on Twitter: “Alexa, Siri and the other bots hanging out in the server break room again”

Posted by jpluimers on 2023/09/23

Long live the Clippy bot!

[Waybacksave/Archive] Elle Cordova on X: “Alexa, Siri and the other bots hanging out in the server break room again

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Bookmarklet, ChatGPT, Development, GPT-3, GPT-4, JavaScript/ECMAScript, Office, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »

Viewing email in Linux using postfix’s mailq and postcat | Jeff Geerling

Posted by jpluimers on 2023/09/22

Since mail mostly “works” I use these below commands only very little and tend to forget them.

Luckily they were documented at [Wayback/Archive] Viewing email in Linux using postfix’s mailq and postcat | Jeff Geerling

Here are the most common commands I use when either developing or troubleshooting email in production:
  • mailq – print a list of all queued mail
  • postcat -vq [message-id] – print a particular message, by ID (you can see the ID along in mailq‘s output)
  • postqueue -f – process the queued mail immediately
  • postsuper -d ALL – delete ALL queued mail (use with caution—but handy if you have a mail send going awry!)

Via [Wayback/Archive] postfix process queue – Google Search two interesting answers (thanks [Wayback/A] Nicolas for asking):

Read the rest of this entry »

Posted in *nix, *nix-tools, postfix, Power User | Leave a Comment »

XPath based bookmarklets for Archive.is: more JavaScript fiddling!

Posted by jpluimers on 2023/09/20

As I promised a few months back in Bookmarklets for Archive.is and the WayBack Machine to go to the original page, moar JavaScript fiddling, this time with XPath based bookmarklets to navigate from Archive.is pages to Saved From, Redirected from, Via and Original pages.

An alternative would be using XPath as the additional fields are always structured in a table like the html below (taking complex pages like https://archive.ph/5iVVH and https://archive.ph/2015.11.14-044109/http://www.example.org/ as an example).

I got triggered to using XPath from this answer from [Wayback/Archive] gdyrrahitis at [Wayback/Archive] Javascript .querySelector find by innerTEXT – Stack Overflow (thanks [Wayback/Archive] passwd for asking):

Read the rest of this entry »

Posted in Agile, Bookmarklet, Code Quality, Code Review, Development, HTML, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development, XML/XSD, XPath | Leave a Comment »

I recently learned about the MacOS universal Shift-Option-Command-V keyboard shortcut: paste without formatting

Posted by jpluimers on 2023/09/19

Boy, two extra modifier keys: [Wayback/Archive] How to Strip Formatting When You Copy and Paste Text: 5 Ways

To paste as plain text on a Mac, you can use the somewhat cumbersome shortcut Option+Cmd+Shift+V to paste without formatting. This is a system-wide shortcut, so unlike Windows, it should work everywhere. Technically, the shortcuts pastes and matches the formatting, but this has the same effect of removing the original formatting.

Via [Wayback/Archive] macos word microsoft office paste without formatting – Google Search.

Paste without formatting is an issue on Windows as well. The default should be “paste without formatting” instead of the current “paste with source formatting”. See for instance these tweets:

Read the rest of this entry »

Posted in Apple, Classic editor, Development, Gutenberg editor, Mac OS X / OS X / MacOS, Office, Office 2011 for Mac, Power User, Software Development, Web Development, WordPress | Leave a Comment »