Demostrates how to create a Basic Auth wrapper for httprouter
Handles.
This example was taken from the httprouter
package's README.
Demostrates how to create a Basic Auth wrapper for httprouter
Handles.
This example was taken from the httprouter
package's README.
# Run the last command as root | |
sudo !! | |
# Serve current directory tree at http://$HOSTNAME:8000/ | |
python -m SimpleHTTPServer | |
# Save a file you edited in vim without the needed permissions | |
:w !sudo tee % | |
# change to the previous working directory | |
cd - | |
# Runs previous command but replacing | |
^foo^bar |