Monthly Archives: June 2010

Archive

Sum of values in input fields grouped by class attribute using jQeury

Here is the jQuery way to calculate the sum of all values stored in input fields grouped by class “.subtotal”. In this example the sum will be shown as an alert as soon as you leave a field after entering some numeric value in it Continue reading

Flash player APT “natty-partner” installation issue fixed

For last few days i had struck with installing flash player since i had updated my system (kUbuntu) softwares through it’s “Updates Available” feature. Since then, now and then, i had been trying different things in this regard but eventually could not make flashplayer work and run flash content in any of Google Chrome, Mozilla Firefox and Rekong (included by default in kUbuntu) browsers. Being quite busy with other stuff and perhaps i didn’t feel a desperate need to run flash content in the meantime i had been just ignoring the issue altogether. Continue reading

How to install Adobe AIR application installer in Ubuntu

How to install Adobe AIR application installer in UbuntuI just installed Adobe AIR in my Ubuntu system and installed a AIR application thereafter . Here’s the process:

Go to http://get.adobe.com/air/ to download a Adobe AIR Installer package. I did install from a .bin package so i shall write about installing it from a .bin package. Actually, i would explain a bit about how to install it from a .deb package as well. Continue reading

CheckGMail – troubleshooting, startup command and playing sound on new email

I am using KUbuntu 11.04 right now and today i tried to install CheckGMail and make it working. After entering correct login username(email address) and password it kept me showing “401 unauthorized request” error next to the Notifier icon in task bar along with a “Incorrect username and/or password” dialog box.

I tried solutions given here and here and only the solution that uses “-no_cookie” worked for me. Continue reading

How to open multiple instances of gedit

In general, gedit opens new files in the same window adding a new tab to the workspace. To open a file in a separate instance or window of gedit is easy. Continue reading

How to find or generate a SSH key on Linux system

To find or generate a SSH key on Linux system

  1. Check for existing SSH keys on your computer. Skip to Step 4 if you already have one and want to use that one.

    First, we will check for existing ssh keys:

    $ cd ~/.ssh

  2. Continue reading

What code to dial to recharge Airtel sim with a scratch coupon (India)

How do I recharge with coupon card in India?
Where we have to scratch and text the code in India?
Which number do I need to call to recharge my coupon in India??

Highly asked questions over the internet but least answered i guess, as i had to spend a considerable amount of time to find the correct one. A few which i found were incorrect or not applicable. Here is it: Continue reading

Gimp Image Editor not launching in KUbuntu – resolved

I recently had installed Gimp image editor in my KUbuntu through software management interface. After the installation was done i clicked the Gimp icon to launch it and the system did seem to try to load it but eventually it failed. However if i tried “gimp” command in “Konsole” it would load it (with a number of “failed” messages in the console window) but when i worked on a image for few seconds it would crash abruptly. Continue reading

Re-sizing image by width using php

A simple yet very useful function to re-size image by maximum width while keeping width and height in proportion. You just need to pass the maximum width allowed to this function and this function will return you an array containing new width and height. Continue reading