Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

ANT Build File Example

Hello Readers.. In this blog I am giving an example that how can we create an build.xml file for performing clean,compile and run by using ANT. <?xml version="1.0" encoding="UTF-8"?> <project name="AntProject" basedir="." default="run">

Insert and Remove value from end of an array

This article demonstrate how to add and remove value on start and end of an array using predefined functions of PHP. The four important array functions in PHP are : 1. array_push() : This function is used to add one or more values to the end of an a

How to make div scalable using Jquery

Hello Readers if you are designing the html UI and you want to make div resizable by mouse then you can use the code as below:- <!doctype html> <html lang="en"> <head> <link href="http://code.jquery.com/ui/1.10.4

How to know the average without disclosing the salaries?

Suppose we want to find the average salary of three employee(A,B,C) without disclosing there individual salary.In order to do this see the following algorithm: ALGORITHM : First A will add a random number to it's salary and then tell the tota

How to split a string in Java?

Java String split The java string split() method splits a string according a given regular expression and returns a char array. There are two signature for split() method in java string. public String split(String regex) pu

Ajax calls start failing if my app is inactive; otherwise they work just fine on WiFi

In my Phonegap based hybrid app: Ajax calls start failing if my app is inactive for say a couple of minutes. My connection is WiFi & what happens is ajax calls fail with status 0; but navigator.connection.type still shows WiFi

jQuey scrollTop()

this method is used to set the position of vertical scroll bar for a particular element. 0 Position of scrollbar means it is at the Top. In a web page, when ever we want to adjust the scrollbar according to its content, we make use of this  me

Bit Fields in C

To provide manipulation in a single bit of data or into the multiple bits we will use the things for these bit manipulation.   struct { unsigned int widthValidated; unsigned int heightValidated; } status;   This will give you the

Selection sort in C

Selection sort as the name suggests, first select the least element from the entire list in every iteration and swap it with the position for which iteration is being performed.   In the given figure it is seen that in the first iteration the

How to create UINavigationController Based Application in iOS

The UINavigationBar class provides a control for navigating hierarchical content. It’s a bar, typically displayed at the top of the screen, containing buttons for navigating within a hierarchy of screens. The primary properties are a left (back

1 315 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: