Archive for August, 2009

Java Garbage Collection Simplified

Garbage collection is a way in which Java recollects the space occupied by loitering objects. By doing so, it ensures that your application never runs out of memory (though we cannot be assured that the program will ever run out of memory).

What if the Facebook is a Country?

Facebook has made its way from a small social network website running in a university to a giant mammoth of 250 Million users worldwide. Buzzpoint, a social media marketing firm based out of Los Angeles, has put together an impressive visualization that shows off just how large Facebook has grown. The comparison has been done with different Countries in terms of population and ...
Tags: ,

Mouse Scroll Event Up/Down Example in JavaScript

Mouse Scroll Event Up/Down Example in JavaScript
The other day I was working on an App that required Google Map like functionality where Mouse Scroll event on an object triggered some action in JavaScript.Handling Mouse Wheel in JavaScript is quite simple. Most of the browsers support Mouse Scroll Event in one or other way. Mozilla provides window.addEventListener method that can be used ...

Shell Script to Rename & Move files in Unix

Problem Statement: I have few files in source directory. I have to move them to another destination directory. The source directory have *.txt files that needs to be moved to destination directory. The destination filename should be *.txt.backup.So how to accomplish the above task in Unix Shell Script?Well the solution is simple:cd source/ for file in *.txt do mv "${file}" ../destination/"${file}.backup"Run a loop for each ...

Microkernel Architecture Pattern & Applying it to Software Systems

Microkernel Architecture Pattern & Applying it to Software Systems
Architectural Patterns always been interesting from designer perspective. MVC, Pipe’n’filter, Layered,3-tier, n-tier, etc. But one very basic architectural concept coming from Civil engineers in practice.‘’Have common building block with minimal facility as a base, with modular and customizable components to suit customers need will provide flexibility to whole town /architectural planning and also help to save cost for designer ’’Same concept is ...

Java is Everywhere!

Watch this ad. Really, Technology changes the way we live our lives.
Tags:

Knowing $_SERVER PHP Variable in a better way

Knowing $_SERVER PHP Variable in a better way
$_SERVER array in PHP is very useful in getting lot of information about the PHP script in execution as well as the server/request details. $_SERVER is an array containing information such as headers, paths, and script locations. The entries in this array are created by the web server.Following are few very useful attributes of ...

Run Multiple Instance of Apache Tomcat in Single Server

Run Multiple Instance of Apache Tomcat in Single Server
A lot of time we want to run multiple instances of Apache Tomcat server on a single machine. Generally this is done for creating a separate load balancer server for an application or install a different application independently.This can be achieved easy by some configuration in Tomcat Server. We need to install a second instance ...

How to Track External Links using Google Analytics?

How to Track External Links using Google Analytics?
Google Analytics allows you to track how often viewers on your website click particular links on your website. Links to internal pages are automatically tracked, however you must add JavaScript code to links that point to pages outside of your own website (Exit Links) in order to track them.There are couple of ways you can track ...

Free Design Patterns Reference card for you!

Free Design Patterns Reference card for you!
Design Patterns are always wonderful for one who can perceived them as an tool to create generic solution to commonly occurring problems, let it be then software architecture, development issue or just coding work around.With plethora of resources and material available online about software design patterns, it's always a GoF Patterns book serves as bible. However it is not prudent every time ...
Page 1 of 3123
Copyright © 2012 ViralPatel.net. All rights reserved.