Topics
Bash
CMS
CSS
Elixir
Git
Happy Stack
JavaScript
- Simplify imports with path mapping
- Check a date with Chai
- Using TypeScript with Gatsby
- Nested optional chaining in JavaScript
- Custom Decap CMS previews in Gatsby
- Rounding errors in JSON Schema validation
- "Module not found" error with Gatsby, Netlify CMS, and PostCSS
- Chai assert error
- Selectively disable ESLint
- The right way to compare arrays with Chai
- Numeric environment variables and TypeScript
- Compute the difference between two JavaScript arrays
- JavaScript logical operators
- Avoid Array.prototype.push
- Log nested objects in Node
- Generate an array of random data
- Split a JavaScript array into chunks
- Generate a pseudo-random boolean
- Modelling API requests with Statecharts
Laravel
- Using Eloquent subqueries to randomise grouped results
- Building Happy Stack: naming things
- Building Happy Stack: notifications
- Authorising Laravel Nova actions
- Conditional validation rules in Laravel
- How to change the URL slug of a Laravel Nova resource
- Understanding Laravel's Macroable trait
- Laravel route collection binding
- A nicer way of overriding Eloquent global scopes
- Laravel's mysteriously macroable paginators
- Eager loading Eloquent properties
- Cleaner code with Eloquent events
- Eloquent attributes and database defaults