Skip to content

Instantly share code, notes, and snippets.

@mjdiloreto
Last active July 20, 2020 14:37
Show Gist options
  • Save mjdiloreto/df3e7a7ecd79f83950bfc95c09c717bf to your computer and use it in GitHub Desktop.
Save mjdiloreto/df3e7a7ecd79f83950bfc95c09c717bf to your computer and use it in GitHub Desktop.
Serve the current directory via http from shell. Most bare-minimum, stupid easy to remember command I am aware of.
ruby -run -ehttpd . -p8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment