Sunday, 14 May 2017

How to work with gradients in CSS3

How to work with gradients in CSS3

How to work with gradients in CSS3
How to work with gradients in CSS3
CSS3 gradients are used to display smooth transitions between two or more colors. Images were used earlier to display effects, but now in CSS3 we can use gradients. Gradients  save bandwidth and load time. In a previous tutorial you learned about CSS3 Pseudo
Read More about it from the following link : http://coding-guru.com/how-to-work-with-gradients-in-css3/ posted by Maz


How to work with gradients in CSS3

How to work with gradients in CSS3

How to work with gradients in CSS3
How to work with gradients in CSS3
CSS3 gradients are used to display smooth transitions between two or more colors. Images were used earlier to display effects, but now in CSS3 we can use gradients. Gradients  save bandwidth and load time. In a previous tutorial you learned about CSS3 Pseudo
Read More about it from the following link : http://coding-guru.com/how-to-work-with-gradients-in-css3/ posted by Maz


Friday, 12 May 2017

Image Pyramid - Expanding Image

Image Pyramid - Expanding Image

Image Pyramid - Expanding Image




(adsbygoogle = window.adsbygoogle || []).push();


Image pyramid is widely used in computer vision which allow us to convert an image / frame to a different size ( smaller or larger ) than its original size. There are two possible method available in openCV which allow us to up size
Read More about it from the following link : http://coding-guru.com/image-pyramid-expanding-image/ posted by Gul


Saturday, 6 May 2017

Enum Types in Java

Enum Types in Java

Enum Types in Java
//

Java provided Enum types are very powerful than other programming languages. Following are the main points one should remember about java enum types.

enum type is defined using enum keyword
enum type is a special data type that allows a variable that consist of a predefined
Read More about it from the following link : http://coding-guru.com/enum-types-java/ posted by Gul


MongoDB - $exists and $regex operator

MongoDB - $exists and $regex operator

MongoDB - $exists and $regex operator
//

$exists

As mongoDB is  schema less. In database some table can have different schema. for example if we have Persons database and

in that database we have people collection.  If we need to know that whether a certain field exists in collection or not.

Syntax: { field: { $exists:
Read More about it from the following link : http://coding-guru.com/mongodb-exists-and-regex-operator/ posted by Maz


Define Classes and Objects in Java

Define Classes and Objects in Java

Define Classes and Objects in Java
//

This tutorial will help you to define your own classes, including a set of data fields, methods, constructors, using classes by creating objects and invoke methods.
Class
A class describes the structure and behavior of similar objects. It is also described as a blue print, pattern,
Read More about it from the following link : http://coding-guru.com/define-classes-and-objects-in-java/ posted by Gul


Linux - Remove a directory with all files

Linux - Remove a directory with all files

Linux - Remove a directory with all files
//

In Linux if we need to remove a directory it can be done using command

rmdir dirname

But if directory is not empty then system will through an error.

rmdir scripts


This error comes up:

rmdir: failed to remove `scripts': Directory not empty

To remove a directory that is
Read More about it from the following link : http://coding-guru.com/linux-remove-a-directory-with-all-files/ posted by Maz


Method Overloading in Java

Method Overloading in Java

Method Overloading in Java
//

When two or more then two methods sharing same name within the same class, having different type of parameters or different number of parameters. This is known as method overloading.

public class MethodOverload {

public static void main(String[] args) {
System.out.println("The
Read More about it from the following link : http://coding-guru.com/method-overloading-in-java/ posted by Gul


Creating a method in Java

Creating a method in Java

Creating a method in Java
//

Creating a method in Java
A method is a set of statements grouped together to perform an operation.

Generally there are two types of methods.

User defined methods : Usually a user creates to add additional functionality
Predefinde methods :  Such methods are already written and
Read More about it from the following link : http://coding-guru.com/creating-a-method-in-java/ posted by Gul


Selection statements in Java

Selection statements in Java

Selection statements in Java
//

Java provides selection statements, such statements can be used where you have to choose actions with two or more then two alternative options. Such statements enrich to take frequent decision based on particular situation. The pseducode of if-else structure is as follows.

if (boolean
Read More about it from the following link : http://coding-guru.com/selection-statements-in-java/ posted by Gul


Strings in Java

Strings in Java

Strings in Java
//

Strings

Representing a set of characters altogether,  we can define the data type String is used. For example, Following line declares and initialize a String has an initial value "Welcome to Java" String str = "Welcome to Java";
String is predefined java class same like System,
Read More about it from the following link : http://coding-guru.com/strings-and-text-io-in-java/ posted by Gul