Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5GP7+a739ufyWfnmZcnI1yl4H5Mf4dIWhBeydsJIBpd3zuUJsBF9+S3jfwvIxdnNxBuQRlqH79Nl+987XeBWtdpudYMbXwB/Ktmy9kYL2QJlmodvdUT1Fv8oFJ8wUSgzAJkEBbvWjIYkB/mqs8uHHENUo9D93pcmGnw820NtX0GKmV1/3Dhq6DU9DY7fTfvWr3kHQbe1X/UjXntInIorjCsfS2eVZ/UxqI5fLRJvWjnTc60Tpo7tTqUJea9KvbC/V1F2kZuwHQzYK+mvLkm6oReM/EjpAmCzlqMOXZT1l+50mPV1hOzr67YZGFh62WTrBY6b64R8SJ0szl+7WvIQEztwMoivv0DAIbzY4VHp6gdeK8ErR3KqyMDchSLdB1UBJNuW/1Tp1ApeK7S0KsNnFnuk/gPakGjB1xv287rzNuAElenmGUQndxPZHnxoE1ZPxEg7nYGDz0Zi+05Ne7f44HEYpSJN9ImWgi4/3ccnNsDeDMsZJIVGw42l6Y8GhDOftQlQiBvtHOfZWPZS6SZHpa8xOKy7I0whMGMjjiwvOOugRLU5bK2m2KDF9qSLbPXfxXoX7RrQgu7S0YFepEdwW2ZsB+TxfibRT6AtPQbus4tWhEfLCHgks7kn3ZuJJNgT9ymtEofNCvrmrOqOHlJlCTPAHyZq+pxmY37ubdyabDw== [email protected] |
| #!/usr/bin/env bash | |
| # Bash3 Boilerplate. Copyright (c) 2014, kvz.io | |
| set -o errexit | |
| set -o pipefail | |
| set -o nounset | |
| # set -o xtrace | |
| # Set magic variables for current file & dir | |
| __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000