Oct 02 2007

using the fox toolkit in ruby

Category: Ruby, X Windowsetd @ 3:15 pm

The fox toolkit is a portable C++ graphical library. If you download old code (such as the nice rubyforger - that sits on top of libnet and libpcap) you may end up with some headache, so these easy steps will help to get your fox application up and running :)
Continue reading “using the fox toolkit in ruby”


Sep 04 2007

rails environment with lighttpd

Category: Networking, Rubyetd @ 2:49 pm

We want an automated deployment enviroment. The server will automatically (upon restart) detect all the rails applications under a given folder and create virtual hosts for them. No further changes in the server configuration will be required. never. :)
Continue reading “rails environment with lighttpd”


Aug 15 2007

ruby Qt: model / view / controller

Category: Ruby, X Windowsetd @ 8:10 pm

From the wikipedia:

Model-view-controller (MVC) is an architectural pattern used in software engineering. In complex computer applications that present a large amount of data to the user, a developer often wishes to separate data (model) and user interface (view) concerns, so that changes to the user interface will not affect data handling, and that the data can be reorganized without changing the user interface.

MVC is not only useful for web frameworks and applications, here is a simple example of the implementation of the MVC pattern for a Qt GUI application.
Continue reading “ruby Qt: model / view / controller”


Aug 07 2007

ruby bot: email processing

Category: Ruby, Shell Scriptetd @ 12:11 am

Pinky: Gee, Brain, what are we going to do tonight?
Brain: The same thing we do every night, try to take over the world!

Have you ever wanted to have the ability to send commands to your box using email? Use RubyBot, the brand new plugin-driven ruby script that makes the task of taking over the world a bit easier!
Continue reading “ruby bot: email processing”


Jul 31 2007

ruby Qt: menu bar, status bar and resources

Category: Ruby, X Windowsetd @ 5:31 pm

Menu and status bar are two elements that you expect to find in most applications out there. Menu bars are rich elements that consists of menu items and actions. Each action consists of a text and optionally a shortcut and an icon.
Continue reading “ruby Qt: menu bar, status bar and resources”


Jun 04 2007

ruby Qt custom widget example

Category: Ruby, X Windowsetd @ 1:08 am

With Qt’s custom widgets you can create the building blocks of the GUI of your application.

In this case we are creating a graphical command line. The command line will consist mainly of a text input box (Qt::LineEdit). The widget will have memory, that is, every line entered by the user will be added to the internal history of the widget and will be accessible by means of Up and Down arrows as the standard *nix command line.

Continue reading “ruby Qt custom widget example”


Jun 02 2007

ruby Qt::TreeWidget example

Category: Ruby, X Windowsetd @ 6:23 pm

I am involved in some projects were we are using Qt library for GUI development with ruby. In the following example I will show how to use the Qt::TreeWidget object.

The TreeWidget can be used not only to display information hierarchically but also to add multiple columns to the data model.
Continue reading “ruby Qt::TreeWidget example”


Sep 17 2005

Hello world!

Category: Uncategorizedadmin @ 9:29 pm

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!


« Previous Page