Current Status

Actively playing with all possible backend services

14 December, 2009

Disable single quote Within Forms

Javascript:


This is a good method taught to me by my friend to disable

any character in the keyboard Within Forms in your web page/ web application.


<html>

<head>

<script language=javascript type=text/javascript>

<!--

function stopRKey(evt) {


var evt = (evt) ? evt : ((event) ? event : null);

// var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);

alert(evt.keyCode);

if (evt.keyCode == 39 || evt.keyCode == 222) {return false;}

}


document.onkeypress = stopRKey;

-->

</script>

</head>


<body>test

<textarea rows="5"></textarea>

</body>

</html>


Save above code as html and try type single quote(') in test box !

13 December, 2009

Firstday at MSc

Oh studies again..!
My Msc program just started in UCSC. It was really nice seat in UCSC lecturing hall
listing to a lecture after one and half years time..
But one thing i would like to share with you that was pointed out by
VC of UOC at her welcome speech, "You are not STUDENT anymore, you are CANDIDATE of a Masters program. Don’t wait till lectures give you lessons, grab the knowledge you want".

Nice thing was as usually I felt same sleepiness in the first lecture
i attended, however at same time I felt that there is more understanding about practical aspects of lessons than i was an undergraduate.
;)

12 December, 2009

All Google is down all around the world on 10 December 2009

Several users are complaining on Twitter that Google,Blogger, Gmail and other services owned by Google are down.
Google country search sites like www.google.lk and google.co.uk are down too.

I don’t know what affected Google, but whatever it is it must be massive

i hope, Google search become available soon..early as I can’t live without google :)

22 September, 2009

Windows WorkFlow foundation

Hey got a new project for develop "Work Flow" using SharePoint!

So i started learning about "SharePoint developmet"..

OOB(Out Of Box), SPD(SharePoint Designer) and WFF(Work Flow Foundation)

hmmm look tough?

What is "Widows WorkFlow foundation" ?

Hey you idiot, dont you understand that i should have basic knowledge
of.NET framework, Some C#/.NET coding practice and knowledge about Visual Studio to do this?

So i paused learning SharePoint and start .NET studies...

Help me guys....

18 September, 2009

SOA Workshop

Service Oriented Architecture(SOA) ! Wut? %#^%#$$
Yesterday(17th,Sep 2009) we participated for full-day interactive workshop on SOA conducted by WSO2 at Cinnamon Lakeside Hotel,Colombo.

ESBs and SOA , SOA Security ,SOA Governance ,SOA Enterprise Architecture Patterns and many more topics were discussed.

Actually do you know what is this 'SOA' all about?

03 August, 2009

Went to see match


We Mobitel team went to see the 3rd ODI: Sri Lanka v Pakistan at Dambulla - Aug 3, 2009.

Had fun.. Sri Lankan team showed 'great' performance to cheer!

Match summary:

Sri Lanka won by 6 wickets (with 21 balls remaining)

Pakistan 288/8 (50 ov); Sri Lanka 289/4 (46.3 ov)

23 July, 2009

Javascript how to check variable is null?

do you have idea of what's the most reliable way to check a javascript null?
what does it mean by undefined vs. null in JavaScript? what undefined vs. null?
How found this when i search about "how to check 'null' Value in Java Script?"

if (myVar == null) { alert('myVar is not set.'); }

have you try this?

What?! This isn't why you don't check for equality with null. It's because myVar == null doesn't even remotely do what most people think it does in this context.

A property, when it has no definition, is undefined. Put that way, it's pretty obvious.

'null' is an object. It's type is 'null'. 'undefined' is not an object, it's type is 'undefined'. That part is less obvious.

So people write

if (myVar == null) {
myVar = "Joe";
}

When what they really mean is

if (!myVar) {
myVar = "Joe";
}

this is where i end up with my search... hope you expert guys would help me if i'm wrong.

07 July, 2009

Went Sigiriya-Office Annual trip 2009








Went to Sigiriya on 4th July, 2009 and came back on 5th July,2009

26 June, 2009

Add Google/Yahoo to IE7 default search

Do you know how to add Search Providers to Internet Explorer?
Add your own search provider to your copy of Internet Explorer
you have to follow steps listed in below URL:
http://www.microsoft.com/windows/ie/searchguide/en-en/default.mspx
You can set any of these as the default search provider by selecting the Make this my default search provider check box in the Add Search Provider dialog box that appears when you click the link.

Yahoo!
AOL Search
Ask.com
Bing
Google
Lycos.com

03 May, 2009

Pic extracted from my door-wall

Have you ever read the success story of Michael Dell?
You should find it through internet and read it.. i love his story.
In 1984,Michael Dell was just a bright boy with a bright idea. Fueled by passion. Too young, too foolish, and certainly too focused to listen to the naysayers who said it couldn't be done.
According to Dell, "No one told me that we couldn't do it, and if they did, I wasn't listening."
It's a good thing he wasn't listening.
How about you? Are you looking for an awesome opportunity to feed your entrepreneurial bug?

29 April, 2009

Anger Management???


Sometimes when you are angry with someone, it helps to sit down

and think about the problem.

23 April, 2009

How to limit URLs to include 'a word' in Google search

This is something useful for Google searchers...

I found this while i was Googling...

Think that yOu want to search about something(eg: Trinidad)

and you want to serch results where all URLs have special word(eg:roads)

So search term you should Google is :

Trinidad inurl:roads

what you have to do is put the word ehich you want to

include in URL after 'inurl:'

See the picture and have idea about it...

what Google say about it..

inurl:

If you include [inurl:] in your query, Google will restrict the results to documents containing that word in the url. For instance, [inurl:google search] will return documents that mention the word "google" in their url, and mention the word "search" anywhere in the document (url or no). Note there can be no space between the "inurl:" and the following word.

Putting "inurl:" in front of every word in your query is equivalent to putting "allinurl:" at the front of your query: [inurl:google inurl:search] is the same as [allinurl: google search].

Use it and enjoy! Comments are welcome!

21 April, 2009

Oracle Buys Sun

Source: Oracle Press Release

 

Redwood Shores, CA - April 20, 2009

Oracle Corporation (NASDAQ: ORCL) and Sun Microsystems (NASDAQ: JAVA) announced today they have entered into a definitive agreement under which Oracle will acquire Sun common stock for $9.50 per share in cash. The transaction is valued at approximately $7.4 billion, or $5.6 billion net of Sun’s cash and debt. “We expect this acquisition to be accretive to Oracle’s earnings by at least 15 cents on a non-GAAP basis in the first full year after closing. We estimate that the acquired business will contribute over $1.5 billion to Oracle’s non-GAAP operating profit in the first year, increasing to over $2 billion in the second year. This would make the Sun acquisition more profitable in per share contribution in the first year than we had planned for the acquisitions of BEA, PeopleSoft and Siebel combined,” said Oracle President Safra Catz.

“The acquisition of Sun transforms the IT industry, combining best-in-class enterprise software and mission-critical computing systems,” said Oracle CEO Larry Ellison. “Oracle will be the only company that can engineer an integrated system – applications to disk – where all the pieces fit and work together so customers do not have to do it themselves. Our customers benefit as their systems integration costs go down while system performance, reliability and security go up.”

There are substantial long-term strategic customer advantages to Oracle owning two key Sun software assets: Java and Solaris. Java is one of the computer industry’s best-known brands and most widely deployed technologies, and it is the most important software Oracle has ever acquired. Oracle Fusion Middleware, Oracle’s fastest growing business, is built on top of Sun’s Java language and software. Oracle can now ensure continued innovation and investment in Java technology for the benefit of customers and the Java community.

The Sun Solaris operating system is the leading platform for the Oracle database, Oracle’s largest business, and has been for a long time. With the acquisition of Sun, Oracle can optimize the Oracle database for some of the unique, high-end features of Solaris. Oracle is as committed as ever to Linux and other open platforms and will continue to support and enhance our strong industry partnerships.

“Oracle and Sun have been industry pioneers and close partners for more than 20 years,” said Sun Chairman Scott McNealy. “This combination is a natural evolution of our relationship and will be an industry-defining event.”

“This is a fantastic day for Sun’s customers, developers, partners and employees across the globe, joining forces with the global leader in enterprise software to drive innovation and value across every aspect of the technology marketplace,” said Jonathan Schwartz, Sun’s CEO, “From the Java platform touching nearly every business system on earth, powering billions of consumers on mobile handsets and consumer electronics, to the convergence of storage, networking and computing driven by the Solaris operating system and Sun’s SPARC and x64 systems. Together with Oracle, we’ll drive the innovation pipeline to create compelling value to our customer base and the marketplace.”

“Sun is a pioneer in enterprise computing, and this combination recognizes the innovation and customer success the company has achieved. Our largest customers have been asking us to step up to a broader role to reduce complexity, risk and cost by delivering a highly optimized stack based on standards,” said Oracle President Charles Phillips. “This transaction will preserve and enhance investments made by our customers, while we continue to work with our partners to provide customers with choice.”

The Board of Directors of Sun Microsystems has unanimously approved the transaction. It is anticipated to close this summer, subject to Sun stockholder approval, certain regulatory approvals and customary closing conditions.

 

Sardarji



This is wht u call talent,brilliant.. Enjoy the video

16 April, 2009

Comic

I got these by a email...



15 April, 2009

Blogger introduce "Email Posting"

Wow, The Blogspot introduce Mail-to-Blogger feature turns any email account into a blog-posting..

The format of the email address is username.secretword@blogger.com. Note that this email address must be kept secret. Otherwise, anyone who gets it will be able to post as you.

Also be sure to specify whether or not you prefer your email posts to publish automatically. If this option is not checked, then your posts will be saved on your account but will not appear on your blog until you log in to Blogger.com and publish them yourself.

Once you have saved your Settings, you can send email to your blog. The subjects of your email letters will be the titles of your posts, and the body of the emails will be the posts themselves. To include an image in your post, you can attach an image to you your email.

Wish u a Happy New Year !!!


සුභ අලුත' අවුරුද'දක' වේවා !!!

13 March, 2009

How Microsoft see our digital future - now on video

Some visionaries over at Microsoft Labs have put a lot of hard work and
devotion to a video displaying our digital world in 2019.
I bet that after watching it you'd certainly appreciate the video..
Lets play it...


07 January, 2009

How to recognize a Sri lankan?

I found nice article on above topic and down here I'm posting some tips to recognize a Sri lankan
based on an article All about Sri Lanka.

•People assume a child educating well is going to become a doctor or an engineer.

•His/Her parents enjoy comparing He/She to their friends’ kids.

•His/Her parents say, “Difficult? Its a work of 2nd grade![Amaruda? ayyo oka 2e panthiye wadak ne!]” .

•His/Her parents buy them clothes and shoes a few sizes too big so He/She can “grow into it.”

•He/She are capable of eating an entire meal, including rice, using only His/Her right hand.

•He/She’ve been asked in TAMIL 'don't you understand Sinhala?'(Sinhala theriya ille?)
•If there is a sale on any item, He/She buy 100 of them.

•He/She’ve learned to keep bargaining even if the prices are rock bottom.


link to full article

Some Popular Posts