Skip to content

Instantly share code, notes, and snippets.

View hjalves's full-sized avatar
while coffee: yield self.develop(coffee.pop())

Humberto Alves hjalves

while coffee: yield self.develop(coffee.pop())
View GitHub Profile
@hjalves
hjalves / emoji-ranges.py
Created March 2, 2023 11:38
Calculate an improved unicode-range property, based on a previous one and the file "emoji-data.txt"
#!/usr/bin/env python
import urllib.request
EXISTING_RANGES = (
"U+00A9, U+00AE, U+203C, U+2049, U+20E3, U+2122, U+2139, "
"U+2194-2199, U+21A9-21AA, U+231A, U+231B, U+2328, U+23CF, "
"U+23E9-23F3, U+23F8-23FA, U+24C2, U+25AA, U+25AB, U+25B6, U+25C0, "
"U+25FB-25FE, U+2600-27EF, U+2934, U+2935, U+2B00-2BFF, U+3030, "
"U+303D, U+3297, U+3299, U+1F000-1F02F, U+1F0A0-1F0FF, "
"U+1F100-1F64F, U+1F680-1F6FF, U+1F910-1F96B, U+1F980-1F9E0"