Free resources
Free Cheat Sheets & Templates
Free PDFs and templates for developers preparing for interviews or building with GenAI, in five groups: GenAI and LLMs, programming, DevOps and MLOps, system design, and reusable templates. Preview every page in your browser before you download. Each PDF comes in a light version for printing and a dark version for screens.
GenAI and LLM resources
Build with LLMs: prompting techniques, safety and copy-ready prompt templates.

AI Agents vs RAG Comparison Guide
When to retrieve and answer, when to let an agent plan and act, and how to combine them: key differences, a decision tree, cost and latency worked out, agentic RAG patterns, evaluation, guardrails and security.
Prefer dark mode? Download the dark version · Details
What to read next
Next step: Build a RAG chatbot. Chose RAG? Build one end to end, from loading documents to answers with sources.
Go further: GenAI and LLM Cheat Sheet (₹49). The comparison guide helps you choose an approach. The GenAI and LLM Cheat Sheet covers building either one: RAG end to end, agent patterns, frameworks, evaluation and guardrails, in an 87-page developer reference.

Prompt Engineering Cheat Sheet
Write prompts that work on the first try and keep working in production: the six parts of a prompt, few-shot examples, chain of thought, structured output and chains, prompt-injection defence, eval sets, context engineering, agent and tool prompts, an LLM judge, cost control, and 14 copy-ready templates.
Prefer dark mode? Download the dark version · Details
What to read next
Next step: Prompt recipes for common tasks. Ready-made prompt patterns for summarising, extracting, classifying and rewriting, built on the same techniques.
Go further: AI Prompt & Agent Toolkit (coming soon, ₹99 at launch). The cheat sheet teaches how to write good prompts, with 14 templates. The AI Prompt & Agent Toolkit gives you 198 finished prompts and 33 agent blueprints for specific business domains.
Programming and interview PDFs
Complete, printable PDFs for coding interviews. Every example shows its real output.

DSA Patterns for Coding Interviews
The 15 patterns behind most coding interview questions, plus 4 advanced ones. A signals table shows which pattern a problem's wording points to; then each pattern gets a reusable Python template, a worked example, its Big-O and the classic problems to practise. All 61 examples were run on Python 3.12, and their real output is printed underneath. It ends with the one idea behind each pattern, problems that combine two patterns, a must-do list, edge cases to test, a 4-week plan and what to say in a 45-minute interview.
Prefer dark mode? Download the dark version · DSA patterns details
What to read next
Next step: An approach for system design interviews. Interview loops usually pair a coding round with a design round; this note covers how to run the second one.
Go further: System Design Quick Revision Sheet (coming soon, ₹99 at launch). The DSA sheet prepares you for the coding round. The System Design Quick Revision Sheet covers the design round: the 6-step framework, the numbers to know and 26 classic problems.

SQL Interview Cheat Sheet
The SQL that interviews test — from SELECT and joins to window functions, dates and JSON, plus 25 interview problems: 15 classics and 10 product-analytics questions (funnels, retention, sessions, LLM logs), and a method for answering out loud. New in edition 3: advanced patterns (as-of joins, forward-fill, overlaps), data engineering (SCD Type 2, idempotent loads, quality checks), real query plans, SQL for AI search (BM25, vector similarity, hybrid RRF, pgvector, LLM evals), worked practice solutions, 40 rapid-fire answers, and "Key terms" boxes that define every concept. Every query was run on a sample database, and its real result table is printed underneath. Each example is labelled with the databases it runs on (SQLite, PostgreSQL, MySQL, SQL Server).
Prefer dark mode? Download the dark version · SQL cheat sheet details
What to read next
Next step: Text-to-SQL with an LLM. Puts your SQL to work in a GenAI app: an LLM writes the query, and your code checks it before running it.
Go further: The Complete SQL Guide (₹49). The cheat sheet is for quick revision. The Complete SQL Guide teaches each topic step by step with 41 diagrams, real-world patterns and formulas, then adds 30 solved interview problems and 120+ model answers.

Complete Python Cheat Sheet
A complete Python reference in 18 parts — from fundamentals to OOP, concurrency, testing and GenAI apps. New in edition 3: larger, easier-to-read type, a contents page, a start-here learning path, what's new in Python 3.11–3.14, 21 coding interview problems (BFS, Dijkstra, DP, tries, union-find), GenAI code for structured output, tool calling and retries, and 24 more rapid-fire answers. Examples show their real output and were run on Python 3.12; features that need 3.13 or 3.14 are marked and were run on those versions.
Prefer dark mode? Download the dark version · Python cheat sheet details
What to read next
Next step: Python Advanced notes. Async, decorators, type hints with Pydantic and testing: the parts of Python that GenAI code leans on most.
Go further: GenAI and LLM Cheat Sheet (₹49). The Python sheet covers the language. The GenAI and LLM Cheat Sheet covers what you build with it: LLM APIs, RAG, agents and LLMOps, with 82 interview Q&As.
Cloud, DevOps and MLOps resources
Version control, containers and deployment for every project, including AI and ML work.

Docker for AI & Python Developers
Containerise Python and LLM apps the right way: a production Dockerfile, caching and multi-stage builds, Compose for an AI stack, GPUs, Ollama and vLLM, vector databases, troubleshooting and security.
Prefer dark mode? Download the dark version · Details
What to read next
Next step: Deploy your AI app for free. Take the container you built and put it online.
Go further: LLMOps: The Production Guide (coming soon, ₹99 at launch). The Docker sheet covers containers. LLMOps: The Production Guide covers the rest of running an LLM app in production: serving, caching, rate limits, observability, evals in CI, cost and security.

Git & GitHub Cheat Sheet
Everything from your first commit to pull requests, rebasing and undoing any mistake, plus Git for AI and Python projects: leaked secrets, large model files, notebooks and AI coding assistants. Every terminal session was run for real, so each command is followed by its actual output.
Prefer dark mode? Download the dark version · Git cheat sheet details
What to read next
Next step: Make a portfolio-ready GitHub repo. Once Git is second nature, make your projects easy for others to read, run and judge.
System design and architecture
Design APIs and systems that are easy to use and hard to break.

API Design Checklist
A printable tick-box checklist for API design reviews and pull requests: naming, methods, errors, pagination, versioning, security, reliability, performance, observability, LLM endpoints and launch.
Prefer dark mode? Download the dark version · Details
What to read next
Next step: REST API Design Cheat Sheet. The checklist says what to check; the cheat sheet explains each rule, with examples and status codes.

REST API Design Cheat Sheet
Design APIs that are easy to use and hard to break: naming, methods, status codes, one error format, pagination, versioning, idempotency keys, security, APIs for LLM features with streaming and webhooks, the 10 rules that matter most, rate-limit algorithms, and worked designs for a URL shortener and a payments API.
Prefer dark mode? Download the dark version · Details
What to read next
Next step: FastAPI for GenAI. Build the API you designed in FastAPI, including endpoints that stream LLM responses.
Go further: System Design Quick Revision Sheet (coming soon, ₹99 at launch). The API sheet goes deep on one interface. The System Design Quick Revision Sheet puts APIs in a whole system: load balancers, caching, databases, messaging and 26 classic design problems.
Templates developers can reuse
Copy-ready project files, prompts, agent blueprints and a project template you can adapt today.

Developer Templates Pack
25 copy-ready files for a new Python or AI project: README, .gitignore, pyproject, PR and issue templates, CI, Dockerfile and Compose, a FastAPI skeleton with an LLM client and tests, design docs, prompt files and evals.
Prefer dark mode? Download the dark version · Details
What to read next
Next step: Build a RAG chatbot. A complete project to start from the templates: a chatbot that answers from your own documents.
Go further: LLMOps: The Production Guide (coming soon, ₹99 at launch). The templates get a project started. LLMOps: The Production Guide covers taking it live: Docker releases, serving, caching, observability, evals in CI and cost control.

HR & Recruiting Prompts
Six prompts for hiring work: write an inclusive job post, score resumes fairly, build a structured interview kit, write candidate emails, plan onboarding and explain HR policy. Fill in the {{placeholders}} and paste into ChatGPT, Claude or Gemini.
Includes the HR Screening Agent blueprint: system prompt, tools, workflow, human hand-off and guardrails · Full pack in the Store

Customer Support Prompts
Six prompts for support teams: draft replies, calm an angry customer, classify and route tickets, turn a ticket into a help article, build canned responses and write a weekly insights report. Fill in the {{placeholders}} and paste into any LLM.
Includes the Customer Support Agent blueprint: system prompt, tools, workflow, human hand-off and guardrails · Full pack in the Store

RAG Chatbot Project Template
Build a chatbot that answers questions from your own documents and shows which document each answer came from. Beginner-friendly, about an hour, with every file you need to copy, run and adapt.
Ready to go deeper?¶
These paid guides cover one topic end to end in a single printable PDF. Each one has a free preview, so you can check it before you buy.

GenAI and LLM Cheat Sheet
A developer's GenAI reference: runnable examples, diagrams, formulas and production patterns on 87 printable pages.
Level: Intermediate For: AI engineers and interview candidates
- 87-page PDF, light and dark, personalised with your name
- 82 interview Q&As, a formula page and a 66-term glossary
- 40+ runnable examples with real output, 34 diagrams and 16 production patterns

System Design Quick Revision Sheet
Revise a whole system design round in 15 minutes: the framework, the numbers and 26 classic problems.
Level: Intermediate For: System design interview candidates
- 13-page PDF, light and dark, personalised with your name
- 26 classic problems, one card each
- 30 interview Q&As

The GenAI System Design Interview Guide
A developer's reference for LLM system design: runnable code, diagrams, formulas, production patterns and case studies.
Level: Advanced For: Developers building LLM apps, and GenAI and ML engineering candidates
- 116-page PDF in 21 chapters, personalised with your name
- 60+ runnable examples, 34 diagrams, 23 formula cards and a one-page formula sheet
- 12 production patterns, 4 complete case studies, 6 timed practice problems and a mock interview

LLMOps: The Production Guide
Take a GenAI app from demo to production: deployment, serving, caching, observability, evals, cost and security.
Level: Intermediate For: Engineers shipping LLM apps
- 36-page PDF in 9 chapters, personalised with your name
- Production code: Dockerfile, token rate limiter, CI eval gate
- A go-live checklist and 30+ interview answers
How to use them for interview prep¶
- Predict before you read. Learn the sample tables on page 2 of the SQL sheet. Then, for each query, guess the result before you look at the printed output.
- Write the query yourself first. Cover the solution to each of the 25 interview problems, write your own answer, then compare. Explain your approach out loud as you go.
- Run the Python examples. Each example shows its real output, so if your result differs, you've found something to revisit.
- Replay the Git sessions. Make a scratch repo and type each Git session yourself; your output should match. Then break things on purpose and fix them with Part 5 (Undo anything).
- Finish with the checklists. Each sheet ends with an interview revision checklist: section 11.6 in the SQL sheet, section 11.5 in the Python sheet and section 10.3 in the Git sheet.
Related free tutorials and notes¶
These free pages on this site go deeper into the topics the cheat sheets cover.
Python notes and tutorials
- Python basics for GenAI: variables, data structures, functions and classes
- Advanced Python: generators, decorators, async, type hints and testing
- Testing Python code with pytest: fixtures, parametrize and mocks
- async and await in Python, explained in plain English
- How to read a Python error message (traceback) and fix it
- Common coding mistakes in Python and GenAI projects
SQL-style data work in Python
- Pandas filtering: the pandas version of SQL WHERE and ORDER BY
- Pandas groupby and aggregation: the pandas version of SQL GROUP BY
- Pandas merge, concat and pivot: SQL-style joins and reshaping
Git and everyday tools
Interview prep and projects
- RAG interview questions with model answers
- Build a RAG chatbot over your documents in Python, step by step
Free prompt and AI agent templates
- HR & Recruiting: 6 prompts and an HR screening agent blueprint
- Customer Support: 6 prompts and a support agent blueprint
- All 33 domains in the prompt & agent pack
Previewing and downloading
- Preview first. Preview PDF shows the whole document in your browser — no email needed. On phones, or if your browser can't show PDFs, it opens in a new tab instead.
- Free. Enter your email once and the PDF downloads straight away; we'll occasionally send you new free resources — unsubscribe any time (Privacy Policy).
- Light and dark. The light version prints well on A4; the dark version is easier on screens.
- Share it. You may share the PDFs unchanged with credit; they're not for resale (Terms).
Want more? Browse all free Python for GenAI notes and step-by-step GenAI tutorials, or browse every free and paid product in the Store.


























