Skip to content
Snippets Groups Projects
Commit fa9e3519 authored by nimrod's avatar nimrod
Browse files

Added http-sever shell alias to Python3's SimpleHTTPServer.

parent a53d9607
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,7 @@ alias presentation='docker dev adarnimrod/presentation'
alias prune_prerun='find "$HOME" -maxdepth 1 -name ".prerun.*" -print0 | grep -zv "$(pgrep -u "$(id -u)" bash)" | xargs -0r rm '
alias netdata='docker run --detach --name netdata --cap-add SYS_PTRACE --volume /proc:/host/proc:ro --volume /sys:/host/sys:ro --volume /var/run/docker.sock:/var/run/docker.sock --publish 19999:19999 firehol/netdata'
alias json-tool='python3 -m json.tool'
alias http-server='python3 -m http.server 8080'
deduce_aws_region () {
AWS_DEFAULT_REGION="$(python << EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment