Archive for the 'Howto' category

Information Retrieval using the Boolean Model in Ruby on Rails

[slideshare id=427296&doc=irror-1211740139410647-8&w=425]

Slides
Files

famfamfam flag iconset yaml representation on ruby

First download the flags from famfamfam into a folder called flags (pngs only,
no subfolders!).
Now in the bash:
[sourcecode language='php']
cd flags
wget http://www.iso.org/iso/iso3166_en_code_lists.txt
ls > file.txt
irb
[/sourcecode]
Now your on the interactive ruby shell (irb).
[sourcecode language='ruby']
# If you want to use this as a script just copy
# the bash lines and put them as
# system ‘cd flags’
# system ‘wget …’ and [...]

Howto: Change folder icon in Leopard

Copy the icon you want to use (PNG), browse to the folder you want to change the icon.
Now select it and press command + I. Now select the folder and press command + V to paste the icon.
[youtube=http://www.youtube.com/watch?v=8QE82eKqR_8]

Skitchcast: Ruby Gems is now on v1.0

Here how to update your gem to 1.0 and RoR to 2.0.2

Imagem do dia

Atenção: Esta ilustração mostra como limpar as preferências do TextMate. É apenas um devaneio geek, que mostra como se pode complicar até a mais simples das coisas. A próxima versão será em base-64, para piorar ainda mais o cenário. Contudo quero deixar claro que o uso ilícito de software proprietário é crime. Se através deste [...]

Creating a User Interface for XML Schema using xForms

We use XSLT all the time to convert a XML document into another format. XML Schemas are XML documents and I think it would be interesting to create the user interface and model for that specific schema using xForms. This would drastically decrease development time and would allow a quick view on what that XML [...]

MacBook OS X Leopard Tips: Controlling the fan speed with Fan Control

I use my computer for something like 6 hours a day so it’s bound to get hot. I didn’t like the apple scheme for the fans that consists basically in making no noise until it’s hot and then make a lot of it.
So I looked for a open-source application to help me control the fan [...]

Mac OS X Leopard Tips: iSync plugin for Nokia 5300

First of all my phone sucks. I’m aware.

And when i opened iSync for the first time and saw that it wasn’t supported I was really piss*d off. I wasn’t worried about contacts – even thought it’s nice to know that if I loose my cellphone I’ll still have them – but I really needed [...]

Mac OS X Leopard Tips: Change your home directory to a different partition

Here’s something that I thought would give me some headaches. Well guess what I was wrong once again. I’m quite used to this by now so it’s actually fun. I’m sorry to be bothering you with all this Mac OS trash but I like to keep my stuff documented and this is a excellent way [...]

From Ubuntu/Windows to Mac OS-X Leopard

I just got my first brand new MacBook and, as one would expect, some problems emerged by leaving my usual OS combo (Ubuntu/Windows) for Mac OS X Leopard. I’m still undecided whether to install Ubuntu or use VMWare Fusion to use Linux. As for Microsoft Windows as long as I don’t need to use .NET [...]