Skip to content

Instantly share code, notes, and snippets.

View piperswe's full-sized avatar

Piper McCorkle piperswe

View GitHub Profile

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:

@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;
@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 / 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 / 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 / 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