Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. @bonkydog bonkydog renamed this gist Aug 11, 2010. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt → serve_the_current_directory.bash
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    # serve the current directory on port 8000

    python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
  2. @invalid-email-address Anonymous created this gist Aug 11, 2010.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # serve the current directory on port 8000
    python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"