|
Control Pulseaudio from the Command Line - Ruby Script
1 hour ago
by Steven Saus
For reasons far too tedious to go into here 1 I needed to control PulseAudio's volume (and toggle mute) from the command line. I eventually found a Ruby script - but it didn't completely work. I tweaked it a bit, forked it on github, and now present it for your pleasure. The main reason you'd want t ...
|
|
Presence of a substring in Ruby
4 hours ago
by Jaco Pretorius
I just watched the ‘Ruby Trick Shots’ video. This video basically shows a bunch of very useful methods, libraries and techniques you might be unaware of. If you’re a Ruby developer I would highly recommend it. One of the ‘tricks’ I found particularly interesting was checking for a substring. Let’s s ...
|
|
Liste des TimeZone de RubyOnRails
5 hours ago
by rivsc
Voilà la commande magique qui renvoie la liste des TimeZone de Rails : ActiveSupport::TimeZone.all Si vous voulez les afficher en console : ActiveSupport::TimeZone.all.map(&:tzinfo).each{ |tz| puts tz } Si vous voulez changer la TimeZone de ruby pour Casablanca (Maroc, Afrique): Time.zone = "Casabla ...
|
|
My ruby external-encoding hack
5 hours ago
by admin
Reading (text)-files from disk is very easy in Ruby. content = IO.read( "filename.txt" ) When you are trying to do something with this content you can get in trouble. content.split(",") # => invalid byte sequence in UTF-8 I’ve setup my environment very nicely, so Ruby treats external files as UTF-8. ...
|
|
Rubys Futterbox
6 hours ago
by boergi
Das ist sie, die Futterbox für Ruby! Wir haben uns ca. vor einem Monat bei der Futterbox angemeldet und heute ist sie bei uns angekommen – die Futterbox. Bei Futterbox kannst du dich kostenlos anmelden und Futterproben für Hund und Katze bekommen. Leider ist es zur Zeit nur möglich ein Tier anzumeld ...
|
|
Our Condolences To Reality TV Star ‘Ruby’ on the loss of her brother
11 hours ago
by FreedomsBlsings
Our sincere condolences to the Gettinger family for their great loss. John S. Gettinger – SAVANNAH – John Stephen Gettinger, 50, of Savannah, Georgia, died unexpectedly Wednesday morning, February 8, 2012, at his home. Born in Savannah, Georgia, he was a son of Ann Rogers Gettinger and the late Seni ...
|
|
Wizard of Oz Child’s Deluxe Dorothy Ruby Red Slippers – Small (3 – 4)
13 hours ago
No ratings available. Price: $20.99 Product Features: Red glitter shoes with red cloth bow You’ll click your heels in excitement Officially licensed Wizard of Oz accessory Small is 6.5″ long and 2 3/8″ at the widest part of the shoe Accessories make the costume Product Description Complete your Doro ...
|
|
Pickaxe Book Chapter 04
13 hours ago
by Eric MacAdie
This chapter starts out with arrays (square brackets) and hashes (curly braces), which are important to know. It says that blocks when combined with collections are good iterators. The elements in arrays and hashes can be any type. Using different methods, arrays can be different data structures: se ...
|
|
He's on the mend
17 hours ago
by Justine Sterling
Little Reid is finally on the mend. He's still having to take the Nebulizer, but he sounds much better and the doctor said that his ears are starting to clear just a little too. We will need to go back in three weeks time to have his ears checked and if his chest cold does not clear on the weekend w ...
|
|
Cross one off the geek bucket list: My linux.conf.au talk
19 hours ago
by henare
It goes without saying that the organisers, volunteers, room monitors and AV people did an amazing job but I need to say it – they did an amazing job! (How good are the talk recordings?!)
|