Skip to content

Instantly share code, notes, and snippets.

@vzhd1701
vzhd1701 / enex_detect_bad_images.py
Created October 18, 2023 14:24
Parse enex file and find images that don't have matching resource
import base64
import hashlib
import sys
from collections import defaultdict
from pathlib import Path
from io import BytesIO
from lxml import etree
@vzhd1701
vzhd1701 / vlc_http_proxy.py
Last active June 1, 2022 06:04
How to use http proxy with python-vlc (libvlc)
import os
import platform
import time
from pathlib import Path
import vlc
if __name__ == "__main__":
# win32
# reads config