This is going to be a short post showing how to run an HTTP server to serve your current working directory.
TLDR For Python 3 run:
python3 -m http.server For Python 2 run:
python -m SimpleHTTPServer .bashrc alias:
alias serve="python3 -m http.server" Explanation Sometimes at work, I’ve had the need to spin up a quick HTTP server to serve my current working directory. I usually need this for two use cases:
Read more →
Disclaimer: Hello! This is my first blog post! I’m super excited to share it with the world but should also warn you that it’s a bit long and repetitive. Hopefully, I’ll become a better writer as I blog more. I hope you enjoy it :)
Introduction I’ve heard this question many times during my career and want to try to answer it. I’m going to dive deep into the networking part of the question since this is the part that I find the most interesting.
Read more →