Skip to content

Instantly share code, notes, and snippets.

View raysubham's full-sized avatar

Subham Ray raysubham

View GitHub Profile
@raysubham
raysubham / SKILL.md
Created February 25, 2026 19:41 — forked from jsadoski-rockhall/SKILL.md
Logging Best Practices Skill
name description
Logging Best Practices
Use before implementing logs in a medium to large scale production system.

This skill is adpated from "Logging sucks. And here's how to make it better. by Boris Tane.

When helping with logging, observability, or debugging strategies, follow these principles:

Core Philosophy

// Implement a caching function
const addNumbers = (a, b) => {
for (let i = 0; i < 1000000000; i++) {
// Do nothing
}
return a + b;
};
console.time("First time");
@raysubham
raysubham / starship.toml
Last active December 11, 2022 14:22
Starship Config
add_newline = true
format = "$all"
[battery]
full_symbol = "🔋"
charging_symbol = "⚡️"
discharging_symbol = "💀"
disabled = true