Metaclasses in Ruby Part I
This is mainly an exercise for myself. Nothing new here. Just a place for me to keep all that in mind. http://gist.github.com/84205
This is mainly an exercise for myself. Nothing new here. Just a place for me to keep all that in mind. http://gist.github.com/84205
Actually I didn’t want to write about the iPhone because I was sick of this whole hype. It was almost like in the movie »Being John Malcovich« when John Malcovich enters his portal and all he can say or hear is his name »Malcovich« »i’m sick of these iphone news – i want mac and […]
I’m a heavy macports user. I’ve installed tons of ports and for a while now, I was under the impression that macports matured enough to stop worrying about potential dependency nightmares. Basically macports already felt like the FreeBSD ports collection. Sure, there are b0rken portfiles now and then but thats ok. As I said – […]
Pops up a dialog asking for a search query, then runs grep on the selected dir in the project drawer and shows the results in a HTML output window with the search query highlighted. Just have a project with 8000 files in it and TextMates » Find in Project « command is just too slow […]
Yesterday, I stumbled across the Bogosort sorting algorithm. The example implementations looked horrible so I tried to implement it in a short and readable way, in Ruby of course. Here is my first and only attempt of a Ruby Bogosort. # Use: ruby bogosort.rb a b c def sorted for i in (0..$array.length-2) return false […]