valibuk.net

A place for opinions and notes of a valibuk.

Photos from Japan, autumn 2010

— ondrej at 11:51 pm on Monday, July 25, 2011

Pictures from a trip to Japan in autumn 2010.

IMG_8558

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Photos from Lake Constance, July 2011

— ondrej at 5:05 pm on Sunday, July 24, 2011

Pictures from a trip to Constance and places around the Lake Constance in July 2011.

IMG_5356

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Rhotoalbum 0.9

— ondrej at 11:00 pm on Monday, January 17, 2011

A new version of Rhotoalbum, a simple but powerful photo album generator written in Ruby, has been released.

The version 0.9 contains a fix of a slightly annoying bug. Thanks go to Mooffie.

(There is more where this came from … )

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Photos from the UK, May 2010

— ondrej at 9:07 pm on Wednesday, July 21, 2010

Pictures from a trip to the UK in May 2010. We visited lovely places like the Lake District or Edinburgh.

IMG_5356

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Rhotoalbum 0.8

Tagged with: — ondrej at 8:59 pm on Wednesday, July 21, 2010

A new version of Rhotoalbum, a simple but powerful photo album generator written in Ruby, has been released.

The version 0.8 contains a number of features (well, after two years) like RSS support (try with cooliris), options per album, pagination, cool thumbnail effects for photos and album covers and improved album cover managing.

(There is more where this came from … )

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Command Line Options Parsing in Ruby

Tagged with: — ondrej at 3:35 pm on Friday, April 2, 2010

One of the most common ways how to control a command line application is to use options, e.g. almost every command line application would understand -h or --help or /? (common in the MS-DOS world) as a request to show some instruction.

Ruby (but also other programming languages such as Java) has a basic support for accessing command line arguments, so there is a space for libraries that make reading options easier such as Trollop, Optiflag or Choice.
Update: Actually not so true for Ruby - there are two standard libraries (they are built-in, so it is not necessary to install them): OptionParser and GetoptLong. Check them out. (thnx to Max)

The Choice library is an interesting choice, not only because it works smoothly, but it is a nice example of a domain specific language (DSL or see my older post about DSL in Ruby).

(There is more where this came from … )

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Access Flickr with Ruby and Flickraw

Tagged with: — ondrej at 11:51 pm on Monday, March 29, 2010

Flickr is a well known site for sharing photos and it is one of the most popular sites that published their services and allow to use them freely.

It is not necessary to work on a photo uploader, photo printing site or a mashup solution to become an user of the services. Sometimes it is interesting enough to get a list of your photos URLs and show them in a favourite flash photo viewer on your own web site.

There are several libraries for Ruby, one of the most up-to-date is Flickraw. Unfortunately it is not mentioned on the official Flickr services page, although it works smoothly, has a good documentation and is actively maintained (btw. the RubyForge project page is outdated, but the github page is up-to-date).
(There is more where this came from … )

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Photos from Croatia and Slovenia

Tagged with: — ondrej at 12:06 am on Monday, February 15, 2010

Pictures from a late autumn trip to Croatia and Slovenia in November 2009.

IMG_2832

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Favourite OS X applications 2009

Tagged with: — ondrej at 1:36 am on Sunday, October 18, 2009

Recently I updated to the Snow Leopard, but I decided for a clean install (of course, again the last one).
I saved a list of all installed applications
ls -1 /Applications/ > my_apps.txt
in order not to forget what I used last week :) ..and here are the favourite ones:
(There is more where this came from … )

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon

Photos from Austria and Czech Republic

Tagged with: — ondrej at 2:13 am on Tuesday, September 22, 2009

Pictures from Rosenburg (Austria), České Budějovice, Český Krumlov a Karlštejn (Czech Republic) in June 2009.

IMG_1335

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • DZone
  • Digg
  • Reddit
  • Technorati
  • Furl
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • StumbleUpon
Next Page »