
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
If you are looking to override your device home button to work as you desired
If you are looking to know, How to override home button programmatically in android, then below I have provided the simple solution.
You have to do just a simple thing i.e to override the onKeyDown function in your application, given is the co...
createElement() Method in JavaScript
createElement() Method in JavaScript is used to create a HTML element through the JavaSript
The Syntax is as:
var element = document.createElement(tagName);
the Tag name in statement defines the HTML element to be created. for the sa...
What is Protocol Testing
What is Protocol Testing?
Protocol Testing is common word utilized by the organizations working in the transmission enterprises for testing distinct protocols in the domains of Wireless, Switching, Routing etc.
There are many companies whic...
How to show copy, cut and pase action on website
Hello Reader if you looking for any script that makes user a notification whenever he cut, copy of paste data from your website then you can see how it is done below:-
This is the html page
<body>
<h1>jQuery copy, paste and ...
Fatal error in git terminal
Hello I'm using git and I just updated code on my get portal but everytime I'm trying to push the update from terminal this error message is showing:-
fatal: Not a git repository (or any of the parent directories): .git
root@ongeza-li...
SQL Primary Key
Basically Primary key is used to identify each row in a table . In a table Only one Primary key can be present . When in a table , there is more than one primary key then it would be called composite Primary key . Composite key is used when we ne...
how to print the HTML code in PHP
If you want to print the html tags and code inside the PHP code you can do it by putting all the html code inside the echo syntax:-
Consider the following two cases:-
1. In between PHP tags
<?php if(condition){ ?> //In this case th...
How to add and remove items to RecyclerView in android ?
Here I have created a RecyclerView app in android. In this app we have added item in RecyclerView and when we click on the item in RecyclerView the item will be removed. In this recycler view I have used notifyItem Inserted() and notifyItemRemove...
What is Enum type in Java
Enum type is a keyword which is used to represent similar kind of constants or fixed no of elements under one group only. The constants here may be static or final. In java the common use of the Enum keyword is to write Singleton. Enum as a type ...
What is meant by Doctype
The DOCTYPE specify the user's web browser and the search engines that what type of document is written.
One final thought is that the new HTML5 standard proposes using a very simple DOCTYPE:
<!DOCTYPE html>
Always add the &l...
SQL Cross Join
SQL Cross means cartesian product of the rows of two or more tables . It return all the rows of the table when each row of the first table combined with the each row of the second table . It is also known as cartesian or cross join .
Cross Join ...
Showing a Popup Window Using Modals in Angularjs
A dialogue box is called modal when it restricts the other functionality of the page until the dialogue box has been closed.
Here is the code for opening a simple modal popup using ‘modals’ in angularjs.
...
How to make multiple submit button in a form
Hello Reader if you need two or more submit button in a single html form then you learn from the code below:-
For the form the html will go like this:-
<input type="submit" name="submit_button" value="Submit" />
<input type="subm...
Difference between Test Environment & Test Bed
Difference between Test Environment & Test Bed:-
In the software testing field test environment and test bed, both words are very popular. We can see the difference between these words as mentioned below:-
Test Environment:- This is an...
How to print HTML page with tags using PHP
If you have any blogs or coding part that you need to show with the html tags, Then using PHP then you can perform this task
Lets say print the line below:-
<h1>I'm printing this line using the HTML tags</h1>
To print this...
How to make shadow of text in html using CSS
Hello Reader! If you want to make your webpage more dynamic which looks like 3d using shadow of texts,
Then you can use CSS.
You just need to add the following css to you text css.
text-shadow:23px 5px 6px #000000;
To make shadow long...
Three Hot Trends of Digital Marketing in 2015
A clear lesson from 2014 was digital marketing would set out to surpass traditional means of marketing. So far, it has been proved true, with Christmas waiting across the corner offering a new treasure trove to companies to increa...
break statement in C language
if we want to break the execution of loop in while, do while and for loop and switch case we use break satement.
Syntax:
jump-statement;
break;
below are examples to illustrate break statement:
Example1
Example of C break state...
SQL Full Join
In full join all the records of both the table will come in resultant table , it doesn't depend on matching the fields . It is the combination of both left and right join . If matches not found then it will return null .Sometime it is also called...
How to make background blur using CSS
Hello Reader!. If you want to show background image blur then you can use css.
Lets's make a html page :-
<div class="background-image"></div>
<div class="content">
<p>This is the para showing the content over the...
Difference between java and c++
JAVA
1) Java is completely an object oriented language.
2) Java does not have template classes.
3) Java supports multiple inheritance by the use of interface.
4) Java does not support concept of pointers.
5) java does not have header files
...
SQL Outer-Right Join
2) Right Outer Join -> It is also known as Right join . In right join all the content of right table will come in resultant and from the left table only matching rows will come . If no rows is matched from left table then null value will be re...
SQL Outer-Left Join
In this Join all the content of both table will come in resultant table either they will be matched or not .
Outer Join are of two types :
1) Left Outer Join -> It is also known as left join . In left join all the content of left table will ...
Check for the iPhone Models
To know On which hardware iOS is ruining like iPhone4 , iPhone5 etc below is the code for that
#import <sys/utsname.h>
-(NSString*) deviceName
{
struct utsname systemInfo;
uname(&systemInfo);
r...
How to scale and strech the image in a fix size?
If you have a fixed div and you want the image to be put over it by stretch and scaling then you can use the following code for html and css:-
In the html page add class 'background' and 'stretch'
<div id="background">
<img sr...
How to style checkbox using CSS
If you want your html form to look more beautiful than just the simple check boxes then you can use the following advance css. This will give rich looks to your html form by styling checkbox
First on the html form create the checkboxes using t...
How to get the user's time zone using PHP and Javascript
Hello Reader! If you developing the website for a global purpose then getting the time zone of your user is a important factor.
In the example below we'll see how to get the user's time zone by using JavaScript and PHP with a custom webpage.
...
How to reset ArrayList in Java - Clear vs RemoveAll
To reset ArrayList we have two options, one is to use clear() method and another is to use removeAll().
We dont need to worry if size of the ArrayList is small i.e. 10 to 100.
But if ArrayList size becomes huge the difference in the performan...
Convert Map to List
Map and List are the two commonly used data structures
Here I am writing way to convert Map to List.
Basically Map holds two things are key and value on the other hand list holds only values.
Both Map and List allow duplicate data.
Below i...
How to Connect to Odoo using Google Account
Hello Guys.
Important: Make sure Odoo is correctly configured to send email before starting this tutorial. Odoo will need to email an activation link when you enable OAUTH.
So, lets get started.
Enabling OAuth Support in Odoo
Login to O...
How to make a copy of a table in MySQL?
To make a copy of a table in MySQL you need to execute the following statement:
use databasename;
Create table new_table_name
select * from existing_table_name
where conditions
For example:
We have database demo having table1. We re...
Collation in MySQL
Collation are the set of rules that compares the characters of a particular character set exist in MySQL. To display collation in MySQL you need to execute the following statement:
show collation;
Getting orientation value when you are capturing video in android
If you are looking to know, How to get camera rotation while capturing video with custom camera in android, follow below steps
Step 1:-Declare OrientationEventListener and the variable that hold the orientation value.
OrientationEventLis...
How to create Registration form in android ?
Here I have created a registration form in android. In my registration form i have used validation function to check inputs like email ,name,age etc. And I have also used check box , radio button and spinner function. Therefor below example will ...
GroupBy and OrderBy in MYSQL
ORDERBY alters the order of the specified column into the table by giving there fields name and arrange them in desc as well as asc ordering but default ordering is asc while in GROUPBY aggregates the records by the specified column which all...
How to display all the tables in a database in MySQL?
To display all tables in a database you need to execute the following commands:
use databasename;
First of all you will go inside your database. Suppose your database name is demo then you will execute the above MySQL statement as:
us...
IllegalStateException not on main thread
class LoadImage extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... urls) {
Bitmap theBitmap = null;
...
How to load a html page inside another web page using Javascript
If you have two html pages and you need to load one inside of another then using Javascript you can easily perform this action by 'load' syntax:
Lets consider two pages one.html and second.html
one.html will go like this
<html>
&...
SQL Selectivity
Selectivity
Selectivity is used for the definition of the number of unique values in the table.
It shows how many unique values are there in the table.
Selectivity=Cardinality/number of record *100%
If the selectivity is high than onl...
Joins In SQL
Joins
There are different type of joins in SQL
1.Inner Join-Return all the values if there is a match in both the table.
2.Outer join
-left outer join-Return all the values from left table and the values matched from the right table.
...
What is SOAP-UI
What is SOAP-UI ?
SOAP-UI is the very popular open source tool. This is a API testing tool. We can also use this API testing tool for cross platform. SOAP-UI permits to the testers to perform automated functional, compliance, regression and load...
SQL Join Query
SQL Join query is used to join the two tables i.e add or combine two or more tables .
This clause take data from two or more table in database and then combine them to produce new table .
Joining is based upon the common fields from the tables ...
Display all the databases in MySQL
To display all the databases in MySQL you need to execute the following command:
SHOW DATABASES;
Top 7 Marketing Strategies to Grow Business
There are various marketing techniques that people usually apply to increase their rank on Search Engines which results in the increasing web traffic to leads and sales with the help of images, text or grap...
How to make Fragment app in android ?
Below I have created fragment app in android. In Fragment class we can insert a fragment into our activity layout by declaring the fragment in the activity's layout file.
Fragment Features-
1. Fragment has its own layout and its own behavior w...
How to take inputs as only digits using Angular JS
Hello Reader!
If you are designing a html form and wants to make it validate for accepting only digits as input then you can see the code below for the same:-
You can create the html form like this way:-
Validate Price
...
SQL Delete Statement
Using Delete statement we can delete the record from a table in database . We can delete single or multiple row from a table in database .
Syntax :
delete from table_name where clause ; // where clause is optional
Example :
Table nam...
How to find upcoming birthdays and number of days left from current date?
Suppose, we have a table users having id, name and date_of_birth as column name. So to display upcoming birthday and days left you need to execute the following query:
SELECT id, name, date_of_birth, DATE_FORMAT( NOW( ) , '%Y' ) - DATE_FORMAT...
Example of ng show / ng hide in Angular JS
If you learning the Angular JS and use a parameter from an object as the expression then the ng-hide and ng-show are given the correct true/false but always remember these true/false is not like boolean so always return false:
Consider the examp...
How to execute additional code just after opening a new page using Angular JS
In the cases when you execute any server and your attempts to load a new page view and then your codes in directive gets loaded before your services are updated so you can using $rootScope.
This is an example of above case
View
<serv...