Skip to content

Instantly share code, notes, and snippets.

@ordinaryexistence
ordinaryexistence / ANSI.md
Created August 11, 2021 22:42 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1b
  • Decimal: 27

Keybase proof

I hereby claim:

  • I am ordinaryexistence on github.
  • I am ianfoutch (https://keybase.io/ianfoutch) on keybase.
  • I have a public key ASAKy9PbH0Ivf_yZHr29zDLnQQoFAq7vvhGr1zytVSPbLQo

To claim this, I am signing this object:

@ordinaryexistence
ordinaryexistence / 0_reuse_code.js
Last active August 29, 2015 14:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ordinaryexistence
ordinaryexistence / gist:9626107
Last active August 29, 2015 13:57
Command line floating point arithmetic shell function using awk.
? () { awk "BEGIN{ print $* }" ;}