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

Search In

How to get address from latitude and longitude

If you would like to get address from latitude and longitude. You can use below function: public function getAddressbylatlong($latitude, $longitude){ $latlng = $latitude. ','.$longitude; $geocode = file_get_contents('http://maps.go

find_each method with options in Rails Active Records

When creating web applications, always a need arises when we have to iterate over a large number of records. This process is called retrieving multiple objects in batches. This can be done through find_each method. The find_each method by default i

Background Color Change Randomly in javascript

In javascript you can change the background color of HTML page,It is very simple to understand. Example: HTML Code: <!DOCTYPE html> <html lang="en"> <head> </head> <body onload="backgroundcolorchange();">

How to implement jquery Timeago with php?

Hello Reader's , We can see that posting & Online time changes frequently seconds ago, minutes ago and hours ago etc, In Social media. So Today in my blog I am going explain about timeago and its easy implementation with PHP. First, you nee

How to make WHERE col LIKE '%' select NULL values too?

When we apply LIKE keyword to any query then it doesn't return NULL values, and sometimes it required to return NULL values as well. We can do this by using IS NULL or IFNULL operator. Example: We have a table "employee" as below: &n

How to add mass Delete & mass Status action in magento ?

Hello Readers, In this tutorial, i will explain how to add massDelete & massStatus action in magento. This tutorial assumes you already know how to create Magento admin grid. Advantage of Mass Action: Mass Action option plays very important role

How do I debug this code of the 'TypeError: 'int' object is not callable' error in Python?

Hey guys! I want to write a program that finds the sum of cubed terms. i.e. 1**3 + 2**3 + n**3 I wrote down the following code:        // n = input('Give the value of n.') n = int (n) s = ((n(n+1))/2)**2 print ('Sum equals =', s

Cakephp 2.5.4: How to display proper error messages from mysql response

There are conditions when we need to show sql error messages to users such as Duplicate Entries from database. For example in cakephp, if there is duplicacy error from database then it will show following message to the user: "Database Error E

How to create a custom keyboard on android

If you are interested in making your own Soft Keyboard in android, then this tutorial will be helpful for you. Below are few steps to learn how to create your own Soft Keyboard that can serve as your own default keyboard. Step1: To enter a text Inpu

Promises in Angularjs

Promises - AngularJS's promise provides a built-in service $q. It provide a way to execute asynchronous call in series by registering it with a promise object. Let us now elaborate promise and deferred. Deferred - It represent the result/o

1 104 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: