From fa9e3519add1094664a618b5c1baa8a8de456631 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 20 Dec 2017 16:18:31 +0200 Subject: [PATCH] Added http-sever shell alias to Python3's SimpleHTTPServer. --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index 26038cd..3f8b1e3 100644 --- a/.bashrc +++ b/.bashrc @@ -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 -- GitLab