Everything happens in a subshell so it shouldn't affect your shell stuff.
- changes directory to "/tmp"
curl
s the github pages IP address with the properHost
header set so it knows to serve the brooklynjs.com page- pipes the output to a file, "brooklynjs.html"
- figures out whether to use
open
orxdg-open
to open the file - uses the result of above to open the file
- sleeps 3 seconds becauses
open
doesn't block, then deletes the file