Skip to content

Instantly share code, notes, and snippets.

View deli73's full-sized avatar
gemder

The Sunroses deli73

gemder
View GitHub Profile
@deli73
deli73 / thtml.py
Created March 23, 2022 04:42
a simple script that parses ".thtml" files (html files with <include href="whatever.html"/> elements) into html files a la merge.js
### is this a mess? absolutely. do i care? only a little bit.
import argparse, re, time, watchdog.events
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler, FileModifiedEvent, FileCreatedEvent
from pathlib import Path, PurePath
def main():
parser = argparse.ArgumentParser()
parser.add_argument("-i", "--input", type=str,

Keybase proof

I hereby claim:

  • I am deli73 on github.
  • I am deli73 (https://keybase.io/deli73) on keybase.
  • I have a public key whose fingerprint is F365 B851 1E50 3908 E601 9B1E 22B4 1D30 C18B 1EA9

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am deli73 on github.
  • I am deli73 (https://keybase.io/deli73) on keybase.
  • I have a public key whose fingerprint is 5038 5F63 B7D4 D26E 4FF2 B4F3 F316 70E0 6FF3 2D60

To claim this, I am signing this object: