Dynamite
Note: This was written for an early version of JRuby back in 2006. It is currently not working. I recommend checking out ruby processing This is a preview release of Dynamite! Dynamite is a Ruby interface to the Processing graphics...
Fetch a Blogger Atom Feed Which Requires Authorization
# This ruby script will retrieve a Blogger Atom feed which is for members only # see http://wiki.derelik.net/ruby:google_calendar_api_example require 'net/https' blog_url = ARGV[0] email = ARGV[1] password = ARGV[2] post_data = {"accountType" => "GOOGLE", "Email" => email, "Passwd" => password,...
Ruby Tips
An on going list of simple tips and info. return is slower than implicit return require 'benchmark' def ret(x); return x+1 end def nret(x); x+1; end n = 50000 Benchmark.bm do |b| b.report { n.times{|x| ret(x)}} b.report { n.times{|x| nret(x)}}...
Sound of Traffic
This project converts network traffic into audible tones. Different forms of traffic( web, email, file sharing) can be assigned different instruments. By adjusting your network usage it is possible to create music, although most usage sounds more like noise. Download...
Video Time Codes for Ruby
Something I needed for a recent project to handle converting SMPTE codes to frame numbers and back again. I am using this with FFMpeg to generate thumbnails and editted clips based upon hand entered time codes. The PAL and DV...