Last active
November 29, 2018 13:24
-
-
Save genadyp/a51778345d7d7ed0b2ad5853c822e150 to your computer and use it in GitHub Desktop.
filesystem server
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
| 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