Limit Checkbox selections

The below JavaScript jQuery snippet helps in limiting checkbox selections out of all available checkboxes in any particular page/scenario.

$('input[type="checkbox"]').click(function() {
var limit = 3,
bool = $('input[type="checkbox"]:checked').length >= limit;



How to clear the clipboard contents?

To quickly clear the text/image contents from the clipboard, simply select a file in the Desktop and press CTRL+C. The existing clipboard contents will now be replaced by the file name on which you issued the CTRL+C.

Another method is using Windows Scripting. You can create an instance of InternetExplorer.Application object and then manipulate the clipboard.

Copy the following lines to Notepad, and save as ClearClipBoard.VBS. Double-clicking the ClearClipBoard.VBS clears the contents of the clipboard.

Set objIE = CreateObject("InternetExplorer.Application")
objIE.document.parentwindow.clipboardData.SetData "text", "" 

Surveillance Cameras in Bus

Last Sunday(10th October, 2010), when I boarded the local (private) bus from my home to Katpadi junction, I was amused to see myself on TV inside the bus!! Well, that was not SUN TV or STAR TV, it was CCTV Camera feed.  I noticed that two surveillance cameras have been fitted to the left and right side front inside the bus. It was really surprising to see a spy cam inside a local bus in Vellore.

When I asked the conductor about the sudden installation of spy cam inside the bus, he told me that it is to prevent pick-pocket and other anti-social activities inside the bus. This video footage can also be used by the police to track the culprits who may indulge in anti-social activities. Usually the local buses will be crowded, thus facilitating thieves to make use of their skills.

The initiative is to be appreciated and must be adapted by cities where people face problem of theft and other anti-social activities inside the local town buses. I guess this is the first instance (in India) where a surveillance camera is installed inside the bus. The government buses can also install such systems to prevent theft and other issues inside the bus.

Sorry that I haven’t taken any photo of the bus.

A News snippet: http://www.hindu.com/2010/09/01/stories/2010090152290300.htm

Something about Vellore: Vellore is a city and administrative centre of the Vellore district in the Indian state of Tamil Nadu. In 2008, the 142 year–old municipality was made a City Corporation.

It is considered to be one of the oldest cities in South India and lies on the banks of the Palar river on the site of Vellore Fort. The city lies between Chennai and Bangalore and the Temple towns of Thiruvannamalai and Tirupati. The city has colleges, ancient temples and one of the best hospitals in India. Vellore is a major transist point for travellers, a hub for medical tourism and is emerging as a tourism hot spot.


A blog about ‘Blog’

A blog can be like a diary that’s available on the Internet for anyone to read, or it can be a source of valuable information in your area of expertise. Blogs can range from a minute-by-minute update on a developing news story to yearly updates on summer vacation and everything in-between.

Blogs are often just forms of personal expression, places to rant, complain, observe, ponder, criticize, honor, praise, preach, report, or ramble. A blog can provide important information to a class, business associates, family members, or any other group.

Blogs have become a very important means of disseminating information, as well as developing a community among like-minded hearts and souls.

Blogs doesn’t restrict to text format alone, it can be expressed through videos which is known as video blog or vlog, podcasting(audio blog) is another form of popular blogging.

The ease and immediacy of blogging has made it a popular and useful phenomenon. If you can type, you can blog.

Why create a blog?

There are probably almost as many reasons to blog as there are blogs. Some blogs are outlets for self-expression and creative writing, while some are centered around discussions of social and political issues, news, technology, and anything else you can think of. Many of the most popular blogs are informative and offer instruction or guidance.

Blogs you create in blogger, wordpress can include a feature that allows you to receive comments from readers. This can add another level of communication to a blog family, friends, or associates can use the blog as a communication tool rather than just a one-sided newsletter.

A blog can help organizations publicize themselves and keep current information available either for the public or for select personnel. The head of a company, church, school, or any other type of organization can maintain a constant dialog with associates, students, and other interested parties.

If you have something to say (or think you do), blogging is for you.