Blog posts by topic
CMS
CSS
Elixir
Git
Happy Stack
JavaScript
- Check a date with Chai →
- The right way to compare arrays with Chai →
- Split a JavaScript array into chunks →
- Avoid Array.prototype.push →
- Chai assert error →
- 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 →
- Rounding errors in JSON Schema validation →
- Nested optional chaining in JavaScript →
- Modelling API requests with Statecharts →
- Generate a pseudo-random boolean →
- Custom Decap CMS previews in Gatsby →
- Generate an array of random data →
- Selectively disable ESLint →
- Simplify imports with path mapping →
- Numeric environment variables and TypeScript →
- Using TypeScript with Gatsby →
Laravel
- Using Eloquent subqueries to randomise grouped results →
- 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 →
MongoDB
Node.js
Opinion
Phoenix
PHP
Shell
Testing
Tools
TypeScript
- Custom TypeScript type guards →
- Node -r →
- Node type definitions →
- Transform objects in a Node stream →
- 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 →