Skip to content

Instantly share code, notes, and snippets.

@lukaszkorecki
Created September 19, 2014 15:00
Show Gist options
  • Save lukaszkorecki/bef06937cf469cdcd2a9 to your computer and use it in GitHub Desktop.
Save lukaszkorecki/bef06937cf469cdcd2a9 to your computer and use it in GitHub Desktop.
while true; do
echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 -q 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment