Viral Patel

Varargs in Java: Variable argument method in Java 5

Varargs in Java: Variable argument method in Java 5
I think I am late for writing about varargs. The feature of variable argument has been added in Java 5 since its launch. Still I will write something about varargs. varargs has been implemented in many languages such as C, C++ etc. These functionality enables to write methods/functions which takes variable length of arguments. For example the ...

20 very useful Java code snippets for Java Developers

20 very useful Java code snippets for Java Developers
Following are few very useful Java code snippets for Java developers. Few of them are written by me and few are taken from other code reference. Feel free to comment about the code and also add your code snippet.1. Converting Strings to int and int to StringString a = String.valueOf(2); //integer to numeric string int ...

Capture Website Screenshot with screenshot capture utilities

Capture Website Screenshot with screenshot capture utilities
No, I am not talking about capturing screenshot of your desktop using Print Screen or other screen capture softwares. I wanted to implement requirement where I had to capture screenshots of the input website. Now this is a tricky job. If you do not have dedicated server machines and permissions on your shared hosting server, it ...

15 very useful PHP code snippets for PHP developers

15 very useful PHP code snippets for PHP developers
Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career. Few of the snippets are shared from my projects and few are taken from useful php websites from internet. You may also want to comment on any of the code or also you can ...

Drag and Drop Example using jQuery JavaScript in HTML

Drag and Drop Example using jQuery JavaScript in HTML
Ever tried implementing Drag & Drop feature using JavaScript? Believe me it is quite tough and has lots of cross browser implementation issues. Using jQuery you can create simple Drag & Drop features easily and manage them well. jQuery UI provides with a vast suite of APIs that can be leveraged to create a UI with ...

jQuery tabs: Create HTML tabs using jQuery UI

jQuery tabs: Create HTML tabs using jQuery UI
HTML Tabs have became one of the most used UI components in web design. Tabs are generally used to break content into multiple sections that can be swapped to save space. Different implementation of HTML Tabs are available and jQuery UI is one of the simplest one.For adding jQuery tabs in your HTML page, first you ...

Introduction to Apache Maven: A build framework & build automation tool

Introduction to Apache Maven: A build framework & build automation tool
For a quite while I had been using Ant build tool for building my Java projects. Since few days I have been switching to Apache Maven, an open source build framework that can be used to build almost all the projects in Java, .Net and other platforms. Maven was created by Sonatype's Jason van Zyl in ...

OMG: Salma Hayek’s Apple MobileMe account Hacked!!

OMG: Salma Hayek's Apple MobileMe account Hacked!!
Just read this news on Techmeme.Holywood actress Salma Hayek's Apple MobileMe account has been hacked by someone earlier today and account details were posted on Anonymous imageboard 4chan.org. The Anonymous poster who started it all left the following bits of information for all to see and use to access Salma Hayek’s MobileMe e-mail account.Her ...

Analyze website using online Website Analyzer Tools

Analyze website using online Website Analyzer Tools
Website analyzing and optimizing has became one of the key task that a webmaster has to perform in order to make the website run efficiently. By analyzing your website you can identify the problems related to loading time, size, keyword effectiveness etc.A lot of online website analyzing tools are available that can be used freely ...

Full-Text Search using MySQL: Full-Text Search Capabilities

Full-Text Search using MySQL: Full-Text Search Capabilities
Have you ever thought how does the search functionality is implemented in all the websites! Most of the internet blogs and websites are powered by MySQL database. MySQL provides a wonderful way (Full-text Search) of implementing a little search engine in your website. All you have to do is to have MySQL 4.x and above. MySQL ...
Page 19 of 28« First...10...1718192021...Last »