Skip to content

Instantly share code, notes, and snippets.

View gene1wood's full-sized avatar
🎩

Gene Wood gene1wood

🎩
View GitHub Profile
@gene1wood
gene1wood / Cheaper-WP3949550-3949550-8544817-rubber-aggitator-bolt-washer-gasket-for-Whirlpool-washing-machines.md
Last active January 25, 2026 22:06
Cheaper WP3949550 3949550 8544817 rubber aggitator bolt washer / gasket for Whirlpool washing machines

You can buy a WP3949550 3949550 8544817 rubber aggitator bolt washer online for $10 to $20 shipped for a single washer, but this seemed silly to me. Looking online, I couldn't find anywhere the exact dimensions of the washer so I could just get one from McMaster-Carr or Grainger.

So I spent the $15 and bought one and took measurements of it (so nobody else has to).

The washer is a rubber washer that has

  • OD Outer Diameter : 18.6mm : 3/4" : 0.7344"
  • ID Inner Diameter : 7.2mm : 5/16" : 0.2813"
@gene1wood
gene1wood / DIY-Replacement-elastic-belts-for-Givi-Monokey-top-case-equivalent-to-Z2106R.md
Last active January 25, 2026 21:51
DIY Replacement elastic belts for Givi Monokey top case equivalent to Z2106R

The elastic belts in my Givi Monokey V46.N top case are old and the elasticity is gone.

You can buy replacements from Givi for about $35 shipped, but given all that needs replacement is the elastic itself, that seems wasteful. Here's a way to replace just the elastic.

  1. Remove your existing elastic and anchor points. This video gives a great illustration of how to remove the waterproof rubber gasket and unscrew the retention screws for the anchros : https://www.youtube.com/watch?v=YWHHd3nmm_g
  2. Buy some 25mm wide elastic. I found lots of vendors on aliexpress.com selling them shipped for $4 or $5 for 4 meters. I used search terms like "25mm" "elastic bands". The one I bought (though it may be gone at the time you're reading this) is https://www.aliexpress.us/item/3256802906335899.html tited "4~8Meter 20mm/25mm/30mm/35mm/40mm/45mm/50mm White Black Nylon Highest Elastic Bands Garment Trousers Sewing Accessories"
@gene1wood
gene1wood / zoom_CDN_does_not_work_with_if-none-matched_header_and_ETags.md
Last active December 20, 2025 17:41
Zoom CDN does not work with If-Non-Matched header and ETags

The problem

When fetching a file from the Zoom CDN, the Zoom webservers are not following the HTTP standard around the If-None-Match header. As a result, it's not possible for a client to attempt to fetch a file and only receive the file if it differs from the one they already have locally.

How to show the problem

You can reproduce this problem by first fetching a file and recording the ETag

@gene1wood
gene1wood / get-aws-regions.bash
Created October 14, 2025 23:47
Get a list of all AWS regions enabled in the current account
aws account list-regions --region-opt-status-contains ENABLED ENABLED_BY_DEFAULT --query "Regions[*].RegionName" --output text
@gene1wood
gene1wood / attach-all-volumes.bash
Created October 14, 2025 22:42
Attach all volumes in a given AWS availability zone to a single instance in that zone.
#!/bin/bash
ZONE=$1
INSTANCE_ID=$2
letter=b
for vol in $(aws ec2 describe-volumes --filters Name=status,Values=available Name=availability-zone,Values=$ZONE --query "Volumes[*].{ID:VolumeId}" --output text); do
aws ec2 attach-volume --volume-id $vol --instance-id $INSTANCE_ID --device /dev/sd${letter}
letter=$(echo "$letter" | tr "0-9a-z" "1-9a-z_")
done
@gene1wood
gene1wood / generatekey-help.txt
Created September 13, 2025 21:51
Entrust nFast generatekey --help
/opt/nfast/bin/generatekey --help
generatekey, nshield (13.6.8-209-a5bd90a8)
Usage: generatekey [OPTIONS] APP [NAME=VALUE...]
Options:
Help options:
-h, --help Display help for `generatekey'.
-V, --version Display the version number of `generatekey'.
@gene1wood
gene1wood / example_output_from_Joseph_Riopelle_openssl_config_bash_parser.txt
Created August 28, 2025 23:37
Example output from Joseph Riopelle openss _config bash parser
ca_two,serial = $dir/serial
section_test0,var_test_ = boop
,DS = ${ENV::DS}
section_test0,dollarid_test = $var_test_
section_test0,var_test.1 = boop
section_test0,var_test.0 = boop
section_test0,var_test.3 = ${ENV::DS}
section_test0,var_test.2 = boop
ca_one,dir = /home/auhorities/ca_one
section_test0,escape_test = H30 N1B9i \# \\
@gene1wood
gene1wood / 00_last_plex_app_version_before_new_experience.md
Last active January 6, 2026 08:38
APK files for the last version of the Plex app before The New Plex Experience

This is the last version of the Plex Android App before the New Plex Experience was released.

You can roll back to this verion by uninstalling the new plex app you have installed, and then installing from these APKs

The "Google Play (arm64v8a)" APK is the one that's used on modern Google Pixel phones.

These files can also be found on Plex's download site (for now)

@gene1wood
gene1wood / AI Summary of Nociplastic pain towards an understanding of prevalent pain conditions.md
Created July 7, 2025 01:33
AI Summary of Nociplastic pain: towards an understanding of prevalent pain conditions

The document titled "Nociplastic pain: towards an understanding of prevalent pain conditions" is a comprehensive review published in The Lancet (2021) that introduces and elaborates on the concept of nociplastic pain, a third mechanistic category of chronic pain distinct from nociceptive and neuropathic pain.

🔍 Summary of Key Points:

1. Definition and Concept

  • Nociplastic pain is caused by altered nociceptive function without clear tissue damage or nerve injury.
  • It is typically associated with central nervous system (CNS) dysfunction, including amplified sensory processing, altered pain modulation, and non-pain symptoms like fatigue, poor sleep, mood disturbances, and memory issues.

2. Examples of Nociplastic Pain Conditions

@gene1wood
gene1wood / AI summary of Antidepressants for Pain Management in Adults with Chronic Pain: A Network Meta-Analysis.md
Last active July 7, 2025 01:33
AI summary of Antidepressants for Pain Management in Adults with Chronic Pain: A Network Meta-Analysis

Yes, here is a summary of the document titled:


Title: Antidepressants for Pain Management in Adults with Chronic Pain: A Network Meta-Analysis Published by: NIHR Health Technology Assessment, October 2024 DOI: 10.3310/MKRT2948 Lead Author: Hollie Birkinshaw et al.