Link 7 Jun ImageMagick segmentattion fault with Rails3 and RMagic»
Text 10 Jan How to use HTML encoded text in localization YML file in Rails 3.0.2+

To have an i18n key to interpreted as html by Rails 3 you must suffix the key with “_html”

For instance: 

it

stima_orientamento_html: “Stima orientamento (°N)”

will display

“Stima orientamento (°N)”

Text 21 Dec UnixODBC

After some tweaks trying to set up a UnixODBC connection from my MBP I 
found out that for root user I could create a connection and but it 
was not working for a common user. 
Just adding the following exports did the trick:

export ODBCINI=/usr/local/etc/odbc.ini
export ODBCSYSINI=/usr/local/etc
Text 20 Jun Installing mysql gem for RubyOnRails on Mac OSX

I’ve got the answer from here.

sudo gem install mysql — —with-mysql-config=/usr/local/mysql/bin/mysql_config

Text 1 Jun “There is no default application specified to open the document “gicappa”.

My home folder became unaccessible yelling the message I wrote in the title every time I clicked on it. As far as I understood after some basic googling the bundle bit has been set in my home folder for an unknown reason.  

The solution is to fire up a Terminal.app and type the following:

xattr -d com.apple.FinderInfo ~

Link 21 May mac osx and spindump»

Shit happens and sometimes happens that a Mac OSX application crashes suddenly. It’s a part of life and we have to accept it. R.I.P. application.

What I can’t accept is to have the system completely stuck after a crash. What the hell is it doing? Crying?

So I used the top command to understand what was going on under the hood and I found a suspicious spindump process using a big bunch of machine resources. 

The solution is linked in the title.  


Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.