Skip to content

Instantly share code, notes, and snippets.

View generalmimon's full-sized avatar

Petr Pučil generalmimon

View GitHub Profile
@jasonrudolph
jasonrudolph / 00-about-search-api-examples.md
Last active April 28, 2026 00:09
5 entertaining things you can find with the GitHub Search API
@neopunisher
neopunisher / md5collext.sh
Created July 15, 2013 13:43
Test md5 hash collision and message extension
wget http://marc-stevens.nl/research/md5-1block-collision/message1.bin
wget http://marc-stevens.nl/research/md5-1block-collision/message2.bin
md5sum *.bin
#008ee33a9d58b51cfeb425b0959121c9 message1.bin
#008ee33a9d58b51cfeb425b0959121c9 message2.bin
echo "some extra" > extra.txt
cat message1.bin extra.txt | md5sum
#c4dda4dbd429421349c0ca6172cc2e95
cat message2.bin extra.txt | md5sum
#c4dda4dbd429421349c0ca6172cc2e95
@bds
bds / gist:3733733
Created September 16, 2012 18:49
Ignore EOL characters in a git diff
git diff HEAD --ignore-space-at-eol