Curated collection of production-ready templates, code snippets, themes, and tools. Copy, paste, and deploy.
Find exactly what you need for your next project
Copy-paste ready code for everyday development tasks
Auto-fit grid that adapts to content size
.grid-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1rem;\n}
Unified API response handling with error management
type ApiResponse<T> = {\n data: T | null;\n error: string | null;\n status: number;\n};\n\nasync function fetchApi<T>(\n url: string,\n options?: RequestInit\n): Promise<ApiResponse<T>> {\n try {\n const response = await fetch(url, {\n ...options,\n headers: {\n 'Content-Type': 'application/json',\n ...options?.headers,\n },\n });\n\n const data = await response.json();\n\n if (!response.ok) {\n return {\n data: null,\n error: data.message || 'Request failed',\n status: response.status,\n };\n }\n\n return { data, error: null, status: response.status };\n } catch (error) {\n return {\n data: null,\n error: error instanceof Error ? error.message : 'Unknown error',\n status: 500,\n };\n }\n}
Useful git aliases for common operations
git config --global alias.co checkout git config --global alias.br branch git config --global alias.ci commit git config --global alias.st status
Centralized error handling for Express applications
app.use((err, req, res, next) => {\n console.error(err.stack);\n const status = err.status || 500;\n res.status(status).json({\n error: {\n message: err.message,\n status,\n timestamp: new Date().toISOString()\n }\n });\n});
Query records between two dates efficiently
SELECT * FROM records\nWHERE created_at BETWEEN :start_date AND :end_date\n AND deleted_at IS NULL\nORDER BY created_at DESC\nLIMIT 100;
Query records between two dates efficiently
SELECT * FROM records WHERE created_at BETWEEN :start_date AND :end_date AND deleted_at IS NULL ORDER BY created_at DESC LIMIT 100;
Custom context manager for resource cleanup
from contextlib import contextmanager\n\n@contextmanager\ndef open_file(path):\n f = open(path, 'r')\n try:\n yield f\n finally:\n f.close()
Robust bash script with error handling and logging
#!/bin/bash
set -euo pipefail
log() { echo "[$(date +'%Y-%m-%d %H:%M:%S')] $1"; }
error_exit() {
log "ERROR: $1"
exit 1
}
trap 'error_exit "Script interrupted"' INT
Production-ready project starters to bootstrap your next application
SEO-optimized blog template with reading time estimate
User settings with tabs and form controls
Production-grade Go microservice with gRPC, Kubernetes configs, and observability
High-performance CLI tool with Rust compiled to WebAssembly
Complete admin dashboard with sidebar, header, and content area
Real-time chat UI with message bubbles and typing indicators
High-converting landing page with pricing, features, and testimonials
Production-ready SaaS with billing, auth, dashboard, and landing page
Beautiful color palettes, gradients, and complete UI themes
Northern lights inspired animated gradients
Dark theme with neon pink and cyan accents
Enhanced Monokai with better contrast and modernized colors
A clean, dark and beautiful Neovim/VS Code theme
Soft pastel colors for gentle aesthetic
Professional black and white with single accent color
Calming greens inspired by deep forest
Classic amber phosphor terminal aesthetic
Command-line utilities to supercharge your development workflow
Convert Markdown files to beautifully formatted PDFs
Advanced Git workflow automation with branching strategies and conflict resolution
Parse and analyze log files for errors and patterns
Secure .env file synchronization across team members and environments
Monitor CPU, memory, and disk usage of Docker containers
Secure environment variable management with encryption and audit trails
Test API endpoints for rate limiting behavior
Universal task automation with dependency management and parallel execution
Production-ready configuration files for your projects
Vite configuration with PWA plugin for offline support
Production-ready Nginx configuration with SSL and reverse proxy
PostgreSQL database with pgAdmin Docker configuration
Code formatting rules with trailing commas, semicolons, and quotes
Strict TypeScript configuration for type-safe development
PostCSS configuration with Tailwind, autoprefixer, and nesting
GitLab CI/CD pipeline with stages, caching, and artifacts
Unified linting and formatting configuration
Community favorites with proven results
Production-ready Next.js 14 with App Router, TypeScript, Tailwind CSS, and shadcn/ui.
Sync React state with localStorage automatically.
Complete linting and formatting setup for modern JavaScript/TypeScript projects.
What developers are using right now
Enhanced Dracula theme with high contrast.
Advanced Git workflow automation.
RESTful API templates for common patterns.
Debounce any function for performance.
Strict TypeScript configuration.
High-performance Vite configuration.
Share your templates, snippets, and tools with the community. Get recognition and help fellow developers ship faster.