Syntax highlightning
This commit is contained in:
parent
aa38faf7cd
commit
4139bc109a
|
@ -1,6 +1,6 @@
|
|||
[[Kategorie:Projekt]]
|
||||
=Telnet-Haltestellenmonitor=
|
||||
<pre>#!/usr/bin/env ruby
|
||||
<source lang="ruby">#!/usr/bin/env ruby
|
||||
require 'net/http'
|
||||
require 'socket'
|
||||
require 'rexml/document'
|
||||
|
@ -122,11 +122,12 @@ serv = TCPServer.new('0.0.0.0', 65023)
|
|||
while client = serv.accept
|
||||
ClientHandler.new(client)
|
||||
end
|
||||
</pre>
|
||||
</source>
|
||||
|
||||
Und dann:
|
||||
telnet localhost 65023
|
||||
|
||||
|
||||
[[Kategorie:Ruby]]
|
||||
|
||||
|
||||
|
||||
{{Rübÿ Spëëd Mëtäl Cödïng}}
|
||||
|
|
Loading…
Reference in New Issue