Skip to content

Instantly share code, notes, and snippets.

View jpluimers's full-sized avatar

Jeroen Wiert Pluimers jpluimers

  • wiert.me
  • Amsterdam, The Netherlands
View GitHub Profile
@jpluimers
jpluimers / content.md
Last active January 11, 2026 20:22
20260110 - Crescendo Sassenheim - Winterconcert in 't Onderdak - linkjes naar mapjes met foto's gemaakt door Jeroen Wiert Pluimers

Foto's alleen gebruiken met als naamsvermelding Jeroen Wiert Pluimers.

Mapjes op Google Photo's:

Niet alle foto's staan netjes in het midden want iemand stootte helaas boven tegen het statief, wat ik met afstandbediening beneden vanuit de zaal niet kon zien.

@jpluimers
jpluimers / amazon-domains.json
Created December 12, 2025 17:06 — forked from AminulBD/amazon-domains.json
Amazon operating domains by country.
{
"us": "https://www.amazon.com",
"uk": "https://www.amazon.co.uk",
"ca": "https://www.amazon.ca",
"de": "https://www.amazon.de",
"es": "https://www.amazon.es",
"fr": "https://www.amazon.fr",
"it": "https://www.amazon.it",
"jp": "https://www.amazon.co.jp",
"in": "https://www.amazon.in",

Sintekerstennieuwcadeautips Leuke cadeautips! Voor nerds, maar ook normale mensen ;)

@jpluimers
jpluimers / code.js
Created November 22, 2025 18:01
Unsuccessful Browser client side HTTP redirect checker
var xhr = new XMLHttpRequest();
xhr.onload = function() {
if (this.status < 400 && this.status >= 300) {
console.log('request redirects to ' + this.getResponseHeader("Location"));
} else {
console.log('request does not redirect');
}
}
xhr.open('HEAD', 'https://t.co/Ui4Wmesq1j', true);
xhr.send();
@jpluimers
jpluimers / Bookmarklet.`.js
Created October 27, 2025 18:50
Bookmarklet for Archive.is to navigate to the canonical link with the "redirected from" instead of "saved from"
javascript: (function() {
canonical = document.querySelector('link[rel="canonical"]')?.href;
anchor = document.createElement("a");
anchor.href = canonical;
pathname = anchor.pathname;
separator = "/";
splitPathname = pathname.split(separator);
timestamp = splitPathname[1];
redirectFrom = document.querySelectorAll('input[readonly]')[0]?.value;
anchor.pathname = "";
@jpluimers
jpluimers / full-page.html
Last active September 2, 2025 14:02
404-text of University of Illinois at Urbana-Champaign ACM student charter SIGMIL at https://web.archive.org/web/20120119123151/http://www.acm.uiuc.edu/sigmil/ which showed from 2012 until at least 2024
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript"><!--
var tl=new Array(
"The requested document is no more.",
'No file found.',
The requested document is no more.
No file found.
Even tried multi.
Nothing helped.
Zilch.
Bupkis.
Not a sausage.
Maybe you just don't have the required security clearance?
No, I am sure it is my fault.
I probably deleted it on my last backup.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jpluimers
jpluimers / intro.md
Created May 30, 2025 19:07 — forked from ctalladen78/intro.md
Linking to SVG files hosted on github

https://github.com/potherca-blog/StackOverflow/blob/master/question.13808020.include-an-svg-hosted-on-github-in-markdown/readme.md


permalink: /question.13808020.include-an-svg-hosted-on-github-in-markdown/index.html

Linking to SVG files hosted on github

The purpose of raw.github.com is to allow users to view the contents of a file, so for text based files (SVG, JS, CSS, etc) this means you get the wrong headers and things break in the browser.