Thursday, October 28, 2010

Graphene & the Nobel Prize in Physics 2010

The 2010 Nobel prize in physics was awarded to the founders of one atom thick carbon lattice. Graphene is honeycomb crystal structure made from Carbon atoms. While normally Carbon tends to make four bonds here the one atom thick carbon structure makes only 3 atomic bonds. This results a good conductivity on the 2 dimensional plane. While a one plane of this structure has a thickness of 0.335nm and it results to have 3 million sheets of these structure to make 1mm thickness.
 The Nobel price winning founders of this Graphene are two times Nobel price winner Andre Geim and Konstantin Novoselov. Andre has won Nobel price before for elevating a frog on the space by manipulating the magnetic fields. And he has published a paper related to it with having his hamster as his co-author.

Thursday, October 14, 2010

IEEE citation style for Microsoft Office Word 2007

The office 2007 has very nice way of helping you with adding references to the document you make. But unfortunately that does not come with IEEE style formatting.

So if you are seeking for a IEEE type formatting system what you have to do is download the "IEEEbyBradley.XSL" created by Bradley Farnsworth, and place the XSL file inside C:\Program Files\Microsoft Office\Office12\Bibliography\Style\ folder.

If you really want to know and learn how to create a referencing style of word 2007 you can try Bibliography & Citations 1011.

Good luck.

Tuesday, October 05, 2010

Large Projector Displays

The Urban Intraction project (UBI-Oulu) has deployed two large projector display screens in the Oulu city. Other than the newest projector screens they have deployed 57 inch touch screen displays in around the oulu.

Those interactive displays were deployed very first at the time i was working at the MediaTeam, Oulu. The newest technology exposure is one of the best things i had in my last two years stay in Oulu.

Wednesday, September 01, 2010

Gmail Priority Inbox

I have found a very interesting tool build up by google for make the email sorting easier. Following is how they explained it on their blog. "Gmail Priority Inbox" will be available from the 2nd Week of September 2010.

Email overload? Try Priority Inbox (Posted by Doug Aberdeen, Software Engineer)
People tell us all the time that they’re getting more and more mail and often feel overwhelmed by it all. We know what you mean—here at Google we run on email. Our inboxes are slammed with hundreds, sometimes thousands of messages a day—mail from colleagues, from lists, about appointments and automated mail that’s often not important. It’s time-consuming to figure out what needs to be read and what needs a reply. Today, we’re happy to introduce Priority Inbox (in beta)—an experimental new way of taking on information overload in Gmail.
Gmail has always been pretty good at filtering junk mail into the “spam” folder. But today, in addition to spam, people get a lot of mail that isn't outright junk but isn't very important—bologna, or “bacn.” So we've evolved Gmail's filter to address this problem and extended it to not only classify outright spam, but also to help users separate this "bologna" from the important stuff. In a way, Priority Inbox is like your personal assistant, helping you focus on the messages that matter without requiring you to set up complex rules."

Monday, August 30, 2010

How to Create a Popup ad (Adsense or what ever)

When visiting some blogs and webpages we have seen some advertisements appear on top of the content. And they will clover some of the useful content till reader clicks on them several times. It appears to be a pain for the users. But good for the people who want to advertise well. You can see how it appears from the demo here.
Now we'll see how to create this kind of advertisement. Here we have used AdSense as the provider.
  • Login to your blog, And open the Design Tab. -> Edit HTML -> Check "Expand Widget Templates"
  • Search for the tag. And we are going to place 
    • Now save that and get out from the editor.
    • Next goto "Add a Gadget" in "Page Elements"
    • The you need to paste the code below in a HTML/JavaScript Gadget ( Which you normally use to paste your AdSense code.

    Sample Embeded Code For Ads:
    • Fill the part between line 7 and 8 with your AdSense Code
    • Now this is ready to go. Enjoy !
    The original document was created by

    Wednesday, August 25, 2010

    Read URL Parameters using JavaScript

    Following is the javascript code for get the parameter "userId" from the url.
    So the website url will be displayed as http:.....................whatever.html?userId=balh007&age=77
    The following function will return "blah007"

    function getUserId(){
    name = 'userId';
    name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
    var regexS = "[\\?&]"+name+"=([^&#]*)";
    var regex = new RegExp( regexS );
    var results = regex.exec( window.location.href );
    if( results == null )
    return "";
    return results[1];

    Friday, July 16, 2010


    FreeAdds is a free advertising platform introduced to internet on 15th July 2010. The idea behind this advertising framework specially support the small scale web content providers to give a chance to advertise their web sites.

    This platform works on a point based system. When ever you advertise some one else s advertisement you earn a point. And the advertisement owner looses a point. If your page has a higher viewing rate then you can earn more points. And it will increase your advertisement appearing on others.

    You can try this platform currently form here

    Thursday, April 29, 2010 2010

    Last sunday (25th April 2010) we had our closing ceremony of project "". The project started in November 2009. This project is simply about giving globle eduction for children in Finnish high schools. Im really feeling glad working as the local cordinater of Oulu region to facilitate this project.

    In this project we had to face so many difficulties. Specially the global economic crisis affected in fund raising for the project. And also there were so many issues with one of the national level members and it causes lot of energy of others to make this project successful.

    Any how i like to thank the trainees who come to Oulu and taught students and all the other AIESECers who helped me to make this project a succsess.

    Sunday, March 21, 2010

    Invite All Facebook Friends for your Fan Page - Easy & Fast Way

    1.) Click "Suggest to Friends" ;

    2.) Copy and paste the following line on Address bar of the browser.

    javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){[fid]);}}

    3.) Now all friends are selected Easily. You don't need to waste time selecting each one. Click "Send Invitation"

    Enjoy ..

    Tuesday, March 16, 2010

    Add Suggest to Friends box in your Custom Facebook Welcome Page ( using FBML )

    Before you start coding with FBML i will explain how to create a new landing tab which can be coded with FBML. In Facebook application list there is an application called "Static FBML". As the first step you need to visit there and click "Add to my Page". Then it will pop a list of Pages where you are the admin of. Select it and proceed.
    Next get into your fan page. And try to add a new tab to your fan page. The "Static FBML" will appear there as an option. It will be automatically named as "Static FBML". Now visit back to your wall (Fan Page's Wall) and click "Edit Page". Then when you scroll down this page you can see the application named "Static FBML". Click Edit. Then it will prompt you a very simple text editor. So set the title as you wish. And insert the code below. Your own code can replace the text in CAPS.
    <fb:req-choice url='URL OF YOUR FAN PAGE' label='WHAT EVER' /> ">
    <fb:multi-friend-selector actiontext="ANY HEADING YOU LIKE"
    So for my fan page i used the following code.
    type="Travel Sri Lanka"
    content="Please Join Facebook fan Page Travel Sri Lanka  "> 

    Keep in mind: as soon as you finish editing it may not work. You might see the friends list empty. Just log off from your Facebook and try may be after 6 hrs. Then it works :). Here is my fan page with an additional photo. you can check it here.

    PS: IF you have a BLOG, WEB-PAGE and IF You want to advertise it Free. TRY FREE-ADDS Im using it too. Here you can create an account easily. 

    Wednesday, February 03, 2010

    Delete Unread Messages from your GMail

    If you Just try to select 'unread' massages simple and click delete will only delete what ever unread messagers on your first page. So if you have some thousands of mail and tousands of unread mail this will not be a easy this to do. So hereare some steps to follow which makes your account some more space.

    1.) In the search box type  in:inbox AND is:unread
    2.) You will get a search result box, showing '1 - 20 of hundreds'
    3.) Select 'All' and you will see 'All 20 conversations on this page are selected, Select all conversations that match this search'. Choose to select all conversations, and you will see 'all conversations in this search are selected'.
    4.) Now all the conversations with unread messages in your inbox are selected. Click 'delete'.
    5.) You will see: 'This action will affect all conversations in this search. Are you sure you want to continue?' If you are sure, click 'ok'.
    6.) You will see: 'All conversations have been moved to the trash'.

    *) Before you freak, realize you are still in the search results. Click on the Gmail icon or on the inbox link to see your inbox, which should now only contain your previously read messages/conversations. In you look in the trash, you should see '1 - 20 [or 50 or 100] of XXXX', the number you wrote down at the beginning.
    *) Still if you do not manage to delete everything you selected, follow all the steps up to 3, and then click 'Older>' and just makesure all are selected. And now click 'delete'. Now it should work.

    Friday, January 29, 2010

    Happy 25th Birthday CSE

    Computer Science and Engineering Department is marking its 25th Aniversary on tomorrow the 29th January 2010. The founder of te CSE department is Prof. A S Induruwa who was the first Head of the Deprtmnt.

    At the time i was entering to the University of Moratuwa it accomadated 50 students per batch and now its grown up to 100 students per batch. Our depatment is making the best Computer Engineers to the world.

    For more information you can visit to our CSE home page here.

    Sunday, January 10, 2010

    2009 Winter Holiday

    More than 8000 Km
    In 14 Days
    Passing 10 Countries
    (Finland, Sweden, Denmark, Germany, Switzerland, Italy, Vatican, France, Belgium, Netherlands)
    some time in more than 160 Kmph speed..And Some days more than 1400 Km driving..

    This is the briefing of how my last winter break spent.

    The Stops on the way.

    This is not a thing that im goign to do again ever in my life. :). But still it filled me up with thousands of experiance in driving and many types of cultures.

    Very simple thing that i need to share is all the countires and all the people around the world are pretty much the same. When you get in to a city center in Paris or Milan, other than the temprature evrything else is same to colombo fort.

    I just like to thank Sandun Dassanayake who invited me to join for this trip and also his car which took us all around this place with out making any problem. And the Navigator. I like to than the founder of navigator as well.

    This is something that every one should try once in a life time. Not twice. :).

    Cologne (Köln) city center. This is the shop which sells 4711 cologne, which is one of the first Eau de Cologne.

    This was taken at Switzerland on the way to Italy. The country is sorrounded from a nice set of mountains.

    The center of Vatican.

    The Eiffel tower, in paris.