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 / archive-dns-issue.md
Created June 15, 2026 11:10 — forked from ardislu/archive-dns-issue.md
Reference note about archive.today and Cloudflare DNS.

Problem

If you use Cloudflare's DNS (1.1.1.1), then the popular web archive archive.today (and the related sites archive.ph, archive.is, archive.li, archive.vn, archive.md, and archive.fo) will either fail to resolve, or show an infinite CAPTCHA loop. If it does resolve when you're on Cloudflare's DNS, you may have the domain locally cached.

Solution

Fix this problem by:

  • Configuring dnsmasq on your local DNS server to use an alternate DNS server for archive.today (see comment from @joshenders below), or
  • Connecting to a VPN before connecting to archive.today (only works if the VPN uses different DNS servers), or
@jpluimers
jpluimers / delete_thumbsdb.sh
Created June 9, 2026 14:42 — forked from NicoDeLarge/delete_thumbsdb.sh
Recursively delete Thumbs.db
#!/bin/bash
# Recursively delete all files named Thumbs.db starting from the given path (default: current directory)
# Usage: ./delete_thumbsdb.sh [--dry-run] [path]
DRY_RUN=false
TARGET_DIR="."
for arg in "$@"; do
case "$arg" in
@jpluimers
jpluimers / automatedManualCertbotRenewal.sh
Created May 18, 2026 12:05 — forked from AnthonyWharton/automatedManualCertbotRenewal.sh
FreeDNS (afraid.org) Cerbot/Let's Encrypt Manual Automation Script
#!/bin/bash
# Copyright 2018, Anthony Wharton
# Single script that can be called that generates certificates using the
# certbotFreeDNSAuthHook.sh and certbotFreeDNSCleanupHook.sh scripts.
# This should be used as guidence of my usage, and changed to your needs. Note
# the generic `/path/to/...` and `DOMAIN.COM`, which should be replaced with
# your script location and domain respectively. In addition, for this to be
# used on a live system, one must remove the `--dry-run` flag.
@jpluimers
jpluimers / Makefile
Created February 20, 2026 05:26 — forked from nfarring/Makefile
ebert: Ethernet Bit Error Rate Tester
CFLAGS=-std=gnu99 -O3
LDFLAGS=-lrt -lgmp
.PHONY: all
all: ebert
ebert: ebert.c time.o profile.o
time.o: time.c time.h
@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",
@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.

@jpluimers
jpluimers / tootski.md
Created March 24, 2025 13:25 — forked from kentbrew/tootski.md
Tootski, a sharing bookmarklet for Mastodon

Tootski, a sharing bookmarklet for Mastodon

Kent Brewster

Tootski is a bookmarklet that will share the page you're on to your Mastodon instance, including the title, address, and any text you may have selected. If you have any questions or need help, please find me at https://xoxo.zone/@kentbrew.

Before You Begin

You need to know the name of your Mastodon instance if it's not mastodon.social. To find it, visit your home page on Mastodon and copy out the part between the second and third slash. My home URL looks like this:

@jpluimers
jpluimers / finding_twitter_user_id.md
Created March 21, 2025 17:45 — forked from kentbrew/finding_twitter_user_id.md
Finding Twitter User IDs

Finding Twitter User IDs

User accounts on Twitter are commonly identified by screen name, which may be changed by operators when they take over an account, or have been sitting on an old account for a long time and want to transition it into malicious use.

User IDs, however, are permanent. There are several services out there that will try to find them for you but it seems like a bad idea to me, since you're alerting them to the fact that there's something interesting about this account. There's also plenty of bad advice that uses many long-since-abandoned Twitter API endpoints.

As of this writing (2018-02-18) you can view source and search for /profile_banners/, which will show something like this:

.enhanced-mini-profile .mini-profile .profile-summary {
@jpluimers
jpluimers / amazon-domains.json
Created February 15, 2025 11:27 — forked from juanmanavarro/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",
@jpluimers
jpluimers / amazon.md
Created February 15, 2025 10:39 — forked from noraworld/amazon.md
List of country-specific domains for Amazon.com