Thoughts & Things

Cory Miller. Front-End Developer at ConvertKit. Remote.

How to fix background videos that won't autoplay

March 14, 2020

Yesterday I was attempting to add a silent autoplaying video to an element and kept running into issues where the video would sit on the first frame and wouldn't actually play the video.

How to write PHP echo in shorthand

March 06, 2020

Sometime last year I found myself getting annoyed with how we were using PHP's echo to inject a single string into our WordPress HTML. It felt far too verbose and cluttery. Fortunately, there's a neat solution.

How to write custom utility pseudo-classes in CSS

March 05, 2020

A while ago I was trying to figure out how to write my own pseudo-classes in CSS and couldn't figure out how to make it work, until I stumbled across this stupid easy trick to write remarkably clear utility classes.

Why I'm getting back into blogging

March 03, 2020

Recently I decided to get back into blogging, which you probably figured out by visiting the site. It's a simple setup, but it does one thing really well: it stops me from overthinking.

The danger of using --force in git

February 28, 2020

Yesterday I had one of those days when my life seemed to flash before my eyes. I was staring at my branch's logs, wondering why all of the previous day's work was nowhere to be found.

Considering scalability in small updates and features

February 27, 2020

It's fairly easy to add updates to your code to solve an issue. It's easy to get a directive from a director or project leader or even a request from a teammate and simply execute it. The challenge comes in looking at problems from a standpoint of future proofing.