Initiating HTTP Server using different scripting languages Python python 2.x - python -m SimpleHTTPServer 8000 python 3.x - python -m http.server 8000 http-server (Node.js) npm install -g http-server # install dependency http-server -p 8000 node-static (Node.js) npm install -g node-static # install dependency static -p 8000 Ruby ruby -rwebrick -e’WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd).start’ Ruby 1.9.2+ - ruby -run -ehttpd . -p3000 adsf (Ruby) - gem install adsf # install dependency - adsf -p 8000 Perl ---- cpan HTTP::Server::Brick # install dependency - $ perl -MHTTP::Server::Brick -e ‘$s=H...
About Python, Node.js, Matlab tutorials and NS-2 tutorials