browse/

15 results
tools/regular-expressions-describe-the-shape-of-text-and-watch-a-pattern-fin.md Regular expressions: describe the shape of text and watch a pattern find it A regular expression describes the shape of text instead of spelling it out, so one short pattern can find every phone number or check that… 4 min read · 14 Nov security/digital-signatures-how-a-message-proves-who-wrote-it-and-that-nobody-c.md Digital signatures: how a message proves who wrote it and that nobody changed it How can you tell that a message really came from who it says, and that nobody changed a word on the way? A digital signature does both with… 4 min read · 3 Nov tools/file-permissions-what-rwxr-xr-x-means-and-why-a-script-says-permission.md File permissions: what rwxr-xr-x means, and why a script says Permission denied You run your first script and the terminal says Permission denied. Nothing is wrong with your code: every file and folder carries read… 6 min read · 2 Nov tools/git-stash-how-to-set-half-done-work-aside-without-committing-it.md Git stash: how to set half-done work aside without committing it You are halfway through a change when you need to switch branches, but the work isn't ready to commit. Git stash puts your unfinished edits… 4 min read · 30 Oct tools/gitignore-how-git-decides-which-files-to-skip-and-the-one-rule-that-su.md Gitignore: how Git decides which files to skip, and the one rule that surprises everyone Why does a file show up in git status when you wanted it hidden, and why does a file you ignored sometimes stay tracked anyway? Five short… 5 min read · 27 Oct security/two-factor-codes-how-your-phone-and-a-website-agree-on-six-digits-with.md Two-factor codes: how your phone and a website agree on six digits without talking Your authenticator app shows six digits and the website expects the same six, yet the two never talk. How? Both sides start from the same… 5 min read · 24 Oct infrastructure/environment-variables-how-the-same-code-talks-to-a-practice-database-o.md Environment variables: how the same code talks to a practice database on your laptop and the real one online The same program can talk to a practice database on your laptop and the real one on a live website, without a single edit to its code. The… 5 min read · 24 Oct tools/git-branches-why-making-one-doesn-t-copy-your-project.md Git branches: why making one doesn't copy your project When someone says "make a branch for that," it sounds like Git must copy your whole project. It doesn't. A branch is just a name stuck on… 4 min read · 20 Oct tools/git-staging-area-why-saving-your-work-takes-git-add-and-git-commit.md Git staging area: why saving your work takes git add and git commit Why does saving your work in Git take two commands, `git add` and `git commit`? Because a change travels through three places: your working… 4 min read · 17 Oct tools/git-merge-vs-rebase-same-code-two-different-histories.md Git merge vs rebase: same code, two different histories Git can combine two lines of work in two ways. Merge ties them together with a new commit and leaves every old commit alone. Rebase replays… 4 min read · 11 Oct security/two-factor-codes-how-your-phone-and-a-website-agree-on-6-digits.md Two-factor codes: how your phone and a website agree on 6 digits Your phone shows a 6-digit code that changes every 30 seconds, yet it never talks to the website. How do both sides agree on the number?… 5 min read · 9 Oct infrastructure/what-is-ci-the-robot-that-tests-your-code-every-time-you-push.md What is CI? The robot that tests your code every time you push You change one line, it looks fine, and two days later something far away breaks. Continuous integration (CI) is a robot that prevents… 5 min read · 2 Oct