16 Jul '12, 5pm

Sam Ruby: Inhibiting Suspend

require 'dbus' # gem install ruby-dbus bus = DBus::SessionBus.instance sm = bus.service('org.gnome.SessionManager').object('/org/gnome/SessionManager') sm.introspect sm.default_iface = 'org.gnome.SessionManager' cookie = sm.Inhibit($0, 0, 'inhibiting', 4).first at_exit { cookie = sm.Uninhibit(cookie) if sm.IsInhibited(4).first }

Full article: http://www.intertwingly.net/blog/2012/07/16/Inhibiting-Su...

Tweets

@adymitruk If I recall recorrectly, I was using...

rubygems.org 18 Jul '12, 4pm

twitter 3.3.1 A Ruby wrapper for the Twitter API. install gem install twitter Download Documentation Subscribe Stats Autho...

Ruby Patterns: Method with options

rubyflow.com 16 Jul '12, 5pm

Ruby Patterns: Method with options Posted by rlmflores on July 16, 2012 — 0 comments I've just wrote a blog post about the...

@peeja This is a start:

ruby-lang.org 20 Jul '12, 4pm

Now is a fantastic time to follow Ruby’s development, with Ruby 2.0 development underway. With the increased attention Rub...

Ruby on Rails Guides (edge) - #rails #ruby

edgeguides.rubyonrails.org 23 Jul '12, 10am

Ruby on Rails Guides (580fa0c) These are Edge Guides , based on the current master branch. If you are looking for the ones...

Bundler: The best way to manage Ruby applications

gembundler.com 22 Jul '12, 11am

As a result, bundler comes with a --deployment flag that encapsulates the best practices for using bundler in a deployment...

Sam Ruby: utf8mb4

intertwingly.net 10 Jul '12, 6pm

Amusing exercise: compile a list of OS vendors who, by default, ship a non-Unicode-capable ("narrow") build of Python. Pos...