Return to 10to1.be

Under the Hat


Hirb

09 Dec 2009

A couple of weeks ago I watched the RailsCast on Searchlogic and saw Ryan use some gem called Hirb. It looked interesting for sure, so I wrote it down to check it out to completely forget about it.

Until yesterday.

What is Hirb?

A mini view framework for console/irb that’s easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.

OK. What does that mean?

It improves irb’s default output a lot. And by a lot, I mean, A. LOT.

Hirb example

In case you like it, you might want to set it up to autoload in script/console for all your Rails projects. In order to do so, add the following to your ~/.irbrc file:

if ENV['RAILS_ENV']
  require 'rubygems'
  require 'hirb'
  Hirb.enable
end

Resources

(Dutch) Op zoek naar een Ruby en Rails ontwikkelaar

26 Nov 2009

Sinds 2006 is 10to1 bezig met het ontwikkelen van web applicaties in alle soorten en maten. We gebruiken daarvoor vooral Ruby on Rails, en soms ook Java.

Na meer dan 3 jaar wordt het tijd dat we ons team versterken.

Daarom dachten wij aan jou!

Jij bent een gedreven software ontwikkelaar(ster). Je hebt interesse in web applicatie technologiën. Je weet wat “MVC” en “OOP” wil zeggen, en hoe je het moet toepassen. Je kent Ruby en Rails, of je bent gebeten om het te leren. Als termen zoals “iPhone development” of “Android ontwikkeling” je sexy in de oren klinken, is dat mooi meegenomen.

Wij bieden je een toffe job in een fantastische omgeving waar de nieuwste technologiën gebruikt worden, in een team van sympathieke mensen. Ons kantoor is in het rustige Edegem, vlakbij Antwerpen, de E19 en de A12.

Geïnteresseerd? Laat van je horen op info@10to1.be !

Sneak preview

19 Nov 2009

Sneak Preview

Rails model visualization

29 Oct 2009

If you’re a developer, you know how it goes. At the beginning of a project, you draw some UML sketches to get you going. There’s a nice tool to do that. As your project goes on, and your code grows, these diagrams don’t get updated too often. After all, every piece of knowledge must have a single, unambiguous, authoritative representation within a system. And for a class model, that representation is the code.

But at some points during your development, you have to communicate with some stakeholders. They want to know what your class model looks like. So you have to provide them with a drawing. Until recently, we went through the trouble of creating these diagrams manually. But those days are over: we found yUMLmeRails

To get yourself a diagram, follow these steps:

cd your_project
script/plugin install \
	git://github.com/nelsonsilva/yUMLmeRails.git
rake yUMLmeRails:download

Your diagram will be saved in your_project/diagrams.

Easy. Nice. Handy. Did I mention ‘pie’ ?

Flickr 2 Twitter

15 Oct 2009

Let’s assume:

  • You have an iPhone
  • You love your iPhone
  • You have a Flickr account
  • You want to share your pics by using only one service: Flickr
  • You have a Twitter account
  • You want to share your pics on Twitter

Now imagine, you can do all this stuff in one go. Life would be great, no?

Enter Flickr2Twitter. Set it up, and you will love your iPhone even more.


About this blog

You’re reading Under the Hat, a weblog written by 10to1.

Who’s got the mic?