Viral Patel

Windows 7: How To Set Environment Variable without Admin Access

Windows 7: How To Set Environment Variable without Admin Access
Ok, so you working on Computer where you dont have Admin access. Also you want to set some Environment Variables (PATH, CLASSPATH etc). In Windows XP, you can set environment variables for your user although you dont have admin access. But in Windows 7 if you try to do so, it asks for administrator password. Damn.. So how to set Environment Variables in a Windows ...

AngularJS Controller Tutorial with Example

AngularJS Controller Tutorial with Example
Let us talk about one of the AngularJS's most useful feature which helps in making awesome single page applications in JavaScript - The Controller.This tutorial is part of series of tutorials on AngularJS where we shall touch different aspects of Angular and its features. In our last tutorial we saw Introduction of AngularJS and also ...

AngularJS: Introduction and Hello World example

AngularJS: Introduction and Hello World example
AngularJS, a JavaScript framework developed by a Googler and supported by Google has become quite a buzz word in past few months. More and more developers are using it and thus the community has grown significantly. Not only they love it, but they can't stop praising it :)The reason is very simple. AngularJS rocks \m/ !! ...

Lazy Load Image & WordPress Gravatar using JavaScript / JQuery

Lazy Load Image & Wordpress Gravatar using JavaScript / JQuery
A webpage load time plays a very crucial role in SEO and impacts your website ranking significantly. Google has already incorporated site speed as one of the several signals that it uses to determine search ranking. The faster your website loads the better it will perform in google ranking.There are several things one can do ...

21 JavaScript Tips and Tricks for JavaScript Developers

21 JavaScript Tips and Tricks for JavaScript Developers
If you are doing lot of JavaScript programming, you might find below list of code snippets very useful. Keep it handy (bookmark it) and save it for future reference.Here are 20 very useful JavaScript tips and tricks for you.Disclaimer: Not all these snippet are written by me. Some of them are collected from other sources ...

CSS Styling Radio Button and Checkboxes

CSS Styling Radio Button and Checkboxes
The idea is simple. We want to change the look and feel of existing radio buttons into more of a push button. The above image pretty much tells what we want to achieve.Now we want to do this without using Javascript or JQuery. Just plain HTML and CSS. Nothing fancy.Lets dive into code. 1. The HTML The ...
Tags:

Java XPath Tutorial: How to Parse XML File using XPath in Java

XPath is a language for finding information in an XML file. You can say that XPath is (sort of) SQL for XML files. XPath is used to navigate through elements and attributes in an XML document. You can also use XPath to traverse through an XML file in Java.XPath comes with powerful expressions that can be used to parse an xml document and retrieve ...

Android Internet Connection Status & Network Change Receiver example

Android Internet Connection Status & Network Change Receiver example
If you are developing an Android app you may already fetching information from internet. While doing so there is a chance that internet connection is not available on users handset. Hence its always a good idea to check the network state before performing any task that requires internet connection.You might also want to check what kind of internet connection is available in handset. For example ...

Android: Activity name must be specified error

Android: Activity name must be specified error
If you are an avid Android developer there is a chance that you might have encountered this error.Activity name must be specifiedThe error popups up when we create a new Android project in Eclipse.You have no idea how to solve this!! You try giving all the values but still the error doesn't go away.Here ...

Spring MVC Flash Attribute tutorial with example

Spring MVC Flash Attribute tutorial with example
Spring MVC 3.1 version has added a very useful feature Flash attribute which it lacked and is now solving a long time problem of POST/Redirect/GET pattern.In a normal Web based MVC application each form submitted POST the data to the server. A normal spring controller (tagged with annotation @Controller) fetches the data from request and process it further (save or update in database). Once ...
Page 3 of 3412345...102030...Last »