diff --git a/bin/tmphttp b/bin/tmphttp new file mode 100755 index 0000000..17583bf --- /dev/null +++ b/bin/tmphttp @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e +set -o pipefail + +function unexpose { + expose -d 8888 +} +trap unexpose EXIT + +expose 8888 +python -m SimpleHTTPServer 8888