Archive for the ‘Uncategorized’ Category
Setting up Gmail to work from Command line on Ubuntu
After some looking around, particularly this post on Ubuntu email with Mailx (which is incomplete, if you follow all the instructions, you will realise that the certificate he is talking about does not exist in the tgz that you download) and a few others, I got my mailx to work with my gmail account.
I guess you can try setting up an MTA such as exim and use sendmail or even mail, but that seemed quite complicated and I wanted to send out a mail from my shell script as quickly as possible.
Here are the steps involved which I wrote up as a little shell script:
Update: The Script got messed up when I ported the blog from Blogspot to wordpress.
#! /bin/sh sudo apt-get install ca-certificatessudo update-ca-certificates sudo apt-get install msmtp mailx echo "# config options: http://msmtp.sourceforge.net/doc/msmtp.html #A-user-configuration-file defaults logfile /tmp/msmtp.log # gmail account account gmail auth on host smtp.gmail.com port 587 user EMAIL password PASSWORD from EMAIL tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt # set default account to use (not necessary with single account) account default : gmail" > ~/.msmtprc chmod 600 ~/.msmtprc echo "# set smtp for nail set from=\"EMAIL (YOUR NAME)\" set sendmail=\"/usr/bin/msmtp\" set message-sendmail-extra-arguments=\"-a gmail\"" > ~/.mailrc echo "Edit CAPTIALS in .msmtprc and .mailrc and run a test message like this: "echo "echo Message | mailx -s \"this is subject\" user@email.com\n"
Enjoy!
Out of Maps & Local
I am done writing about Maps & Local in India. It is not interesting to me anymore. And the symptoms are showing. I havent written anything on this blog for over 5 months now. Not that I didnt have anything to say all this while. Just that they didnt fit into a blog that was titled “On Maps & local in India”.
So, here it is. I am taking the blog back to what it was earlier. A blog on thoughts, experiences and incidents from my life. Now that is broad enough that I can write virtually anything.
Adieu Maps & Local.
Nokia Navigator ad at Bangalore airport
Nokia, having bought Navteq, has Navteq’s data in their mobile apps. And the map coverage sucks.
The Yahoo! + MS 300 parody
I throughly enjoyed the 300 parody on the Yahoo-Microsoft deal. All credits to Amr. Get set to rotfl.
The Yahoo! India Maps compass
Although we sit and write code to make sure that You don’t even need a compass, we still like it the old way.
Sridhar got us these Keychains a little while ago.
Did you spot Yahoo India Maps on Radio?
If you haven’t, then you can listen to a few of them right here. I think they played in all the major metros in Radio Mirchi. Not sure about it. They have turned out to be pretty cool. Do you like any of them? Which one?
Bewafaa: Sonam told me that meant Disloyal. One more Hindi word under my kitty. The guy gets lost and by the time he turns up, his girl friend is already married to someone else. My personal favorite.
Directions: This dude wanted to go to Goa and ends up being in Nashik. And then gets a good bashing from his beloved.
Trekking:
A couple of guys get lost in a trekking trail at night. Sure, they could have sent themselves an SMS of the directions they need. Now, don’t ask me which trail it was.
Happy birthday Yahoo!
On March 2nd, thirteen years ago, little did Filo and Yang know that they are going to create the most visited site on the planet.
They did and here we are. Happy Birthday Yahoo!. I love you.
Who wants your New year Wishes?
It is crazy how many unsolicited “New year Wishes” mail I have in my inbox. Give up your generosities and philanthropy and get some work done guys. I am talking to cleartrip and IRCTC and bigadda and minglebox and indiaproperty and even some Mutual fund guys like Birla sun life and reliance.
My inbox and time is a little more precious than you think.
You gotta know this
The two billionth photo on Flickr. I am sure someone is asking about this in some quiz somewhere.
zero petrol for a week
I ve had this on my mind for a long time. A Bicycle. Yesterday, I got my motorbike towed away for putting it in a NO-parking zone. It was a pain finding the bike back especially when I was crunched for time. And I parked there because of intolerable traffic in the first place.
I was also contemplating buying a swift mostly because many people around me started asking me if I was going to buy a car. Sometime during the last week I also read an article about how global oil production has already peaked and gone (sometime in 2006, they claim).
Anyways, the climax of all of this ended up with a bicycle. Now I have another mission to accomplish. Zero petrol until 4th november. Wish me all the best.





