Previous Posts

Wedding Invitation ( Vijetha G weds Rajesh Segu )

November 24, 2008. Filed under Random.

It is our moment to celebrate the love that unites us.
Together with our parents, we
Vijetha G
and
Rajesh Segu
invite you to share with us
this joyous celebration of love
at our marriage.

PS: Palamaner is 2 hrs away from Bengaluru while Achampet is 2hrs away from Hyderabad.

JavaScript: String.replace

October 3, 2008. Filed under Random.

Today I had to help out my friend with replace any email address with < email address >

Here is the easiest solution I could come up with:

var myString = “My email address rajesh.segu@abc.com”;

function replaceEMail(){
return “<”+arguments[0]+”>”;
}

myString = myString.replace( /([0-9a-zA-Z]+[-._+&amp;])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}([\w/_\.]*(\?\S+)?)/ig, replaceEMail);

myString here becomes “My email address <rajesh.segu@abc.com>”.

The best part in this solution is that you could pass a function to the string.replace() which would make things like replacing regex’s very easy.

Apple iPhone launches on Aug 22nd ???

August 7, 2008. Filed under Gadgets, Technology.

New Delhi, Aug 6 (PTI) Apple’s iPhone, the touch screen handset that acquired a cult status in the US and other western countries, will be available to Indian mobile users through Bharti Airtel at the stroke of midnight on August 21, giving competitors like Nokia, Samsung and others a run for their money.

Millions of Airtel subscribers will be able to purchase the iPhone at Airtel’s Relationship Centres from August 22, a company statement said here.

“iPhone has been an iconic technological revelation of this year and Airtel has been at the forefront of innovation and customer delight in the Indian telecom sector,” Sanjay Kapoor, President, Bharti Airtel mobile services, said.

IPhone is embedded with all 3G features and is twice as fast as the existing mobile phones. The phone also has in-built GPS system, that facilitates as a navigation and positioning tool.

US-based Apple has tied up with Airtel and Vodafone to bring iPhone in the country.

Asked at what price it will be available, Bharti Airtel officials declined to give details.

“Introducing iPhone in India further underscores Bharti’s commitment to enrich the communication experience of Airtel users,” Kapoor said.

Leading cell phone makers like Nokia, Motorola and Samsung have stepped up their R&D efforts to bring feature rich phones in India to compete iPhones.

Vodafone is also slated to bring Apples’s iPhone this year.

Source: PTI

If at all it gets released be the first in the queue by pre-registering yourself at Airtel and Vodafone.

My Workspace @ Yahoo, Pune

July 22, 2008. Filed under Personal, Random.

My Work Space @ Yahoo & My new Mac Book Pro

Upper Deck @ Lonavala

July 16, 2008. Filed under Random.

Omni Nature, Rejuvalating Climate, Amidst Clouds, Pouring Rains, Swimming Pool, Dance Floor, Fun Filled Activities, Great Friends, Chit Chatting, Humor, Silly Stories and Great Memories @ UpperDeck, Lonavala.

We had been there recently as a part of team building efforts ;-) by Yahoo!!