Perspectives

…On Ideas, Startups, Technology, Internet, India and Myself.

Archive for the ‘Uncategorized’ Category

Setting up Gmail to work from Command line on Ubuntu

with 3 comments

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!

Written by shivku

July 3rd, 2009 at 4:23 am

Out of Maps & Local

with one comment

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.

Written by shivku

February 24th, 2009 at 4:23 am

Posted in Uncategorized

Nokia Navigator ad at Bangalore airport

without comments


Nokia Navigator ad at Bangalore airport
Originally uploaded by shivku.

Nokia, having bought Navteq, has Navteq’s data in their mobile apps. And the map coverage sucks.

Written by shivku

August 30th, 2008 at 4:02 am

Posted in Uncategorized

The Yahoo! + MS 300 parody

without comments

I throughly enjoyed the 300 parody on the Yahoo-Microsoft deal. All credits to Amr. Get set to rotfl.

Written by shivku

April 10th, 2008 at 4:36 am

Posted in Uncategorized

The Yahoo! India Maps compass

with one comment


The Yahoo! Maps compass
Originally uploaded by shivku.

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.

Written by shivku

March 30th, 2008 at 11:34 pm

Posted in Uncategorized

Did you spot Yahoo India Maps on Radio?

without comments

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.

Written by shivku

March 20th, 2008 at 3:18 am

Posted in Uncategorized

Happy birthday Yahoo!

with 2 comments


060320081409
Originally uploaded by shivku.

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.

Written by shivku

March 6th, 2008 at 5:40 am

Posted in Uncategorized

Who wants your New year Wishes?

with 3 comments

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.

Written by shivku

January 8th, 2008 at 6:05 am

Posted in Uncategorized

You gotta know this

without comments


TWO BILLIONTH
Originally uploaded by yukesmooks.

The two billionth photo on Flickr. I am sure someone is asking about this in some quiz somewhere.

Written by shivku

November 19th, 2007 at 7:33 pm

Posted in Uncategorized

zero petrol for a week

with 6 comments


zero petrol for a week
Originally uploaded by shivku.

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.

Written by shivku

October 28th, 2007 at 9:17 am

Posted in Uncategorized