Cheatsheet Directory
Fast-lookup references, architectural formulas, syntax cheat sheets, and command recipes across AI, programming languages, and systems.
Cheatsheet Directory
A curated, high-density collection of quick references, mathematical derivations, syntax guides, and operational recipes. Bookmark this hub for rapid context switching during research, system implementation, and deployment.
Quick Tip: Use the global search bar (Ctrl+K or ⌘K) to instantly jump to specific functions, equations, or shell flags across any cheatsheet.
AI & Deep Learning
Mathematical formulas, attention projections, tensor dimensions, and framework mechanics for machine learning engineers.
Deep Learning Reference
Spatial convolution dimensions, receptive field recurrence, multi-head attention shapes, RoPE embeddings, activation formulas, AdamW updates, and diffusion steps.
PyTorch Developer Guide
Tensors, autograd graphs, neural network modules, loss functions, optimizers, CUDA/MPS device handling, mixed precision (AMP), and training loops.
Python Ecosystem
Backend APIs, object-relational mapping, database migrations, distributed task queues, and AWS SDK operations.
FastAPI
Type-annotated routes, Pydantic schemas, dependency injection, authentication, background tasks, and deployment patterns.
Django
ORM queries, model migrations, viewsets, middleware, authentication, signals, and production settings.
SQLAlchemy
Declarative 2.0 models, AsyncSession, select queries, joins, relationships, lazy/eager loading, and connection pooling.
Alembic
Database revision scripts, schema autogeneration, downgrade workflows, and multi-database migration environments.
Celery
Distributed task queues, worker processes, canvas primitives (chains, groups, chords), and Redis/RabbitMQ brokers.
Boto3 (AWS SDK)
Client vs resource interfaces, S3 bucket operations, DynamoDB pagination, credentials, and error handling.
Pre-commit
Git hook configuration, linters, code formatters (Ruff, Black), repository hooks, and CI validation.
Go (Golang)
Concurrent programming, high-performance web servers, relational database access, and synchronization primitives.
Go Syntax & Idioms
Core syntax, structs, interfaces, error handling patterns, goroutines, channels, slices, and maps.
Gin Web Framework
High-speed HTTP routing, group routes, middleware pipelines, JSON binding, and error response formatting.
GORM
Struct-to-table modeling, CRUD operations, transactions, preloading associations, and migration hooks.
Concurrency & Sync
sync.Mutex, sync.RWMutex, sync.WaitGroup, sync.Pool, sync.Once, atomic operations, and context cancellation.
C & C++ Systems Programming
Low-level systems programming, native compilers, build systems, POSIX threads, and memory debugging.
C Language
Pointers, manual memory allocation (malloc/free), structs, unions, bit manipulation, and standard I/O.
C++ Reference
Modern C++ idioms, RAII, smart pointers (unique/shared/weak), STL containers, algorithms, and templates.
GCC Compiler
Compilation flags, optimization levels (-O2, -O3), warning options (-Wall, -Wextra), and debug symbols.
Clang Compiler
LLVM frontend options, AddressSanitizer (ASan), UndefinedBehaviorSanitizer (UBSan), and static analysis.
Make & Build Automation
Makefile syntax, target rules, automatic variables ($@, $<), pattern rules, and phony targets.
Autoconf
GNU build system, configure.ac macros, platform detection, and Makefile.in substitution.
Standard C Library (libc)
String manipulation, memory operations, error numbers (errno), time functions, and system utilities.
POSIX Threads (pthread)
Thread creation, join/detach, mutex synchronization, condition variables, and thread pool patterns.
Socket Programming
TCP/UDP socket lifecycle (socket, bind, listen, accept, connect), non-blocking I/O, and select/poll/epoll.
Valgrind
Memcheck analysis for memory leaks, invalid heap accesses, uninitialized memory usage, and Helgrind race checks.
Windows API (windows.h)
Win32 API handles, window creation, message loops, file I/O, Win32 threading, and registry operations.
DevOps & Systems
Containerization, Linux troubleshooting, version control, web servers, and distributed caching.
Docker
Container lifecycle commands, Dockerfile multi-stage builds, networking, volumes, and Docker Compose.
Linux Diagnostics
Performance troubleshooting commands for CPU, memory, disk I/O, and networking (htop, iostat, vmstat, ss).
Git Version Control
Branch management, interactive rebasing, cherry-picking, stash workflows, and reflog disaster recovery.
Nginx Web Server
Reverse proxy configuration, load balancing upstreams, SSL/TLS termination, rate limiting, and gzip compression.
Redis
Data structures (strings, hashes, lists, sets, sorted sets, streams), key expiration, pub/sub, and persistence.
AWS CLI
Command-line operations for EC2 instances, S3 buckets, IAM roles, CloudWatch logs, and profile management.
Networking
IP addressing, subnetting, DNS queries (dig/nslookup), curl/wget flags, ping, traceroute, and netcat.
PowerShell
Object pipeline cmdlets, script execution policies, environment variables, remote administration, and file tasks.