valibuk.net

A place for opinions and notes of a valibuk.

Slovak Ruby and RoR fans will meet in Bratislava on April 25

— ondrej at 8:24 am on Thursday, April 23, 2009

Slovak Ruby and Ruby on Rails fans will meet in Bratislava on April 25, 2009. For more details see the Slovak Ruby on Rails site or directly the post about the meeting [all in Slovak].

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

Domain Specific Languages in Ruby

Tagged with: — ondrej at 10:09 pm on Sunday, March 22, 2009

It is probably every developer’s dream to create a programming language. It is a complex and difficult task, so it will remain just an unfulfilled dream for many.
But there is a chance to create something simpler - a domain specific language (DSL). A language, that covers a specific (and limited) domain.
Ruby helps here a lot - to create a DSL is really simple and easy.
(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

Undelete iPod Mini Files

Tagged with: — ondrej at 8:26 am on Tuesday, March 17, 2009

A friend of mine asked me to help him to undelete music files from his iPod mini.
(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

My Favourite Firefox and Thunderbird Add-ons

Tagged with: — ondrej at 1:53 am on Monday, March 9, 2009

I wrote down my favourite Firefox and Thunderbird add-ons (or plug-ins). Some friends of mine asked me several times.. here is it..
(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

Accessing Mac OS X harddrive from Ubuntu in VirtualBox via shared folders

Tagged with: — ondrej at 12:25 am on Sunday, March 8, 2009

I installed Ubuntu in a VirtualBox machine on OS X (pretty easy and straightforward), but to access a Mac harddrive from Ubuntu was slightly more complicated.
(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

JSSh (Firefox 3.0) with Optional Port Number

Tagged with: — ondrej at 8:15 pm on Sunday, November 9, 2008

One of the ways how to remotely control Firefox is to use the JSSh (JavaScript Shell) plug-in. To successfully install the plug-in, it is necessary to find a suitable version for your Firefox version (1.x, 2.x, 3.x) and platform (Linux, Mac, Win). That is sometimes not so trivial…

Additionally there is a limitation in the plug-in: its communication port number cannot be (easily) changed, so it is not possible to start more JSSh (and Firefox) instances.

First, the actual status is described, later a new version of the JSSh plug-in is provided with examples.

(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

Useful Vim Tips

Tagged with: — ondrej at 10:00 am on Friday, June 27, 2008

Vim is my favourite editor. I search for tips from time to time - and there are still nice surprises. After a few years of using it, it is high time to write down my own list of useful tips :)

(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

Rhotoalbum 0.6

Tagged with: — ondrej at 3:00 pm on Sunday, June 8, 2008

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

The version 0.6 contains a lot of new features such as album statistics (number of photos, number of albums), EXIF support (exposure time, focal length, f-number and camera model), automatic album thumbnail creation from the first album photo, relative links and several bug fixes.

If you would like to know more, please, check the Rhotoalbum page.

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

require_gem ‘activerecord’

Tagged with: — ondrej at 1:05 am on Tuesday, March 11, 2008

A Ruby application that uses the ActiveRecord library (not a Ruby on Rails application) stopped working for me after an update of Ruby. The error message was:

  1. undefined method `require_gem’ for main:Object (NoMethodError)

The corresponding source code was:

  1. require ‘rubygems’
  2. require_gem ‘activerecord’

(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

Updating from Categories to Tags in WordPress

Tagged with: — ondrej at 12:47 am on Wednesday, November 28, 2007

I updated my WordPress installation to the version 2.3.x and found a new feature: tags.
I converted all my categories to tags (except the Uncategorized category) and… what I saw a small disaster :) All categories disappeared (an expected result), but the categories list in my sidebar contained only one, not very useful, item Uncategorized. Additionally a blog entry contained only Filed under: Uncategorized, again, not very helpful.

And then I realised - I have my own theme… arrrrgh…. and there is no tags to categories converter ;>
Well, here are steps how to update your own theme to support basic tags features:
(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
Next Page »