Monthly Archives: April 2010

How to export opera bookmarks to chrome?

Let me tell you first what all I am going to tell you in this post. I am going to tell you how to export your opera bookmarks and speed dial settings to Google chrome in case chrome is not auto recognising opera as a browser from which you can import settings. And all this in an apple Mac. Am assuming your chrome recognised your installed firefox as a browser from which you can import your bookmarks. So here, for the bookmarks, we are basically going to do Opera -> Firefox -> Chrome.

First and foremost, how to export opera bookmarks in mac to google chrome in mac.

In Opera, Go to File -> Import and Export -> Export Bookmarks as HTML and save the bookmarks.html.

Now open the default profile of your Firefox. For those who are wondering whats the default profile, then most probably thats the only profile you are having. So just open firefox. For those who know what the default profile means, we need to open the default profile because Google chrome can import from only the default profile of Firefox.

Now in firefox, go to bookmarks -> Manage Bookmarks (Command+Shift+B) -> Import Html (See screenshot below)

Now in Chrome,

Go to Chrome-> Import bookmarks and Settings.
Choose firefox from the popup window.
And if all goes fine, then your opera bookmarks must now be in Chrome :)

Now importing your opera speed-dials into chrome is a hell lot trickier. Ofcourse, chrome provides an easy gui to add customised search engines (Right click in address bar -> edit search engines) The name is a name by which you can remember which search you are using. The keyword is the word that you will use to tell chrome to identify which search to use. Example , if g is your keyword for google.com (and assuming you ve changed your default search engine :P ) then g test query will make chrome use google for searching test query.

Now why on earth would one want to use alternate search engines?
This is easily answered in a corporate world. Where you have your own corp related internal multiple search applications.

The way I did it was (summary, ask in comments if you really wanna know. I am lazy :P )
1) Install speeddial extension in chrome. (Am not sure if its quite essential).
2) Get the speeddial.ini file of opera.
3) Strip out the name, keyword and searchurl. Replace %S with {searchTerms}
4) Create multiple sql queries like

INSERT INTO keywords(short_name,favicon_url,keyword,url) values(“value1″,”value2″,”value3″);

5) Use sqlite plugin of firefox to edit the chrome sqlite file “Web Data” that stores all this info.
Navigate to keywords table in the database. Go to Execute SQL and run your sql query you generated above.
This will add your opera search engines (customised) to chrome!

So now you know how to import opera bookmarks into chrome!

How to change perl @INC in Mac?

Mac has a very easy way to change your perl @INC path.
Just append the required directory to the file
/Library/Perl/5.8.8/AppendToPath

Note the version above (5.8.8) may differ for you. To find out your perl version,
type perl -v in the terminal.

listsettle-lm:~ anshup$ perl -v

This is perl, v5.8.8 built for darwin-thread-multi-2level
(with 4 registered patches, see perl -V for more detail)

The Indian Da Vinci Code! with a mix of Ayn Rand and modern India!

Just finished reading “The Immortals of Meluha” by the debutant author Amish Tripathi. The Immortals of Meluha is the personification of the great Hindu deity Lord Shiva. The book talks about Lord Shiva, various mythological stories related to him in simple daily talk English, more important English that the present Indian generation can identify with. The story starts with the emergence of Neelkanth, the saviour, the evil defeater. Later on as the story progresses, Shiva meets Sati and further later defeats the evil. But then he is perplexed. Who/what really is evil. The people he has just defeated are they evil? Or has he been tricked into evil by the erstwhile Asuras?
And then he lands up in the land that he has just conquered, Ayodhya, the invincible land, the birth place of Lord Rama.

The last 100 pages of the book compare the two kingdoms – Meluha and Swadeep. Meluha, the land of immortals. The place where people are taken care of by the state. And then Swadeep, where people are left to fend for themselves. However there is a big difference! The Swadeeps live with dignity! Even the beggar on the road has more dignity than the Princess of Meluha could muster while she was ostracized!

The later part of the book looks like a description of modern day India. Infact, the whole book mentions the word “India” only a few times. But somehow the word “India” feels out of place in the context. The story talks about the sapta-sindhu, the citadel of Hariappa (Hariyupa as in book) and Mohenjodaro along with the its great bath. All this reference to history in modern reference brings back somehow nice memories of high school history textbooks.

Also the book seems to be slighty inspired by Ayn Rand – With the initial part talking about state taking care of people (which is completely anti- Ayn Rand btw but pro Ram-Rajya) and then the a capitalist like rule in the actual land of Ram Rajya. One wonders whether the author wants to ask what really is Ram Rajya? The place where every one has all that he needs, all equal amongst themselves but then they deny dignity to the sufferers just to maintain some order? Or whether Ram Rajya is really a place where every one, no matter whether rich and mighty or poor and destitute are at peace with themselves and ve enough dignity to look anyone and everyone in their eyes with pride. Amish also takes a nice and well discussed look upon the caste system, its origin and how it was malformed to its present rigid system.

This book is the first in the series of trilogy about the Shiva.

http://www.shivatrilogy.com/

http://twitter.com/amisht

Will @Google Search replace @twitter search?

Google just launched their another innovative feature in the field of RTI(Real Time Indexing): Search across twitter archives.

http://googleblog.blogspot.com/2010/04/replay-it-google-search-across-twitter.html

The one thing I *LIKED* about the google RTI was their twitter integration. It showed me my latest tweet (10 mins old! ) Thats pretty cool.
Will Google Search replace twitter search?
Look up @shashiTharoor in this new feature:

http://bit.ly/dxeRTm

Also ipl:

http://bit.ly/b0vsgx

This looks interesting!
http://bit.ly/9EVCOg

But they can definitely do better with the suggest part :P

cheers!