[Wayback] Archive.is blog — What is the long version of the url please. …
Click on “share” button to see different forms of linking to a page.
For example
https://archive.vn/Aoans/share
So there are two tricks:
Posted by jpluimers on 2024/07/10
[Wayback] Archive.is blog — What is the long version of the url please. …
Click on “share” button to see different forms of linking to a page.
For example
https://archive.vn/Aoans/share
So there are two tricks:
Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »
Posted by jpluimers on 2024/07/09
Related to WhatsApp Desktop for Mac or PC cannot only chat but also voice and video call: installing WhatsApp from the command-line.
That was easy to do via winget:
c:\temp>winget install -e --id WhatsApp.WhatsApp Found WhatsApp [WhatsApp.WhatsApp] Version 2.2222.12 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://web.whatsapp.com/desktop/windows/release/x64/WhatsAppSetup.exe ██████████████████████████████ 145 MB / 145 MB Successfully verified installer hash Starting package install... Successfully installed
This was a while ago, so the version number by now is dated, but it is about the command winget install -e --id WhatsApp.WhatsApp
Via:
https://apps.microsoft.com/store/detail/whatsapp-desktop/9NKSQGP7F2NH–jeroen
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 10, Windows 11, winget | Leave a Comment »
Posted by jpluimers on 2024/07/02
When sharing YouTube videos via the mobile apps, they are shortened using the youtu.be domain.
So this is a reminder to write a Bookmarklet based URL-shortener myself for this and extend it so it also understands the various YouTube URL parameters (like start time).
The transformation is documented:
Posted in Bookmarklet, Conference Topics, Conferences, Development, Event, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/06/25
Every once in a while, b0rk (Julia Evans, of [Wayback/Archive] wizard zines fame) asks interesting questions like below that results in lot of cool links.
I have blogged assemblies of them before (see for instance Lots of interesting git links via b0rk on Twitter) and this one is no different:
[Wayback/Archive] Julia Evans on Twitter: “what are some helpful programming learning games? thinking of things like mystery.knightlab.com for SQL, and flexboxfroggy.com, and ohmygit.org especially interested in games that have helped you learn something”
The response was overwhelmingly good (I tried to indicate when games are not free or not playable from a web browser). I summarised it below.
Posted in *nix, *nix-tools, Conference Topics, Conferences, CSS, Database Development, Development, DVCS - Distributed Version Control, Event, Games, git, Multi-Threading / Concurrency, Power User, RegEx, Scripting, sh, Sh Shell, Software Development, Source Code Management, SQL, Web Development | Leave a Comment »
Posted by jpluimers on 2024/06/12
Sometimes normal html tables are better suited than the more style friendly div tables, as they better suit the underlying data and are easier when you need column or row spans using the colspan and rowspan html attributes, explain semantics better, and … display as tables even without styling!
Converting from div tables to normal html tables is not as straightforward than from normal html tables to div tables.
So here are some links that helped me with both div tables and the conversion:
in case someone needs to convert on the-fly:
var div2table = $('.outer-div ').map(function () { var issue = $(this); var trline = issue.find('.inner-div').map(function () { return '<td>' + $(this).text(); }).get().join('</td>'); return '<tr>' + trline; }).get().join('</tr>');
div2table = '<table>' + div2table + '</table>';where divs are
<div class='outer-div'><div class='inner-div'>this will be 1st TD</div>.....</div>
You could use JavaScript to create a
table, loop through all the.rowand.columnelements in thedivto popultate it, remove thedivand append thetable. Here’s something I threw together very quickly to get you started. (I commented out the line that removes thedivso you can see both in the results).
–jeroen
Posted in Development, HTML, JavaScript/ECMAScript, jQuery, Scripting, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2024/06/04
Cool technology:
[Wayback/Archive] maartensukel/example-textual-classification-citizen-reports: Example of a simple textual classification using TF-IDF and LR.
The classification is done by using a TF-IDF (Term Freuqency – Inversed document frequency) as representation for the text and a logistic regression to classify the text. Optimal hyperparameters for the dataset are found using a gridsearch.
Author: [Wayback/Archive] Maarten Sukel (@MaartenSukel) / Twitter
The source is based on Python Pandas and sci-kit learn (also known as sklearn).
Posted in Development, Pandas, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2024/05/29
I have a hard time remembering all those ImageMagick parameters, so I was glad that Stephan posted this: [Wayback/A] Processing a Number of Image Files – Seaside Testing
Via: [Wayback/Archive] Stephan Kämper on Twitter: “Another note to self: How I can resize image files using @ImageMagick. ➙ …”
–jeroen
Posted in Development, Image Editing, ImageMagick, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2024/05/23
More than a decade ago I wrote about Programmatic alternatives to Windows-L keyboard shortcut (SwitchUser / LockWorkstation).
Still, I see many scripts invoke rundll32.exe or to call the [Wayback/Archive] LockWorkStation function (winuser.h) inside user32.dll. Don’t!
The BOOL LockWorkStation()function has a calling convention that is incompatible with rundll32.exe () which will corrupt the call stack likely will lead to random problems as after two decades, this post from Raymond Chen still holds: [Wayback/Archive] What can go wrong when you mismatch the calling convention? – The Old New Thing
Posted in .NET, Batch-Files, C#, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Security, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Server 2016 | Leave a Comment »
Posted by jpluimers on 2024/04/30
Since I had only one read-only account and the Fierit ECD system won’t sent me update notifications on that account, I have collected some links before actually doing deeper investigation to see how to build a push notification system around it.
Link dump:
Posted in Bookmarklet, Chrome, Development, Google, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2024/04/25
I made [Wayback/Archive] Rebecca Skinner on Twitter: “Type systems are an accessibility tool for programming with ADHD.” stronger in the post title, as I have been a proponent of stronger typed environments for all my programming life.
Yes, (unit) tests and tooling can alleviate this in part for more weakly typed languages but lots of people forget (or “forget”) putting these in place.
So please please: make your development environment as strictly typed as possible.
Not just your ADHD colleagues will applaud you for this, but your future self will as well.
Posted in Awareness, Development, Scripting, Software Development | Leave a Comment »