If you have winamp installed and you have allowed winamp to manage your media file associations then it's possible to change the default behaviour from 'play' to 'enqueue', i.e when you double click the file it should enqueue the media file as last item on current playlist rather than playing it. This feature comes in handy when… Continue reading Winamp: Enqueue as default action
To find which CentOS version is running, type the following on console: cat /etc/issue
I wanted to blog about this feature from so long (as it got released with Winamp 5.5 a long way back), but I couldn’t find enough time to do this.This weekend however, I had decided to use this feature heavily to tag almost all of my mp3s and hence I decided to blog about it… Continue reading Winamp: Auto tag feature
Generally to display customized Date / Time in rails we use helper method like: # formats the date def show_date(date) date.strftime("%B %d, %Y") end But there is another better way to do this, injecting customized rules in respective DATE_FORMATS hash of ActiveSupport::CoreExtensions module. # define this in your environment.rb # Default date/time format ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!(:standard… Continue reading Defining customized Date / Time format in Rails
When it comes to love people find numerous ways to express it, but can maths helps ? surely it can ! Check out Suss ! What's suss ? it's an alzebric surface represented by equation: (x2+9/4y2+z2-1)3 - x2z3-9/80y2z3=0 and what it represents ? Heart ! Don't believe me, check out this page: http://www1-c703.uibk.ac.at/mathematik/project/bildergalerie/gallery.html simply amazing… Continue reading Maths: New language of love
To upgrade to rails 2.0.2 one must upgrade to rubygems 0.95 but instead of fixing something up it breaks a lot of existing stuff like mongrel and RMagick etc. To fix your broken gems: Download rubygems 0.94 Extract them to C:\ruby\lib\ruby\gems\1.8\gems Run setup.rb This will fix your broken gems.
Nautilus is the default file manager for ubuntu yet it lacks some basic features like getting a terminal at the current directory, getting root at the current directory, etc... Nautilus Scripts to the rescue, just install the scripts and you get a bunch of utilities on your right click on your favourite file manager. Get… Continue reading Nautilus Scripts