Writing

Thoughts about coding.

All Posts

  1. How to add a PR template to your GitHub repo

    How to pre-fill the blank description with helpful prompts.

    Updated 2 years ago

  2. How to dramatically reduce video file size using ffmpeg

    How to shrink a video so it’s small enough to upload.

    Updated 2 years ago

  3. The translateZ trick

    How to smoothly animate CSS filters in Safari by engaging the GPU.

    Updated 2 years ago

  4. What is a Factory Function? 🔖

    Kyle Shevlin on how to use factory functions as an alternative to classes.

    Updated 2 years ago

  5. Writing great alt text: Emotion matters 🔖

    Jake Archibald on how to write better image alt text.

    Updated 2 years ago

  6. Levels of abstraction in testing 🔖

    Sam Selikoff on how to make unit tests easier to read.

    Updated 2 years ago

  7. How ecobee Uses Slack to Report Data Entry Errors to Content Editors

    How the ".com" team at ecobee uses Slack as an alert system.

    Updated 3 years ago

  8. The filter(Boolean) trick

    How to remove empty values from an array.

    Updated 4 years ago

  9. Using GraphQL with Gatsby

    How to write GraphQL queries in a Gatsby project.

    Updated 5 years ago

  10. Adding Content to a Gatsby Project

    The pros and cons of different approaches.

    Updated 5 years ago

  11. Writing CSS-in-JS in a Gatsby Project

    How CSS-in-JS libraries like CSS Modules and Styled Components make it easier to safely add and remove styles.

    Updated 5 years ago

  12. Writing CSS in a Gatsby Project

    How to write traditional CSS in a Gatsby project.

    Updated 5 years ago

  13. Wrapping Pages in a Layout Component

    How to share common content and styling between pages.

    Updated 5 years ago

  14. Adding Pages to a Gatsby Project

    How to add pages to a Gatsby project and navigate between them.

    Updated 5 years ago

  15. Writing HTML in a Gatsby Project

    How to use React to split HTML into reusable components.

    Updated 5 years ago

  16. Gatsby's Default Files and Folders

    What's going on inside each folder in a Gatsby project.

    Updated 5 years ago

  17. Starting a New Gatsby Project

    How to start a Gatsby project on your computer.

    Updated 5 years ago

  18. What is Gatsby?

    How Gatsby combines the best features of React and HTML.

    Updated 5 years ago

  19. Introducing Gatsby Tutorials

    A new, community-updated directory of Gatsby.js learning resources.

    Updated 6 years ago

  20. How to Set Up a Mac for Web Development

    What to install on your Mac before starting a JavaScript project.

    Updated 6 years ago