Tag : BY
|`rb output margin||zhaowu||Ruby||ruby||April 5|
|Entry title||eggcaker||C++||ruby||January 6|
Handy function for converting bytes to KB, MB, GB, etc.
|Capture Screenshots in Ruby||Maximus1983||Ruby||ruby||
Use this Gem to programmatically take screenshots of websites with this completely open source and free library. We have also provided easy to follow online tutorials and sample applications to help you set up GrabzIt as quickly as possible.
gem install grabzit
Then register a new account on http://grabz.it to get your application key and application secret.
Then use the code as shown below!
Placed after dummy for picker
The "Mastermind" Game, Digitized
|April 23, 2012|
|Ruby: Search Spotify API||chrisaiv||Ruby||ruby||
Simple test showing how to make a request to Spotify's API.
|January 26, 2012|
|Monster Beats by Dr.Dre headset Pro||lcy1208||ActionScript 3||BY||
Monster Beats by Dr.Dre headset Pro
|December 11, 2011|
|Ruby: Parsing Blackberry Download Reports||chrisaiv||Ruby||ruby||
The Blackberry AppWorld portal allows you to schedule reports which are delivered as CSV.zip files. Although the CSV file offers a lot of detail about operating system and date of download, most of the time I just want to know which users downloaded the app from which countries. So usually I choose "Country, then date", unpack the .zip and run this (verbose) ruby script.
|November 10, 2011|
|Singleton Pattern MacRuby||iloveitaly||Ruby||ruby||
Works fine for MacRuby applications
|November 2, 2011|
|Ruby: SMPTE Converter||chrisaiv||Ruby||ruby||
If you need to do any sort of screen capturing using FFMPEG, you might need this one day
|October 29, 2011|
|Rescue any exception in Ruby||cczona||Bash||ruby||
From the Pickaxe, 4th edition, p. 352:
A rescue clause with no parameter is treated as if it had a parameter of StandardError. This means that some lower-level exceptions will not be caught by a parameterless rescue class. If you want to rescue every exception, use this:
|October 20, 2011|
|jEdit macros integrating jRuby||guai||Java||jruby||
Almost the same as my snippet for groovy, but for jruby
|September 22, 2011|
|remove trailing space from specific file (ex. ruby)||giver||Bash||ruby||August 24, 2011|
|Ruby CSV writing and reading example with quotes, line breaks and commas in the fields||m1b||Ruby||ruby||August 19, 2011|