Skip to content

Instantly share code, notes, and snippets.

View matanlurey's full-sized avatar

Matan Lurey matanlurey

View GitHub Profile
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active November 4, 2024 07:33
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
anonymous
anonymous / playground.rs
Created September 4, 2015 20:29
Shared via Rust Playground
struct Scanner {
input: String,
output: Vec<Token>
}
#[derive(Debug)]
enum Token {
Integer(i64),
Addition,
Subtraction,