Created
August 22, 2019 12:43
-
-
Save jenslohmann/e31bf324a60d1a3961bd7cbcfaf8547e to your computer and use it in GitHub Desktop.
Poor man's web server for MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do printf 'HTTP/1.1 200 OK\n\n' | nc -4 -k -l 23456; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment