Skip to content

Instantly share code, notes, and snippets.

View flyme2bluemoon's full-sized avatar
💭
trying to figure out how to say hello to the world

Matthew Shen flyme2bluemoon

💭
trying to figure out how to say hello to the world
View GitHub Profile
@flyme2bluemoon
flyme2bluemoon / twemoji-flags.css
Created May 18, 2021 01:56
CSS file with all Twitter's Twemoji flags in assigned as background image for classes with the format flag-xx where xx is the ISO country code.
i {
display: inline-block;
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
background-repeat: no-repeat;
background-position: center center;
background-size: 1em 1em;
}
@flyme2bluemoon
flyme2bluemoon / fry.py
Created February 23, 2021 04:53
fry you text cause doing it manually is hard 🥴
#!/usr/bin/python3
import random
string = input("Enter text: ")
for i in string:
if random.randint(0, 1):
print(i.capitalize(), end="")
else: