Skip to content

Instantly share code, notes, and snippets.

View lordjabez's full-sized avatar
🔧
https://makingofthings.com

Judson Neer lordjabez

🔧
https://makingofthings.com
View GitHub Profile
@lordjabez
lordjabez / generate-scans.py
Created June 7, 2022 00:24
Python script to make a set of images look like they were scanned
#!/usr/bin/env python3
# Pre-requisite: brew install imagemagick
# Usage: ./generate-scans.py NUM_SCANS_PER_FILE
import multiprocessing
import random
import subprocess
import os
import sys
@lordjabez
lordjabez / decode-git-object.py
Last active April 6, 2023 12:20
Python script to decode a git object
#!/usr/bin/env python3
import sys
import zlib
# Installation:
# curl -s https://gist.githubusercontent.com/lordjabez/7f24c848a1424365617300b0d9bc2d04/raw/67797f4fc6e19c48acff1188a47848f314f9e9e0/decode-git-object.py > /usr/local/bin/decode-git-object
# chmod +x /usr/local/bin/decode-git-object
# Usage:
### Keybase proof
I hereby claim:
* I am lordjabez on github.
* I am jneer (https://keybase.io/jneer) on keybase.
* I have a public key ASDY26yEphfbDcRODnVHUAJrTu0K49Px-VH4sRdzyqTg0Qo
To claim this, I am signing this object: