Skip to content

Instantly share code, notes, and snippets.

View mothdotmonster's full-sized avatar
🏳️‍🌈
i'm gay

Chesapeake mothdotmonster

🏳️‍🌈
i'm gay
View GitHub Profile
@mothdotmonster
mothdotmonster / clarus.svg
Created January 8, 2023 04:19
Clarus the dogcow
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mothdotmonster
mothdotmonster / jwst-sparkle.svg
Created January 18, 2023 19:26
JWST diffraction inspired "sparkle" icon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mothdotmonster
mothdotmonster / jwst-sparkle-emoji-small.svg
Created January 18, 2023 19:37
Diffraction inspired sparkle emoji
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mothdotmonster
mothdotmonster / prime-zipper.py
Created June 7, 2023 04:30
turn a zip file into a prime number
import sympy as sp
fileName = "file.zip"
with open(fileName, mode="rb") as file:
fileContents = bytearray(file.read())
fileContents.append(255)
while not sp.isprime(int.from_bytes(fileContents)):
if (int.from_bytes(fileContents[-1:]) != 0):
print("bruteforcing " + str(int.from_bytes(fileContents[-1:])))
@mothdotmonster
mothdotmonster / wtfgfy.txt
Last active October 10, 2023 14:20
WTF+GFY Public License
Copyright <YEAR> <COPYRIGHT HOLDER>
0. Just DO WHAT THE FUCK YOU WANT TO.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so.
/**
* @name HideAnnoyingButtons
* @author moth.monster
* @description Hides annoying buttons
* @version 0.0.1
* @source https://gist.github.com/mothdotmonster/f86797dec05783b4a2738b387050e57c
*/
[aria-label="Send a gift"], [aria-label="Open GIF picker"], [aria-label="Open sticker picker"]{
display: none;