Skip to content

Instantly share code, notes, and snippets.

View lukasgabriel's full-sized avatar
🗿

Lukas Gabriel lukasgabriel

🗿
View GitHub Profile
@sodiboo
sodiboo / emogex.md
Last active May 22, 2024 09:42
Emogex reference document

Emogex

Hi, emogex is an esoteric regular expression language based entirely on emojis. It was originally created as a joke at the @happyautomata twitter bot under this thread.

I've ended up actually using it regularly because i solve those FSMs to regexes on my phone, and it's more convenient to use emoji-based syntax because it's on the same keyboard as the language characters.

I've also noticed that other people (well, it's just this one guy so far at least two people) are now using emogex unironically to solve them, so i thought it's about time to write it all in a single document so you can more conveniently reference all the features of the language with

@timrprobocom
timrprobocom / AveryLabels.py
Last active May 28, 2024 12:22
A class to manage printing on Avery labels with ReportLab
import os
from collections.abc import Iterator
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import LETTER, landscape
from reportlab.lib.units import inch
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
# Usage:
# label = AveryLabels.AveryLabel(5160)
@colinvh
colinvh / aws.md
Last active May 24, 2024 23:35
AWS Region Names

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes