Skip to content

Instantly share code, notes, and snippets.

@genadyp
Last active November 29, 2018 13:24
Show Gist options
  • Select an option

  • Save genadyp/a51778345d7d7ed0b2ad5853c822e150 to your computer and use it in GitHub Desktop.

Select an option

Save genadyp/a51778345d7d7ed0b2ad5853c822e150 to your computer and use it in GitHub Desktop.
filesystem server
function serve() {
local port=${1:-9000}
ruby -run -e httpd . -p $port
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment