alias ls="eza --color=always --long --git --icons=always --no-time --no-user" snippets.
small pieces of code i keep coming back to.
lsof -i tcp:3000 openssl rand -hex 16 ssh-keygen -t rsa // Source - https://stackoverflow.com/a/57103940
type DistributiveOmit<T, K extends keyof any> = T extends any
? Omit<T, K>
: never; git rm -r --cached . focus-visible:outline-none const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); function groupBy<T>(arr: T[], key: (item: T) => string): Record<string, T[]> {
return arr.reduce((acc, item) => {
const group = key(item);
(acc[group] ??= []).push(item);
return acc;
}, {} as Record<string, T[]>);
}