*Empty MediaWiki Message*

This commit is contained in:
Vater 2013-11-19 01:40:06 +00:00
parent 2f688d2f00
commit 8e72d1947d
1 changed files with 14 additions and 9 deletions

View File

@ -1,18 +1,21 @@
[[Category:Ruby]] [[Category:Python]]
=Python2=
== Python2 ==
<source lang="bash">
python -m SimpleHTTPServer 8888
</source>
=Python3=
== Python3 ==
<source lang="bash">
python3 -m http.server 8888
</source>
==guru version==
=== guru version ===
<source lang="bash">
twistd -n web --path $path --port $port
</source>
=Ruby=
==äđëqüäŧë==
== Ruby ==
=== äđëqüäŧë ===
<source lang="ruby">
#!/usr/local/bin/ruby
require 'webrick'
@ -28,11 +31,13 @@ s = HTTPServer.new(
trap("INT"){ s.shutdown }
s.start
</source>
==gürü==
== gürü ==
<source lang="bash">
ruby -rwebrick -e 'WEBrick::HTTPServer.new(:Port=>8080,:DocumentRoot=>"/tmp").start'
</source>
{{Rübÿ Spëëd Mëtäl Cödïng}}
[[Category:Python]]
[[Category:Ruby]]