Code

Tutorials and code snippets

Targeting 'stuck' sticky elements in React

Cleaning up ternaries in React

Resetting a useReducer state

Making external links open in new tabs

Fixing Eleventy's dates being off by one day

Fixing 0.0.0.0:80 address already in use

Minimalistic terminal prompt with zsh

CSS Debt

How to set up a blog with Eleventy

Optional array as JavaScript param

Add a sitemap to Eleventy

Jekyll vs Hugo vs Gatsby vs Next vs Zola vs Eleventy

How to use React Hooks inside class components

Acing the JavaScript interview

Learn Svelte in under 3 minutes

How to trigger a dark theme at night

How to set up a Jekyll blog on Mac

Updating React Context inside child components

Serverless Netlify functions in 10 minutes

Update component state from outside of a React app

Run code during the Devise registration process

Don't touch Devise's defaults

How to add fields to the Devise registration form

Using Context with React classes

Disable code splitting in Create React App without ejecting

How to find if a JavaScript object is empty

Fix: VSCode is showing only one tab at a time

Boilerplate HTML5 skeleton for your projects

A truly simple CSS reset

How to run Heroku Scheduler weekly

How to connect to localhost from an iPhone

How to hide numerical IDs in Rails 5 (with hashid)

Scheduled jobs in Rails 5 and Heroku

CSS font smoothing with antialiasing

Solving `Error loading 'sqlite3' Active Record adapter`

How to tag with acts-as-taggable-on in Rails 5

Deleting Devise users in Rails 5+

Scroll to top on page change with React Router

Multiple classnames with CSS Modules in React

Faster development builds with Jekyll

How to validate the uniqueness of two columns in Rails 5

Heroku HTTP Origin Header didn't match request.base_url

How to connect Heroku to Cloudflare

SQLite3 to PostgreSQL in Rails 5

How to use an email layout with Devise

How I send emails with Rails 5 + Postmark

Finding elements in arrays with ES6

How to add a datetime picker to Rails 5

Multitenancy without subdomains in Rails 5

How to rename a column in Rails 5

How to send emails with Rails 5

How to add webhooks to Rails 5

How to upload files to a Rails post

Fixing Apartment's ActiveRecord::ConnectionNotEstablished error

How to create aliases in the macOS Terminal

The quickest way to set up Redux & React

The quickest way to set up MobX & React

How to use decorators in create-react-app

JavaScript spread syntax explained in 30 seconds

How to set up Apartment for multi-tenant Rails apps

How to use Google Analytics with React Router v4

Flattening multidimensional JavaScript arrays

How to get unique values in a JavaScript array

How to make responsive YouTube embeds

System font stack

Interactive state with CSS

How to make a Jekyll _pages directory

Electron's IPC not sending/receiving

How to style React with CSS Modules

Silver, the smallest CSS grid ever

Space under HTML image tag

Fix blurry edges when using transform: scale