Blog posts by topic
CSS
Elixir
Gatsby
Git
Happy Stack
JavaScript
- Avoid Array.prototype.push →
- Chai assert error →
- Check a date with Chai →
- Split a JavaScript array into chunks →
- The right way to compare arrays with Chai →
- Log nested objects in Node →
- “Module not found” error with Gatsby, Netlify CMS, and PostCSS →
- Compute the difference between two JavaScript arrays →
- JavaScript logical operators →
- Nested optional chaining in JavaScript →
- Rounding errors in JSON Schema validation →
- Modelling API requests with Statecharts →
- Generate a pseudo-random boolean →
- Generate an array of random data →
- Selectively disable ESLint →
- Simplify imports with path mapping →
- Numeric environment variables and TypeScript →
Laravel
- Authorising Laravel Nova actions →
- Cleaner code with Eloquent events →
- Eager loading Eloquent properties →
- Eloquent attributes and database defaults →
- Building Happy Stack: naming things →
- Building Happy Stack: notifications →
- Conditional validation rules in Laravel →
- How to change the URL slug of a Laravel Nova resource →
- Laravel route collection binding →
- Laravel’s mysteriously macroable paginators →
- A nicer way of overriding Eloquent global scopes →
- Understanding Laravel’s Macroable trait →
macOS
MongoDB
Netlify CMS
Node.js
Opinion
Phoenix
PHP
Shell
Statecharts
Testing
Tools
TypeScript
- Custom TypeScript type guards →
- Node -r →
- Transform objects in a Node stream →
- Node type definitions →
- Generate an array of random data →
- Simplify imports with path mapping →
- TypeScript “Generics” →
- Numeric environment variables and TypeScript →
- TypeScript object bracket notation →
- Using TypeScript with Gatsby →