Skip to content

Instantly share code, notes, and snippets.

View michaelfortunato's full-sized avatar
:shipit:
Thinking about groups

Michael Fortunato michaelfortunato

:shipit:
Thinking about groups
View GitHub Profile
#let typ(body) = html.elem(
"typ",
{
// distinguish parbreak from <p> tag
show parbreak: it => html.elem("typParbreak", "")
show linebreak: it => html.elem("typLinebreak", "")
show strong: it => html.elem("typStrong", it.body)
show emph: it => html.elem("typEmph", it.body)
show highlight: it => html.elem("typHighlight", it.body)
@michaelfortunato
michaelfortunato / job_control_zsh_bash.md
Created March 14, 2025 14:37 — forked from CMCDragonkai/job_control_zsh_bash.md
CLI: Job Control in ZSH and Bash

Job Control in ZSH and Bash

All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.

# run command in the foreground
command
# run commend in the background
@michaelfortunato
michaelfortunato / ANSI.md
Created October 6, 2023 17:58 — 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