- docker run vs Docker Compose: when and how to switch
One container with three flags is fine as a docker run command. Once you have two containers, a volume and a password, a compose.yaml is easier to read, share and repeat.
Published
- cURL for API testing: the options you'll actually use
Most API work needs about a dozen cURL options. Here they are, each run against a test server so you can see exactly what it sends.
Published
- Where to store a JWT in the browser: cookie or localStorage?
Short answer: for a website, keep the token out of JavaScript's reach in an HttpOnly cookie, or keep it in memory and refresh it from one. Here's why, and how to set it up.
Published
- Dates and time zones for developers: the rules that prevent bugs
Most date bugs come from one of five mistakes. Each one below is shown with code that was actually run.
Published
- JSON vs YAML vs XML: which one should you use?
All three hold the same kind of data. The difference is who writes it, who reads it, and what can go wrong in between.
Published
curlybits / Guides
Developer guides
Practical guides that go deeper than the tools: the rules, the traps and the fixes. Every example is tested before it's published.