Skip to content

Instantly share code, notes, and snippets.

View ehmo's full-sized avatar

Rasty Turek ehmo

View GitHub Profile
@mbafford
mbafford / README.md
Last active February 2, 2026 01:54
Compare two PDFs using ImageMagick - provides a visual comaprison and a perceptual hash comparison (numerical)

PDF tools for comparing PDFs visually (overlaying two PDFs to see changed areas) and using a perceptual hash (numerical value indicating visual difference between the two files).

Useful for command line review of PDFs and de-duplication. Configure git to use these tools for better PDF history / comparison in git.

These scripts require imagemagick and poppler. Both installed from homebrew.


Setup git to use a custom diff using:

@retlehs
retlehs / CC.md
Last active May 2, 2026 18:21
Backlinks for any domain via Common Crawl