Syntax highlightning

This commit is contained in:
Astro 2007-06-05 12:22:00 +00:00
parent aa38faf7cd
commit 4139bc109a
1 changed files with 5 additions and 4 deletions

View File

@ -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}}