Skip to content

Instantly share code, notes, and snippets.

@zottelbeyer
zottelbeyer / setup.sh
Last active April 3, 2024 20:08
ipv6 on docker-pihole
# enable ipv6 in dockerd conf:
# cat /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2003::/64" # your ipv6. not sure if this is even necessary
}
# reload daemon conf:
sudo systemctl reload docker.service
#!/usr/bin/env python3
# Converts German Mediathek (ARD, ZDF, etc.) XML Subtitles into SRT Subtitle format.
# 2018-02-09
# Version 0.0.1
import re, sys
from bs4 import BeautifulSoup
if len(sys.argv) < 2:
print("Usage: subtitle_Mediathek_SRT.py <Subtitlefile>.xml")