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

Search In

Use of ternary operator for typecasting

While writing codes you need to convert it according to your requirement   For doing that you can do typecasting of the operands Public Function GetFriendsToNudge(ByVal accessToken As String) As UsersResponse Dim reader As SqlDataRe

  • 185
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

Sting Builder vs String Buffer in java

We know that Strings are immutable or constants but String builder and String buffer are basically used to provide dynamic implementation of Strings. But String Builder is not thread safe that means more than one process can access or modify the sam

Models in MVC

In MVC we use model for defining entities and attributes .   Models are also used for providing validations into the attributes that will be used in our views.   public class ChangePasswordModel { [Required] [DataType(DataType.Passwor

How to fetch data from database in PHP

For fetching data from database  in php, first we have to create a connection from database by using following code.   <?php $servername = "localhost"; $username = "root"; $password = "pass"; $database = "demo"; //this will contain na

TypeDef in C

In C programming you can use the keyword typedef to define a reserve word once again according to you .     The C programming language provides a keyword called typedef, which is used to give a type, a new name.   typedef unsig

  • 126
Fetching Latitude and Longitude On Basis Of Address

Hello Friends, In order to fetch the latitude and longitude of a location based on its address,you may use the following code:   double latitude = 0; double longitude = 0; Use the google api along with your address NSString *req = [NSStr

How to integrate Google Street View in Javascript?

How to integrate Google Street View in Javascript? This blog will help you to know how to integrate google street view using javascript. Firstly create index.html and paste the following lines of code: <!DOCTYPE html> <html> <head

Groupware Server

  Groupware server is the kind of server that acts as a bridge for the clients who want to work on the files and also want to host their file.     The total number of clients that access this service will entirely depend on the kin

  • 187
this keyword in JQuery

We all know that the use of this keyword is that it  is used for the current reference of the control or anything from where the invocation is being made.     So for making the proper use of this keyword we need to deal with the dyn

1 542 596
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: