Skip to content

Instantly share code, notes, and snippets.

View bggolding's full-sized avatar

Ben Golding bggolding

View GitHub Profile
### Keybase proof
I hereby claim:
* I am bggolding on github.
* I am bgg (https://keybase.io/bgg) on keybase.
* I have a public key ASCSCAqE_qRr7ULzd69RuelCmGEAxjw9rDrg7LraHIoWNAo
To claim this, I am signing this object:
@bggolding
bggolding / ql.sh
Last active July 26, 2022 05:13 — forked from chockenberry/ql.sh
QuickLook for macOS shell
#!/bin/sh
# usage:
# ql /tmp/file.jpg
# cat /tmp/file.jpg | ql
# cal -h | ql
if [ $# = 0 ]; then
TMP="/tmp/ql.$$.stdin"
trap 'rm -rf "$TMP" "$TEMP"' 0 1 2 15