Skip to content

Instantly share code, notes, and snippets.


Jeroen Wiert Pluimers jpluimers

  • Amsterdam, The Netherlands
View GitHub Profile
jpluimers / tweet-to-video-JSON-bookmarklet.url
Last active September 23, 2023 17:25
Get Tweet JSON from Twitter containing the mp4 Video URLs
View tweet-to-video-JSON-bookmarklet.url
javascript:{ tweetID = document.location.href.split('/').filter(e => e).slice(-1); url = new URL(`${tweetID}&token=!`); open(url); }
jpluimers /
Last active September 14, 2023 20:31
Scripts for "Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs"
// 85080
jpluimers / gist:e7bf559bd5ab72495abd4f17dc873777
Created August 29, 2023 06:06 — forked from tayvano/gist:6e2d456a9897f55025e25035478a3a50
complete list of ffmpeg flags / commands
View gist:e7bf559bd5ab72495abd4f17dc873777
Originall From: Posted 2015-05-29
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
jpluimers /
Created August 29, 2023 06:05 — forked from paius1/
Normalize audio in a file using ffmpeg-filter compand
#!/usr/bin/env bash
# Normalize audio stream in video file so explosions don't cover up dialogue
# For PcManFm custom actions using ffmpeg and yad
# Many thanks to Rupert Plumridge for the code to create a progress bar
# &
# for bash uri parser
# &
View chocolatey.log
2023-07-27 13:34:47,915 18976 [DEBUG] - XmlConfiguration is now operational
2023-07-27 13:34:47,960 18976 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,961 18976 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,962 18976 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,962 18976 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,962 18976 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,963 18976 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,963 18976 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-07-27 13:34:47,964 18976 [DEBUG] - Adding new ty
jpluimers /
Created July 26, 2023 10:24 — forked from yiays/
How to setup OpenSSH for Windows for ProxyJumping



ProxyJumping is a method used to get access to a terminal in a private network via SSH.

First, you SSH into a JumpGate (a SSH server exposed to the internet), and then use that JumpGate to pass through a SSH connection to a machine on the JumpGate's local network. By the end of this guide, you should be able to seamlessly connect to a remote private host through a JumpGate with one parameter in a ssh command.

Security should always be paramount when establishing connections like this because the password of a JumpGate can and will be brute-forced by bots on the internet constantly.

Compatiblilty notes

The provided client-side commands are intended for PowerShell. Open PowerShell by right-clicking on the start menu button and selecting Windows Powershell.

jpluimers / rsync.xml
Created July 24, 2023 14:32 — forked from ddebin/rsync.xml
ESXi service description for rsync in daemon mode.
View rsync.xml
<rule id="0000">
<rule id="0001">
jpluimers / bookmarklet.url
Created July 19, 2023 14:06
Bookmarklet which prompts an HTML anchor with the canonical post address
View bookmarklet.url
javascript:{var postID=document.getElementsByName("comment_post_ID")[0]?.value; a=document.createElement("a"); a.href=HighlanderComments.connectURL; a.pathname='';`?p=${postID}`; a.hash='';"blank"; a.rel="noopener"; a.text=document.querySelector('meta[property="og:title"]')?.content; prompt("Anchor", a.outerHTML); }
jpluimers / bookmarklet.url
Last active July 19, 2023 15:43
Bookmarklet which allows me to edit the blog post I am viewing (which works for for preview and unpublished posts as well)
View bookmarklet.url
javascript:{ var postID = document.getElementsByName("comment_post_ID")[0]?.value; var a = document.createElement("a"); if (postID === undefined) { a.href = document.querySelector('link[rel="EditURI"]').href; var searchParams = new URLSearchParams(; postID = searchParams.get("p");} else { a.href=HighlanderComments.connectURL; }; a.pathname='wp-admin/post.php';`post=${postID}&action=edit&classic-editor`; a.hash=''; open(a.href); }
jpluimers / enableMastodonPublishing.js
Last active July 3, 2023 13:22
JavaScript Bookmarklet for the WordPress classic editor which enables mastodon publishing (assuming you have at least one mastodon publishing account enabled under /
View enableMastodonPublishing.js
publicizeFormEditHref = document.getElementById('publicize-form-edit'); // "edit" href
if(publicizeFormEditHref) {;
mastodonCheckboxes = document.getElementsByClassName('wpas-submit-mastodon'); // any Mastodon checkboxes (one can have zero or more accounts configured)
Array.from(mastodonCheckboxes).forEach((mastodonCheckbox) => {
mastodonCheckbox.checked = true;
publicizeFormHideHref = document.getElementById('publicize-form-hide'); // "OK" button disguised as href