Skip to content

Instantly share code, notes, and snippets.

View ryx's full-sized avatar
🕶️
Never stop learning

Rico Pfaus ryx

🕶️
Never stop learning
  • Berlin, Germany
View GitHub Profile
@onlurking
onlurking / programming-as-theory-building.md
Last active September 11, 2026 01:56
Programming as Theory Building - Peter Naur

Programming as Theory Building

Peter Naur

Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct

@jlyonsmith
jlyonsmith / Mac Keyboard Symbols.md
Last active August 7, 2026 12:53 — forked from Zenexer/Mac Keyboard Symbols.md
List of Mac/Apple keyboard symbols

Common symbols

Modifiers

When a key combination is displayed, the modifiers are written in the order presented here. For example, Control + Option + Shift + Command + Q would be written as ⌃⌥⇧⌘Q.

Sym Key Alt
⌃ Control
⌥ Option
@0x263b
0x263b / colors.md
Last active September 25, 2026 14:47
Random color from string in javascript

Random color from string in javascript

Consider a list of strings you need to permanently assign a random color.

First you should turn the string into a hash.

var string = "string"
var hash = 0