Skip to content

Instantly share code, notes, and snippets.

@duplaja
duplaja / epub-fix-gui.py
Last active July 1, 2024 01:14
Kavita Epub Preparer
from pathlib import Path
import re
import subprocess
import tkinter as tk
from tkinter import filedialog
from tkinter import ttk
from tkinter import messagebox
def get_kavita_root():
@alexdawn
alexdawn / marshal.py
Last active October 24, 2021 13:52
tiny program for running with the Alien RPG Destroyer of World scenario, this gives a themeatic info dump for the terminal at the Marshal station. Run with `python marshal.py && exit` only uses core library should work with python 3.x. Looks much cooler if you run it with something like https://github.com/Swordfish90/cool-retro-term
import sys
import os
import random
import time
import datetime
# commtech system for marshall station Destroyer of Worlds
def slow_print(text):
for char in list(text):