Skip to main content

macOS

Browse all articles, tutorials, and guides about macOS

7posts

Posts

CI/CD
|8 min read

15 Minutes to 5: What Happens When You Move iOS CI From M1 to M4

The Wikipedia iOS app's build and 503 unit tests took a median 15.4 minutes on GitHub's M1 runner and 5.6 minutes on an M4. We split the time by phase, priced each run, and checked whether a bigger Mac is worth it.

Networking
|13 min read

How to Free Up a TCP/IP Port on Linux, macOS, and Windows

Learn how to identify processes using a port and free it up by stopping the service, killing the process, or changing configuration across different operating systems. Find an available port, and close a port with ufw, firewalld or nftables.

Bash
|5 min read

Using ls to list directories and their total sizes

How to show directory sizes from the shell - practical commands for macOS and Linux, and why `ls` alone is not enough.

Networking
|8 min read

How to Connect to Network Shares with Username and Password

Learn how to mount SMB/CIFS network shares with credentials on Linux, macOS, and Windows, including persistent mounts and secure credential storage.

Networking
|6 min read

How to Fix SSH "Could Not Resolve Hostname" Error

Troubleshoot and fix the SSH 'nodename nor servname provided, or not known' error with DNS checks, host file configuration, and SSH config debugging.

Networking
|17 min read

How to Simulate a Slow Internet Connection for Testing

Throttle and break the network on purpose: tc netem on Linux, Network Link Conditioner on macOS, Clumsy on Windows, browser DevTools, Toxiproxy for a single service, and three ways to create a connection timeout.

Networking
|4 min read

Who is Listening on a Given TCP Port on Mac OS X?

Need to find out which process is using a specific port on your Mac? Here's how to check which application is listening on a TCP port using built-in macOS tools.