I stumbled across this while trying to calculate some configuration options and open multiple terminal windows at once to run multiple Node services. There are two ways to programmatically open a new terminal window or tab on a mac, depending on whether or not you use iTerm or the default…
How to test a service running on a different laptop
Here’s the scenario: A coworker is working on a service and you just want to send a quick request to test it. You want to do this without deploying the service somewhere, asking them to send the request for you (or you both want to send requests at the same…
How to tell what is running on a specific port on localhost
Have you ever tried to run a server on a specific port only to find out that it was already in use? I ran into this issue just the other day. The problem was I kept using CTRL-C to stop the server and it wasn’t gracefully shutting down. I’ll share…