Skip to content

Instantly share code, notes, and snippets.

View sandervh14's full-sized avatar

Sander Vanden Hautte sandervh14

  • Olympus Mobility
  • Belgium
  • 02:13 (UTC +01:00)
View GitHub Profile
@joshbode
joshbode / logging.py
Last active January 14, 2026 09:06
Colour Logging - Works in Jupyter Lab/Notebook
import sys
import logging
from typing import Optional, Dict
from colorama import Fore, Back, Style
class ColoredFormatter(logging.Formatter):
"""Colored log formatter."""
@centic9
centic9 / README.md
Last active March 7, 2026 09:34
notepad++ syntax highlighting for Dockerfiles, store at something like C:\Users\[user]\AppData\Roaming\Notepad++\userDefineLangs\userDefineLang_Dockerfile.xml

Notepad++ syntax highlighting for Dockerfiles

Store userDefineLang_Dockerfile.xml at %AppData%\Roaming\Notepad++\userDefineLangs\userDefineLang_Dockerfile.xml and select Language > Dockerfile in Notepad++.

Automatically apply style

Since Dockerfile has no extension, the style is not automatically applied.