This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; You must run regedit as TrustedInstaller to import this | |
; Use https://github.com/M2TeamArchived/NSudo to do this | |
; Application Registration | |
[HKEY_CLASSES_ROOT\paint.net.1] | |
@="paint.net Image" | |
"FriendlyTypeName"="paint.net Image" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# encoding: utf-8 | |
# Absolute TRUE process exit handling (atexit is psuedo-atexit, this is TRUE atexit!) | |
__all__ = ['register','unregister'] | |
import sys | |
import os | |
from pathlib import Path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/user/bin/env python3 | |
# encoding: utf-8 | |
"""Use instead of `python3 -http.server 8000` when you need CORS""" | |
from sys import stdout | |
from datetime import datetime | |
from http.server import HTTPServer, SimpleHTTPRequestHandler | |
from atexit import register as atexit | |
# For logging (to both console and file) |