Miscellaneous »

[7 Oct 2011 | No Comment]

Steven Paul “Steve” Jobs
(February 24, 1955 – October 5, 2011)
When I was 17, I read a quote that went something like: “If you live each day as if it was your last, someday you’ll most certainly be right.” It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: “If today were the last day of my life, would I want to do what I am about to do today?” And whenever the answer has been …

Magento »

[3 Oct 2011 | 3 Comments]

This article will show you how to get best selling products. You will see how to get overall best selling products as well as best selling products by category and by date time range.
Here is the code:-

Javascript »

[26 Sep 2011 | No Comment]

This might be simple one but it is a very handy code. Generally, I see this being used in Search textbox where there is some text like ‘search…’ by default. And, when you put the mouse cursor on the textbox, the text is removed and then you can type your desired search text.
For this, two javascript event handler are used: onFocus and onBlur.

Miscellaneous »

[19 Sep 2011 | One Comment]

I love to use open source and free softwares. For email client, I use Mozilla Thunderbird and for instant messaging client, I use Pidgin.
Mozilla Thunderbird is a free, open source, cross-platform e-mail and news client developed by the Mozilla Foundation.

Linux, Ubuntu »

[12 Sep 2011 | No Comment]

There are different ways to get RAM size, Hard disk size, processor size, etc. in Ubuntu. Here are some:-
1. From System -> Administration -> System Monitor

PHP »

[8 Sep 2011 | One Comment]

Here is a quick way to generate random strings in PHP. I will be showing how you can generate multiple random strings at once. You can specify the number of letters in the random string generated. You can also specify the total number of words you want to generate.
I have used str_shuffle function to shuffle the string and then substr function is used to fetch a portion of the string.

Linux, Ubuntu »

[5 Sep 2011 | No Comment]

Change current logged in user’s password
Go to Applications -> Accessories -> Terminal, then run the command below:-
passwd

Linux, Ubuntu »

[29 Aug 2011 | No Comment]

RabbitVCS is a set of graphical tools written to provide simple and straightforward access to the version control systems you use. It supports most Subversion and Git functionality.
Checkout the screenshots:- http://wiki.rabbitvcs.org/wiki/about/screenshots

Linux, Ubuntu »

[22 Aug 2011 | No Comment]

I was in search of a good screen capture tool to be used in Linux. More precisely, for Ubuntu as I use it. You can take the screenshot through ‘Print Screen’ keyboard button. But, I want some more.
I was in search of a program which could take capture any specific area of my screen. I also wanted the program to be able to edit the screenshot like adding text, arrows, ellipses, on it.