Monday, April 20, 2009

New Ruby library

Thanks to Snaka, there is now a Growl/GNTP library for Ruby.

Ruby GNTP library


require 'rubygems'
require 'ruby_gntp'

# -- Standard way
growl = GNTP.new("Ruby/GNTP self test")
growl.register({:notifications => [{
  :name     => "notify",
  :enabled  => true,
}]})

growl.notify({
  :name  => "notify",
  :title => "Congraturation",
  :text  => "Congraturation! You are successful install ruby_gntp.",
  :icon  => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif",
  :sticky=> true,
})

# -- Instant notification
GNTP.notify({
  :app_name => "Instant notify",
  :title    => "Instant notification", 
  :text     => "Instant notification available now.",
  :icon     => "http://www.hatena.ne.jp/users/sn/snaka72/profile.gif",
})

14 comments:

  1. Events take place in 4 different and beautifully rendered North American locations. download driver From Chua Tom: Help us to study cells and raising cells.

    ReplyDelete
  2. When advancing pages after recording, your recording will be played back. Find it here The developer would love to hear your comments / suggestions.

    ReplyDelete
  3. If you do not play What Color R U? within a 24 hour period, the score will be reset back to the beginning of the current level. Web page. -Map loads faster-Bug fixesand more features are a comin'

    ReplyDelete
  4. Love it""Makes it so easy to track my drug history. downlodable activation codes Added possibility to configure bound phone number 3.

    ReplyDelete
  5. Click Find Baby Names to view 25 names instead of 10. download pdf Very helpful comments from other users on your exercises.

    ReplyDelete
  6. -New Protocol-Fixed bug with saving user birth date-Updated artwork and icons. downlodable games Everword remembers your familiarity with that item.

    ReplyDelete
  7. The selection list change does not affect iOS6 or earlier operating systems. anatomia patologica robbins pdf So we want to bring this "Pocket Whiteboard iP3" to your innovative and revolutionary iPad.

    ReplyDelete
  8. Performance enhancements Simplified the process from joining to booking your first appointment Improved labeling of key features. atmel jungo driver You own your fleet Be careful not to scratch the paint on your space fleet.

    ReplyDelete
  9. Earth secrets let you share your secrets with the world and discover other people thoughts. downloadsoftwaregratis.me Browse the Parent's Discussion Guide for discussion ideas and questions.

    ReplyDelete
  10. THIS GAME AND THIS SITE IS A COMPLETE WASTE OF TIME. My page. Tap on the map for full screen view to hide the toolbars.

    ReplyDelete
  11. I believe that one of the great purposes of life is to have as many awesome experiences as possible. awesomedownloadfilestoday.us Hand images for each chord: Learn the correct hand shapes and finger positions for every chord.

    ReplyDelete
  12. Zorbit's friend Marty needs a hand counting spaceships as they fly by. downloadingisnice.gdn From Tri Active Media: Thoroughbred Owner & Breeder Incorporating Pacemaker is the leading horseracing and bloodstock magazine in Europe.

    ReplyDelete
  13. Prepare to experience something quite unique: Just pick any photo from your library. http://downloadallthingsfast.me Each has 36 different target phonemes displayed as buttons on the screen.

    ReplyDelete