Gotta Love High-quality Web-apps...
Free, High Quality Pictures. Perfect for Presentations!
I came accross a site today: http://www.aboutpixel.de/
This site features free (as in beer), high resolution pictures. The only thing you have to do to be able to use the pictures in your presentations is mentioning the site and the photographer/artist. This can be done right below the picture or in the imprint.
So, if you happen to give a presentation in one of the lectures I currently attend: give me something to look at :)
Disqus --> IntenseDebate
I switched my commenting system from disqus to intensedebate.
They're pretty much the same. Both of them feature a wordpress plugin which keeps the comments in the WP database and in the commenting system the same, both of them have threaded replies, ratings for posts.
The main difference as far as I've seen:
- intensedebate has REAL openid support (a BIG plus imho!)
- intensedebate doesn't create (imho: stupid) "communities"; that basically are just the comments themselves
- intensedebate has a real openid signup (no "extra"; password, embedded via API key)
- easy RSS tracking of comment threads
- Gravatar support
Disqus might have some of those too, but I haven't seen them the time I used it :)
xDSL, DSLAM & Co
The 2nd talk I gave today.
I gave the whole talk in english, actually a surprisingly nice experience.
Here are the slides: [pdf]
Nice to Be Thanked
Introduction to Ruby
Yet another talk at my university together with chris, Michael and Jakob
Event 1: Entwicklung von Webanwendungen – An introduction to ruby: [pdf]
Update:
Event 2+3: [pdf]
Event 4: has_many,Validatoren,Testing,Security,Performance,Deployment,Diskussion [pdf]
Batch Convert Flv to Mp3 in Windows With Ruby
I'm sure you could also do the scripting part with a batch file, but this was easier for me:
1. Get MPlayer for Win32 from over here
2. Do some ruby magic:
require "Fileutils" input_files = Dir["*.flv"] input_files.each{|filename| prefix = filename.split(".")[0] commandline="MPlayer-p4-svn-27811\\mplayer.exe -dumpfile \"#{prefix}.mp3\" -dumpaudio \"#{prefix}.flv\"" puts "Executing: " + commandline IO.popen (commandline) { |f| puts f.gets } }
3. Profit!
Mixins + Multiple Methods With the Same Name
Just a short test to find out what Ruby does when mixing in 2 modules which both have a method with the same name:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
module ModuleA def testbla puts "Method defined in Module A" end end module ModuleB def testbla puts "Method defined in Module B" end end class TestclassAfirst include ModuleA include ModuleB end class TestclassBfirst include ModuleB include ModuleA end puts "------------" test1 = TestclassAfirst.new puts "First importing A and then B:" test1.testbla puts "------------" test2 = TestclassBfirst.new puts "First importing B and then A:" test2.testbla puts "------------" |
Result:
1 2 3 4 5 |
First importing A and then B: Method defined in Module B First importing B and then A: Method defined in Module A |
Ruby XML Mapping
Yet another talk :)
This time in a lecture called "Markup Languages und Anwendungen";
Went pretty ok, but as usual I talked a little bit too fast _
Onboard Netstumbler Alternative in Vista
As Netstumbler doesn't work in Vista, here's a nifty alternative using netsh:
> netsh wlan show networks
Interface Name : Wireless Network Connection
There are 3 networks currently visible.SSID 1 :
Network type : Infrastructure
Authentication : Open
Encryption : NoneSSID 2 :
Network type : Infrastructure
Authentication : WPA2-Personal
Encryption : CCMPSSID 3 :******************
Network type : Infrastructure
Authentication : WPA-Personal
Encryption : TKIP