Currently the posts are filtered by: 2010-08-01
Reset this filter to see all posts.

Category: Javascript
Date: 2010-08-27 15:04

Show jQuery tabs promptly

jQuery tabs are just fabulous!

But if you have a lot of content then you might see your tabs being built up when jQuery applies them.

Here's the solution. Just hide the tabs HTML element initially:

<div id="my_tabs" style="display:none;">

Then use the following jQuery Tabs Event to display them when they are ready:

  show: function(event, ui) 

By using jQuery's .not(:visible) filter method show() is executed only once.

Category: Apple
Date: 2010-08-23 12:55

Migrating mail from MS Outlook to Apple Mail

Ever tried moving your mail from MS-Outlook to Apple Mail? It's not even supported by neither Microsoft nor Apple. Apple refers to three third-party applications. I tried one - the cheapest. It's O2M by Little Machines but did not work out for me.

What a hassle

O2M is the paid option. It generates MBOX styles mailboxes which you can import directly into Apple Mail. Unfortunately Apple Mail will not set correct headers and time stamps on importing. It will leave your sent-box a mess although this is not immediately clear.

The other - free - option is downloading Thunderbird on your Windows machine and import your Outlook into it. Then you just copy your Thunderbird profiles folder to your Mac and choose import from Thunderbird. Unfortunately this option cannot be trusted neither. Some folders are ignored, attachments as well, headers are incorrect.

Eudora Mailbox Cleaner

Luckilly there is Eudora Mailbox Cleaner to the rescue. It handles more than the name suggests. You can just drop your Thunderbird profiles folder - compact your folders first - onto this wonderfull app and it will correctly import your mail folders and attachments. After having done that, just rebuild every folder in Mail - try applying a short-cut - and you're done!

Category: Ruby on Rails
Date: 2010-08-20 23:06

HTML5 helpers for Rails 2.3.x

Eager on using HTML5 in your Rails projects without upgrading to Rails 3?

For those I've ported the HTML5 FormHelpers and FormTagHelpers from Rails 3 back to Rails 2.3.x. So you can now use:


<%= f.email_field(:email) %>

<%= email_field_tag(:user, %>

All helpers are Rails 3 compliant so after updating to Rails 3 just remove the plugin.