Skip to content

Instantly share code, notes, and snippets.

View mxrnx's full-sized avatar
🪕

Marnix Massar mxrnx

🪕
  • The Netherlands
View GitHub Profile
@DomDomHaas
DomDomHaas / pattern.h
Created May 30, 2023 08:28 — forked from aschuhardt/pattern.h
Playdate pattern definitions in a single-header C library
/*
* This is a collection of Playdate patterns compiled into a header-only library
* for use in C SDK projects.
*
* The pattern definitions listed here are copied directly from Ivan Sergeev's
* 'gfxp' library, which can be found here: https://github.com/ivansergeev/gfxp
*
*
* USAGE:
*
@andyrbell
andyrbell / scanner.sh
Last active December 6, 2025 20:48
Make a pdf look scanned using ImageMagick
# use ImageMagick convert
# the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf
convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf
@hraban
hraban / pre-commit.md
Last active April 18, 2024 06:46
Prevent accidentally committing debug code in Git