Software, Engineering, Development, and WordPress

Category: Notes (Page 1 of 47)

Notes on programming-related problems that I’ve encountered while working on various projects.

Fix: 502 Bad Gateway with Valet

Periodically, I’ll be trying to load a development using Valet and I’ll end up getting 502 Bad Gateway error.

Whenever I’m faced with this problem, here are the following steps I do to restore functionality (without breaking any of my existing links or certificates):

  1. Run $ composer global update
  2. Run $ valet install
  3. Run $ valet restart

The last step isn’t always necessary but I’ve found there are times where I’ve had to use it.


For reference, check out the past articles related to the above content:

Happy Thanksgiving

Despite the fact that I don’t know how many people read this the day it’s published – or that it matters, really – I’ve almost always shared a note of thanks on Thanksgiving Day on this site for just about as long as I’ve been writing on this blog.

Why would I stop this year?

Continue reading

Installing Valet on macOS with Homebrew

📝 A Note About Notes

Over the years, I’ve written a lot of posts about similar things (if not the same thing). As is the case with software, though, the way we go about doing things can change.

The purpose of posts like this in this category is to start keeping a running list of notes for things I commonly do and how I do them at the time this post is updated.

I don’t know if I’ll update these posts or if I’ll draft new ones. If this one has no “Last Updated” date at the top, then it’s not been updated.


TL:DR: I’ve used a number of different development environments on my local machine over the years and keep coming back to Valet. Here are the notes I use for installing Valet on macOS.

Continue reading
« Older posts

© 2023 Tom McFarlin

Theme by Anders NorenUp ↑