Skip to content

Instantly share code, notes, and snippets.

View bnjmnjrk's full-sized avatar

Benjamin Jurk bnjmnjrk

  • 12:29 (UTC +01:00)
View GitHub Profile
@ityonemo
ityonemo / test.md
Last active March 12, 2025 13:39
Zig in 30 minutes

A half-hour to learn Zig

This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

Basics

the command zig run my_code.zig will compile and immediately run your Zig program. Each of these cells contains a zig program that you can try to run (some of them contain compile-time errors that you can comment out to play with)

@fnky
fnky / ANSI.md
Last active March 14, 2025 01:54
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

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