You have probably seen URL shorteners that use short, seemingly random strings to identify sites. These strings are not random, they are encoded integer values. My valerii gem allows you to easily and quickly encode and decode integer values. Let me show you.
Posts Tagged ‘gem’
Valerii: 32-base string encoder and decoder
October 13th, 2009IMDB Ruby Gem 0.4.0 Now available at RubyForge!
June 14th, 2009I just released version 0.4.0 of the IMDB Ruby Gem into the wild. There are only a few minor updates:
Changes in 0.4.0
- Updates to the console ‘imdb’ utility
- Show the IMDB ID
- Show the full IMDB URL
Installation or upgrade
$ sudo gem install imdb
$ sudo gem update imdb
Issues, source or contributions
IMDB 0.3.0 now including console utility – query IMDB from your console
June 7th, 2009With the release of IMDB 0.3.0, a command-line utility is included!
Why is this awesome for you? Basically, because you can now query IMDB and process the results with any of the great GNU tools available to you like grep.
Let me show you:
Search IMDB
$ imdb Star Trek >> Searching for "Star Trek" > 0060028 | Star Trek (1966) (TV series) > 0796366 | Star Trek (2009) > 0092455 | Star Trek: The Next Generation (1987) (TV series) > 0112178 | Star Trek: Voyager (1995) (TV series) > 0106145 | Star Trek: Deep Space Nine (1993) (TV series) > 0117731 | Star Trek: First Contact (1996) > 0084726 | Star Trek: The Wrath of Khan (1982) > 0092007 | Star Trek IV: The Voyage Home (1986) > 0079945 | Star Trek: The Motion Picture (1979) > 0244365 | Enterprise (2001) (TV series)
Ruby Gem: IMDB
June 3rd, 2009I just released version 0.1.0 of my IMDB gem which allows your app to search IMDB for IMDB movie ID’s and access most data that’s publicly available.
Installation
sudo gem install imdb
This will also install the dependencies Hpricot and HTTParty.
Usage
In your project, include the gem (and possibly rubygems as well).
