Take what you learned and build it.

A course is for reading in order and taking in; a project is for building one thing all the way through. Rather than handing you the requirements and walking off, each one carries the steps, a worked answer and the places people get stuck.

90 in total

Intermediate 💽

Rescue a server whose disk "won't free up"

You take a server that stopped because its disk was full, recreate it yourself on a throwaway disk, and bring it back. You trigger, on the spot, all three reasons df and du can disagree.

Linuxdf / dulsoftruncate
Intermediate ♻️

Recover a wrecked history from the reflog

reset --hard, a deleted branch, a rebase you didn't mean, a dropped stash. You cause all four accidents on purpose and recover from every one, then check with your own hands where the line lies for what truly can't come back.

GitreflogORIG_HEADgit fsck
Intermediate 🧰

Make a CLI that does not fall over on a broken CSV

A small CLI that just totals a sales CSV was printing NaN even for a normal file. You check each line so it can say which line is wrong and why, settle the exit codes and what goes to stdout and stderr, and end up with a tool you can trust at the end of a pipe.

Node.jsCLIExit codesnode:test
Intermediate 📮

Take an API that answers 200 to everything and make it follow the spec

A meeting-room booking API answered 200 when bookings overlapped and 500 for a room that does not exist. You write the spec as tests first, reject bad input with Pydantic, and return 201, 204, 404, 409 and 422 where they belong. Edge cases like "from exactly 11:00" get pinned down by tests too.

FastAPIPydanticHTTP status codespytest
Intermediate 💴

Fix the sums that come out one yen off, with integers and Decimal

A price with tax comes out one yen too high; a split bill doesn't add up to the bill. You check float error, round()'s round-half-to-even, rounding rules and leftover yen one at a time with real numbers, then write a largest-remainder function whose shares always add up, and pin it down with tests.

PythonDecimalRoundingunittest
Intermediate 🔤

Fix a "20 characters max" check that miscounts, by counting graphemes

One family emoji counts as 8 characters, a pasted "が" counts as 2, and cutting a long name leaves a "�" at the end. You count four ways (length, code points, graphemes, bytes) to see the difference, then fix it with functions that normalize first and count and cut by grapheme, pinned by tests.

JavaScriptUnicodeIntl.SegmenterNormalisation
Intermediate 🔁

Retries made the outage last longer: count the requests, then fix them

Someone added "if it fails, try again at once" to a flaky API. The outage ended after 3 seconds, yet 60 seconds later nobody was getting through. With a fake clock and a fake server you count the requests, then fix it with backoff and jitter, retry rules, timeouts and an idempotency key.

JavaScriptRetriesExponential backoffAbortController
Intermediate 🚦

Make "loading, but also an error" impossible to build

State held as isLoading, isError and data can be built 8 ways, and only 4 of them mean anything. You reproduce how you drift into an impossible state, shut it out with a discriminated union and never, gather every change into a reducer, and pin it down with a transition-table test.

TypeScriptDiscriminated unionsneverreducer
Intermediate 🐚

Make a backup script that says "done" when it isn't tell the truth

You recreate, in a throwaway sandbox, a backup that drops filenames with spaces, copies the wrong files after a typo in the directory, and still exits 0 saying "done". You check where set -euo pipefail doesn't reach, fix it, and pin it down with a test and ShellCheck.

Bashset -euo pipefailtrapShellCheck
Intermediate 🎲

Measure how often a flaky test fails, then fix it

You fix tests that pass locally but fail now and then in CI. You reproduce the three usual causes (the clock, randomness, state left over between tests), put a number on how often each fails, then rework the code to take the outside world as arguments, and confirm it survives 200 shuffled runs.

PythonunittestDependency injectionTest isolation