Skip to content

Instantly share code, notes, and snippets.

View lily-mosquitoes's full-sized avatar

Lílian lily-mosquitoes

  • Custobar
  • Espoo, Finland
  • 07:02 (UTC +02:00)
View GitHub Profile
@hendi
hendi / rocket-sqlx.rs
Last active September 7, 2024 20:02
Rust: rocket with sqlx
#[macro_use] extern crate rocket;
use std::env;
use anyhow::Result;
use rocket::State;
use rocket::http::Status;
use sqlx::{Pool, Postgres};
@fnky
fnky / ANSI.md
Last active March 17, 2026 21:10
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

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