Skip to content

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.

Cover of the AI Agents vs RAG Comparison Guide PDF
PDF · 3 pages · 5 parts · decision tree New · Free

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.

  • RAG
  • AI agents
  • Agentic RAG
  • Decision tree

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.

Cover of the Prompt Engineering Cheat Sheet PDF
PDF · 6 pages · 7 parts · 14 templates New · Free

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.

  • Prompting
  • Structured output
  • Prompt injection
  • 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.

Cover of the DSA Patterns for Coding Interviews PDF
PDF · 13 pages · light & dark New · Free

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.

  • Two pointers
  • Sliding window
  • Binary search
  • Stacks
  • Heaps
  • Trees & tries
  • Graphs
  • Backtracking
  • Dynamic programming
  • Greedy

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.

Cover of the SQL Interview Cheat Sheet PDF
PDF · 21 pages · light & dark Free

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).

  • SQL basics
  • Joins
  • Aggregation
  • Subqueries
  • CTEs
  • Window functions
  • Dates & JSON
  • Product analytics
  • Query plans & indexes
  • Data modelling
  • SQL for AI search
  • Interview query patterns

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.

Cover of the Complete Python Cheat Sheet PDF
PDF · 32 pages · light & dark Free

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.

  • Python fundamentals
  • Data structures
  • OOP
  • Advanced functions
  • File handling
  • Testing
  • Concurrency
  • Performance
  • Design patterns
  • Coding problems
  • GenAI

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.

Cover of the Docker for AI & Python Developers PDF
PDF · 4 pages · 6 parts · 6 files to copy New · Free

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.

  • Dockerfile
  • Compose
  • GPUs & LLMs
  • 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.

Cover of the Git & GitHub Cheat Sheet PDF
PDF · 11 pages · light & dark New · Free

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.

  • Git basics
  • Branches & merging
  • GitHub & pull requests
  • Undo & reflog
  • Rebase
  • GitHub Actions
  • Git for AI projects
  • Interview answers

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.

Cover of the API Design Checklist PDF
PDF · 2 pages · 14 areas · 78 checks New · Free

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.

  • Design review
  • Security
  • Reliability
  • 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.

Cover of the REST API Design Cheat Sheet PDF
PDF · 6 pages · 7 parts · 14 status codes New · Free

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.

  • REST
  • Status codes
  • Security
  • Streaming APIs

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.

Cover of the Developer Templates Pack PDF
PDF · 4 pages · 25 files · copy-ready New · Free

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.

  • Project setup
  • GitHub
  • FastAPI skeleton
  • Docs & prompts

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.

Cover of the AI Prompt & Agent Toolkit; the HR & Recruiting chapter is free
6 prompts · 1 agent blueprint · copy-ready Free

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.

  • Job description writer
  • Resume screening scorer
  • Structured interview kit
  • Candidate emails
  • Onboarding plan
  • HR policy explainer

Includes the HR Screening Agent blueprint: system prompt, tools, workflow, human hand-off and guardrails · Full pack in the Store

Cover of the AI Prompt & Agent Toolkit; the Customer Support chapter is free
6 prompts · 1 agent blueprint · copy-ready Free

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.

  • Support reply drafter
  • De-escalation
  • Ticket classifier & router
  • Ticket to help article
  • Canned responses
  • Weekly insights report

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 from your own documents and shows its sources
Step-by-step · Python 3.10+ · Windows & macOS Free

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.

  • RAG
  • Python
  • Portfolio project

PDF preview

Download PDF

PDF not showing? Open it in a new tab or use Download PDF.

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.

Cover of GenAI and LLM Cheat SheetAvailable
Premium AI guideFormat: PDF

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
Price: ₹49one-time payment
Cover of System Design Quick Revision SheetComing soon
Premium AI guideFormat: PDF

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
Price: ₹99at launch
Cover of The GenAI System Design Interview GuideAvailable
Premium AI guideFormat: PDF

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
Price: ₹49one-time payment
Cover of LLMOps: The Production GuideComing soon
Premium AI guideFormat: PDF

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
Price: ₹99at launch

Browse all products

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.

These free pages on this site go deeper into the topics the cheat sheets cover.

Python notes and tutorials

SQL-style data work in Python

Git and everyday tools

Interview prep and projects

Free prompt and AI agent templates

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.