Writing
Articles, tutorials and notes on backend development, Git, Linux and whatever I'm learning at the moment.
2024
- My Git cheat sheetMy personal Git cheat sheet. Commits, diffs, history, branches, stashes, rebases and undoing mistakes, one short command per line.12 min · #git
- Symfony: Add Entity Timestamp Metadata with Symfony ClockAdd createdAt and updatedAt to Doctrine entities without an extra bundle, using a trait, a lifecycle listener and the Symfony Clock.3 min · #php #symfony
- The strategy pattern in PHPThe strategy pattern in plain PHP. Swap algorithms at runtime behind one interface, shown with a shopping cart and two payment methods.2 min · #php #patterns
- Linux 101 for developersNotes on the Linux basics I use every day as a developer. Boot, systemd, files, processes, permissions, networking and shell shortcuts.24 min · #linux
2020
- Modern JavaScript cheat sheetA cheat sheet of the modern JavaScript I reach for. Destructuring, arrow functions, array methods, modules, promises and async/await.7 min · #javascript
- Dependency injection in PHPDependency injection is a simple yet powerful technique that can help you avoid hardcoded dependencies in your classes.4 min · #php
Nothing matches that. Yet.