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

Search In

How to turn on Bluetooth in Android app

If you wish to turn on Bluetooth in android when your app run then use the code written below .This code will ask you to turn on your mobile Bluetooth if the Bluetooth is off. BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter()

What is optimization?

Optimization is the process to finding an alternative with the most cost effective or highest achievable performance with given constraints. Optimization refers to a positive and intrinsically concept of minimization or maximization to achieve the

random_int and random_bytes functions PHP

Welcome to Findnerd. There are two new functions named random_int and random_bytes which are introduced in PHP7. You can generate the cryptographically secure integers and strings with these functions. random_int takes two parameters, one is min va

natsort php

Welcome to FindNerd. Today we are going to discuss the function natsort. There are many sorting function available for different types of sorting like usort,asort etc. natsort uses natural order algorithm. It is nothing but to sequence element accord

How to union two sql query in yii

For combine the result of two or more select query we use union in sql query.If you want to use union in yii query you can use the below code $queryFirst = (new \yii\db\Query()) ->select("id, name") ->from('tableA') ->limit(10);

Difference between Input and raw_input in python

input : Reads a number from user input.You can assign (store) the result of input into a variable. Example: age = input("How old are you? ") print type(age) print "Your age is", age print "You have", 65 - age, "years until retirement

SQL : How to get count of duplicate records?

In the following article we will go through a solution to a very common requirement of getting count of duplicate rows from SQL server table. Let us first create a table and add sample data to this table. Col1 in the table is an identity column. CRE

Get n number of highest and lowest records in MySQL

In my previous blog How to use Limit clause in MySQL Query, there is explanation of LIMIT clause and its use with SELECT statement. This article explains the use of LIMIT with ORDER BY clause to get 'n' number of Highest and Lowest records in MySQL.

ORDER BY Clause

Sorting the result using Order By clause: ORDER BY clause is used to sort the data fetched using select statement either in ascending order or in descending. By default data fetched is sorted in ascending order. Syntax: Select columnname(s) from t

each and reset function php

Welcome to FindNerd. We are going to discuss the in-build functions reset and each. each works like a loop. It returns the current element and move the pointer forward. reset moves the pointer to first element. Please have a look. <?php $salaryAr

1 66 282
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: