Last active
August 29, 2015 14:09
-
-
Save meodai/3d0840643e5b679c87b8 to your computer and use it in GitHub Desktop.
Starts a HTTP server on the current directory and opens it in the browser
This file contains 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
#creates a HTTP server and opens in my favorite browser | |
apatschi () { | |
open -a "Google Chrome" "http://localhost:8000" | |
python -m SimpleHTTPServer | |
#for pihatschpi stuff, comment python and un comment this one: | |
#php -S localhost:8000 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment