This page must use the Rübÿ Spëëd Mëtäl Cödïng template!!!111

This commit is contained in:
Astro 2008-06-28 15:03:02 +00:00
parent e29ac85ef5
commit 8ea2f5b0e5
1 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,6 @@ require 'socket'
SHRINK_X = 5
SHRINK_Y = 10
Thread::abort_on_exception = true
current = ''
current_lock = Mutex.new
Thread.new {
@ -16,7 +15,6 @@ Thread.new {
d.algorithm = 'fstein'
d.brightness = 0.5
d.gamma = 1.2
loop do
f = vid.get_frame
cucul.dither_bitmap(0, 0, vid.width / SHRINK_X, vid.height / SHRINK_Y, d, f)
@ -25,7 +23,6 @@ Thread.new {
}
end
}
s = TCPServer.new(2323)
while (c = s.accept)
puts "accepted #{c.peeraddr.inspect}"
@ -44,5 +41,8 @@ while (c = s.accept)
}
end
</source>
[[Category:Ruby]]
{{Rübÿ Spëëd Mëtäl Cödïng}}