Skip to content

Instantly share code, notes, and snippets.


Will Springer Skirmisher

  • Redmond, WA
View GitHub Profile
Skirmisher / ignore-sd-lock-switch.patch
Created Jul 18, 2021
SD card reader telling you the write-protect switch is set when it's not? This is the patch for you.
View ignore-sd-lock-switch.patch
From 70ad5fbe600b3e8adac086bcabf6cfb54259e819 Mon Sep 17 00:00:00 2001
From: Will Springer <>
Date: Sat, 17 Jul 2021 16:59:26 -0700
Subject: [PATCH] mmc: core: add module param to override SD lock switch state
Some card readers, with age, incorrectly read the physical write-protect switch
on SD cards as being enabled, to the frustration of the user. Such a defect may
be fixable by e.g. cleaning, but not everyone has compressed air on hand.
Further, replacing a malfunctioning reader is inconvenient when said reader is
built into the device, such as a laptop. Allow the user to ignore the switch
View 60-extlinux
header() {
echo "DEFAULT entry0" >> ${OUTFILE}
echo "MENU TITLE Boot menu" >> ${OUTFILE}
get_bootpath() {
echo ${1} | sed "s#${BOOTPART}/#/#"
View ppcle-ll-compat-sys.patch
From 98014e4b27063ed74313878233e91b7b52b2a031 Mon Sep 17 00:00:00 2001
From: Will Springer <>
Date: Tue, 9 Jun 2020 02:11:36 -0700
Subject: [PATCH] powerpc/compat32: swap hi/lo parts of 64-bit syscall args on
This allows compat_sys calls with 64-bit args to function correctly
when called by ppcle userlands on ppc64le.
Tested with `file /bin/bash` (pread64) and `truncate -s 5G test` (ftruncate64).
Skirmisher /
Last active Feb 27, 2019
A small wrapper script for pass ( that makes it easier to place GPG-encrypted files containing passwords outside of your normal pass directory. This avoids unnecessary git commits, which is nice if you want to place a particular set of passwords on cold storage as part of your security posture, for example.
# A wrapper script to use pass ( with arbitrary directories.
# Copyright (C) 2019 Will Springer
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.

Keybase proof

I hereby claim:

  • I am skirmisher on github.
  • I am skirmisher ( on keybase.
  • I have a public key ASDYMK9p7W7tXgs7HtQiWkHr25xOjwy5XcKRppXGlOLEwQo

To claim this, I am signing this object:

Skirmisher /
Created Aug 3, 2014
A little Python script that posts the latest xkcd comic to Tumblr, given the right conditions. Mostly by Physicynicism ( ), edited and cleaned up by me. And now has more things to be fixed!
import pytumblr, json, requests, datetime, io, sys
#get XKCD info with json
class Xkcd:
'''stores comic metadata
num -- the comic number as a string (default "''" for latest comic)
def __init__(self,num=''):
View console.txt
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input file
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)