Skip to content

Instantly share code, notes, and snippets.

View jeffrafter's full-sized avatar
✨
You are amazing

Jeff Rafter (he/him) jeffrafter

✨
You are amazing
View GitHub Profile

Some Title

Some Description Some text

Click Me To Expand

#!/bin/zsh
# based on https://github.com/amber-sixel/PythonCatPrinter.git
# can be used as a raw postscript printer (a4, one page only) on port 9100
#
# status : curl --location --request GET 'localhost:5000'
#
# curl --location --request POST 'localhost:5000' \
# --form 'image=@"/image.jpg"' \ #optional
# --form 'text="hello world"' \ #optional
# --form 'size="48"' \ #optional
@pesterhazy
pesterhazy / building-sync-systems.md
Last active October 1, 2026 16:10
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles