Skip to content

Instantly share code, notes, and snippets.

View piperswe's full-sized avatar

Piper McCorkle piperswe

View GitHub Profile
@piperswe
piperswe / MD5SUMS
Last active June 14, 2023 21:35
Microsoft (Windows, Office, VS, etc.) Retail (& more) Disc Hashes
faa10234a00ce3633f9ab5e12291a753 Microsoft Windows Vista Ultimate 32-bit (Part No. X12-25517-02).iso
5c8adcb2308078183657fd5b3b763348 Microsoft Windows Vista Ultimate 64-bit (Part No. X12-29482-02).iso
80ba2180008221a5e08f0c45b6d56efc Microsoft Windows 7 Ultimate 32-bit (Part No. X15-60560-01).ISO
c82c6b6715d2836f79d746309cf01c03 Microsoft Windows 7 Ultimate 64-bit (Part No. X15-60561-01).ISO
7dd36fea0d004acfedbdb3a5521ef5ff Microsoft Windows 8.1 Pro 32-bit (Part No. X18-92416-01).ISO
f104b78019e86e74b149ae5e510f7be9 Microsoft Windows 8.1 Pro 64-bit (Part No. X18-92417-01).ISO
7d4bb089214aed9bc96e5b04fee71cd7 Microsoft Windows Server 2003 Standard Edition (Part No. X09-45627).iso
d9f6b6bf2c5de4e4b87ca238c9748b76 Microsoft Office Professional Edition 2003 Disc 1 (Part No. X11-34966).iso
19d30298e988a91344b6b7e0a21fec91 Microsoft Office Professional Edition 2003 Disc 2 (Part No. X11-34972).iso
b441d235839eeabd16eb66241236bbaa Microsoft Office Professional Edition 2003 Service Pack 2 (Part No. X11-7462
@piperswe
piperswe / apply.sh
Created July 18, 2022 22:16
ExifTool script for scans of Kodak FunSaver negatives
exiftool \
-Make='Kodak' \
-Model='FunSaver' \
-FocalLength='30 mm' \
-MinFocalLength='30 mm' \
-MaxFocalLength='30 mm' \
-FocalLengthIn35mmFormat='30 mm' \
-MaxApertureValue='11' \
-LensMake='Kodak' \
-LensSpec='30mm f/11' \
@piperswe
piperswe / install_cloudflared.sh
Last active May 24, 2022 18:37
Install cloudflared with a curl|bash
#!/bin/bash
set -euxo pipefail
# Read over the script first, then run with:
# wget -qO- https://gist.githubusercontent.com/piperswe/82750ef642d71900ca770a98cbbdf72d/raw/install_cloudflared.sh | bash
# or
# curl https://gist.githubusercontent.com/piperswe/82750ef642d71900ca770a98cbbdf72d/raw/install_cloudflared.sh | bash
# It's rather unknown what versions are actually supported because
@piperswe
piperswe / build_push_and_run.sh
Created April 17, 2021 01:53
Build multi-architecture Docker images with Nix
#!/bin/sh
# Required on macOS because cctools is marked as broken
export NIXPKGS_ALLOW_BROKEN=1
nix run -f image.nix -c push
docker run ghcr.io/piperswe/hello
@piperswe
piperswe / Roam-tufte.css
Last active February 25, 2021 00:51 — forked from jchen1/Roam-tufte.css
Make it suitable for use with Stylish, without external imports (other than Google Fonts)
@-moz-document domain("roamresearch.com") {
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Source+Code+Pro&display=swap');
:root {
--text-size-xs: 0.69rem;
--text-size-sm: 1rem;
--text-size-md: 1rem;
--text-size-2xl: 1.7rem;
--text-size-3xl: 2.2rem;
--text-size-4xl: 3.2rem;

Keybase proof

I hereby claim:

  • I am piperswe on github.
  • I am pmc_ (https://keybase.io/pmc_) on keybase.
  • I have a public key ASDPF-M8sh2ZZoGf_ZJKpp1Mjg0x4-W7C9XEL9e_YG1D3Qo

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
.file "sqlite3.c"
.intel_syntax noprefix
.section .rodata
.LC0:
.string "COMPILER=gcc-6.3.0 20170516"
.LC1:
.string "THREADSAFE=1"
.section .data.rel.ro.local,"aw",@progbits
.align 16
.type sqlite3azCompileOpt, @object
@piperswe
piperswe / file
Last active February 26, 2017 18:55
freedom_public
{"0.506508292865619":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEvXL3s6paIkMktkBMMiA/s/xeCMWh+sX/\r\nBW1EVKRjlmQu2/yVtH8yDo9TODwRmYCyR1EL8bsuxWBE5VH2g2yBfc3/AAAACDxn\r\naXRodWI+wv8AAACOBBATCABA/wAAAAWCWKhsk/8AAAACiwn/AAAACZCowice6AFo\r\nEv8AAAAFlQgJCgv/AAAABJYDAQL/AAAAApsD/wAAAAKeAQAAgyUA/2zJhF1KtlE7\r\nqDBYq9hutlXYLnYYZ7G6AOY29IbJHUPEAQCtd+iLkgfwLAkkywgNHePWEYlbTcUb\r\nCRqjwXq6CmSVpM7/AAAAVgQAAAAAEggqhkjOPQMBBwIDBGgSDJcTOV68YA5WvM58\r\n+88EaP73D0+FR2HeHNWwLQtfsbuyjG87nWBRVbEDfQpw6yWH80+CqRkRoPWInjiF\r\nss4DAQgHwv8AAABtBBgTCAAf/wAAAAWCWKhsk/8AAAAJkKjCJx7oAWgS/wAAAAKb\r\nDAAArO4A/1UGgTRSWYCNWxHEXLYFB/5f7Sn77ol+q6RqOOO3ivl1AP9XVJr3bF0B\r\nPRxK9btsHz7OjxsYwBVOr6W00fG38r+4dw==\r\n=xyAA\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n","0.7251618395594919":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEvXL3s6paIkMktkBMMiA/s/xeCMWh+sX/\r\nBW1EVKRjlmQu2/yVtH8yDo9TODwRmYCyR1EL8bsuxWBE5VH2g2yBfc3/AAAACDxn\r\naXRodWI+wv8AAACOBBA
@piperswe
piperswe / openpgp.txt
Created December 4, 2016 20:43
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:803a0f4782adddea46be055ff8f9db8c1a546398]
@piperswe
piperswe / install consolas on os x with one command
Last active April 8, 2019 10:06
Install Consolas on OS X (based on avalonalex/8125197)
Thanks to this Gist: https://gist.github.com/avalonalex/8125197
How to use: Make sure Homebrew is installed then run `curl https://gist.githubusercontent.com/zebMcCorkle/fa4508e27f457d7b796ffd474be35d62/raw/59942466b13fe92d09b4b537cc7fcfb309c05c4a/consolas.sh | bash -`