Every few weeks I'd end up rewriting the same 10 things from scratch: rate limiter middleware, webhook signature check, retry-with-backoff, connection pool config.
So I built AutoSnippets. 50 snippets across Python, JS, TS, Java, C#, C++, Go, PHP, Rust, and SQL. All production-ready, and even more are being made.
Favorites of mine:
- Go channel-based worker pool (snippet #32)
- Rust Arc + Mutex safe counter (#41)
- SQL recursive CTE for org charts (#50)
- PHP RBAC in like 8 lines (#38)
Top comments (1)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.