First snippet

Get the IP address to check a localhost webpage on the phone, when the server's running on the Mac. Don't forget to add the port. (e.g. 192.168.1.34:3000)

ifconfig | grep inet | grep 192 | awk '{print $2}'

Second snippet

some random code