Code Snippets
Collection of useful code snippets, commands, and techniques organized by category. When I stumble upon something I try to document it. Sometimes documentation is limited to whatever I store in my memory... Therefore most of these snippets are recreated with the help of LLMs or tidied up by it from my recollections.
The idea behind the snippets is that I come across them rarely, but when I do I have to find or reinvent them from scratch since my ADHD brain throws them right away after I use them. Some are just helpful reminders.
Categories
- AI/ML Snippets
AI and Machine Learning code snippets and knowledge. - Algorithms & Data Structures
Fundamental algorithms and data structures with mathematical explanations and practical implementations - Architecture Snippets
Collection of architecture patterns, best practices, and design principles. - Auth Snippets
General authentication and authorization concepts, patterns, and best practices. … - Blockchain Snippets
Collection of blockchain concepts, principles, and operational guides for major … - Code Review Snippets
This section provides guidance on code review checklists, code smells, secure … - Color Science Snippets
Practical guides and mathematical foundations for color science, color spaces, and image processing - Cryptography Snippets
Cryptographic primitives and their mathematical foundations. - Database Snippets
Database queries, commands, and best practices for SQL and NoSQL databases. - Diagram Snippets
Collection of diagram templates for visualizing concepts, architectures, and … - Docker Snippets
Docker and Docker Compose commands, patterns, and best practices. - FFmpeg
FFmpeg command-line reference for video and audio processing - Filter Theory Snippets
Practical guides and mathematical principles behind digital filters - Frontend Snippets
Frontend development snippets for modern JavaScript frameworks. - Git Snippets
Collection of useful Git commands and techniques. - Go Snippets
Collection of useful Go code patterns and idioms. - Hardware Snippets
Hardware configuration, enumeration, and management. - Haskell Snippets
Collection of common Haskell patterns and functional programming idioms. - ImageMagick
ImageMagick command-line reference for image processing - Information Theory Snippets
Foundational concepts and mathematical tools of information theory - Interview Questions
Comprehensive technical interview questions covering coding, architecture, AI/ML, protocols, and research - Jupyter Notebook Snippets
Collection of useful Jupyter Notebook tips, tricks, and workflows. - Kinematics
Robot kinematics: forward and inverse kinematics, Jacobians, and motion control … - Lisp Snippets
Common Lisp, Scheme, and Clojure code snippets - Networking Snippets
Networking tools, protocols, security, and performance measurement. - Numerical Methods Snippets
Numerical methods, regularization, and useful concise techniques - Package Manager Snippets
Package managers for various languages and operating systems. - Protobuf Snippets
Protocol Buffers (protobuf) commands, project structure, and best practices. - Python Snippets
Python code snippets and best practices. - Quantum Theory Snippets
Quantum mechanics basics and useful mathematics - Raspberry Pi Snippets
Raspberry Pi GPIO, I2C, SPI, I2S programming. - Rust Snippets
Collection of common Rust patterns and idioms. - Shell Snippets
Useful shell commands and scripting techniques across different shells - Signal Theory Snippets
Fundamental concepts and mathematical tools for signal processing - Statistics & Probability
Essential concepts in statistics and probability theory - Web Scraping Snippets
Web and system scraping tools and techniques.