Skip to content

Instantly share code, notes, and snippets.

View smarek's full-sized avatar
💭
I may be slow to respond.

Marek Sebera smarek

💭
I may be slow to respond.
View GitHub Profile
@smarek
smarek / plant_uml_decoder.py
Created August 27, 2023 08:44 — forked from ryardley/plant_uml_decoder.py
PlantUML url encryption decoder
#!/usr/bin/env python3
import zlib
import base64
import string
import sys
plantuml_alphabet = (
string.digits + string.ascii_uppercase + string.ascii_lowercase + "-_"
)
base64_alphabet = string.ascii_uppercase + string.ascii_lowercase + string.digits + "+/"