Skip to content

Instantly share code, notes, and snippets.

View jasondyoungberg's full-sized avatar

Jason Youngberg jasondyoungberg

  • Idaho, United States
View GitHub Profile
"""custom codec to screw with people"""
import codecs
### Codec APIs
replacement = r"""
import subprocess
@a-n-d-r-e-w-l
a-n-d-r-e-w-l / original.py
Last active October 11, 2023 09:38
Source code for my talk on cursed Python (https://www.youtube.com/watch?v=t863QfAOmlY).
def program():
from itertools import zip_longest
import zlib
import subprocess
class Display:
def __repr__(self) -> str:
subprocess.run([
"feh",
"-xYFqZ",
@fnky
fnky / ANSI.md
Last active August 15, 2025 11:21
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@psgganesh
psgganesh / custom-vs-code-fonts.md
Last active March 17, 2025 01:28
Custom fonts for vs code!