Skip to content

Instantly share code, notes, and snippets.

View TomfromBerlin's full-sized avatar
💻
I may be slow to respond.

TomfromBerlin

💻
I may be slow to respond.
  • Berlin/Germany
  • 09:24 (UTC +01:00)
View GitHub Profile
@ConnerWill
ConnerWill / ANSI-escape-sequences.md
Last active December 10, 2025 14:08
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@vratiu
vratiu / .bash_aliases
Last active December 4, 2025 09:50
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset