Skip to content

Instantly share code, notes, and snippets.

View TheNitron's full-sized avatar

Nitron TheNitron

View GitHub Profile
@TheNitron
TheNitron / hide-image.py
Last active July 28, 2022 21:34 — forked from phecdaDia/hide-image.py
Changing image on click in discord.
import matplotlib.pyplot as plt
import sys, getopt
# don't fucking ask me how this works
magic_header = """
00 00 00 04 67 41 4D 41 00 00 27 10 4C 57 C2 4C
00 00 00 20 63 48 52 4D 00 00 87 0B 00 00 8C 0F
00 00 FD 51 00 00 81 40 00 00 7D 76 00 00 E9 90
00 00 3C E5 00 00 19 CD 21 AE 5C 4A
00 00 00 DB 69 43 43 50 49 43 43 20 50 72 6F 66