Yesterday I found a interesting  ruby library  ——  blinkenlights, which enables you to control the LEDs on your keyboard. I thouhgt it could be a cheap replacement of lava light, so I wrote a ruby script called 'Poor Man's Lava'

require 'rss/1.0'
require 'rss/2.0'
require 'open-uri'
require 'rubygems'
require 'blinkenlights'

SUCCESS = 'success'

def read_rss source=''
  content = ''
  open(source) do |s| content = end
  rss = RSS::Parser.parse content, false
  rss.items[0].title.include?(SUCCESS) ? all_ok : alarm

def all_ok times = 50 { |lights| times.times {lights.random} }

def alarm times = 50, invertal = 0.0 { |lights| times.times {lights.flash invertal} }

while true
  sleep 5 

make sure to have sufficient permissions to access the device, or you could simple run it as super user.