How to use filters in AngularJS?

A filter is used to format data to be displayed to the user. These can be used in controllers,templates or services and we can also easily define our own filters. Some of the built-in filters in AngularJS are :- 1.uppercase - formats or converts...

MongoDB Connection With PHP

The MongoDB is built to work with your current web server, but not PHP. To communicate PHP with MongoDB server you need to install PHP-MongoDB driver. The PHP-MongoDB driver is a PHP extension library. The presently maintained driver for the Mong...

Tutorial on Services in Android

Below points are covered in this tutorial What is a service Usage of a service Services Vs AsyncTask Types of services

Difference between jQuery text() method and jQuery html() method?

jQuery text()  Syntax: To return text content: $(selector).text() To set text content: $(selector).text(content) To set text content using a function: $(selector).text(function(index,currentcontent)) jQu...

Data Modelling With MongoDB

Data in MongoDB contains a versatile schema. Documents that are in a same collection don't need to have an equivalent set of fields or structure, and common fields in an exceedingly collection's documents could hold differing kinds of dat...

What Is Failure In Software Testing ?

What Is Failure In Software Testing ? When any product or application be able to create incorrect outputs, under the specific conditions, that is known as the failure in the software testing terminology. This is determined as the aberration of...

How to create executable JAR file with dependencies using Maven?

Using maven we can create executable JAR file with all the requires dependencies and then we can use that JAR file to execute the whole project. So, to create the JAR file just add the below plugin inside the build tag. <plugin> <...

Useful built-in directives in AngularJS

A  Directive helps us to control the rendering of the HTML inside an AngularJS application. It makes AngularJS responsive. It adds functionality to the application. AngularJS has its built in set of directives. Some commonly used directives ...

How to create rotate animation buttun in android

 In the below example I have created rotate animation button. In below code I have used scale and translate effect on rotate animation button. Here I have added Button in button i have used an img and added a TextView in activity_main xml la...

Difference between ASP.NET Web Form and ASP.NET MVC?

Difference between ASP.NET Web Form and ASP.NET MVC? ASP.NET Web Form Views i.e web Form(aspx) is tightly coupled to logic i.e  code behind(aspx.cs).  Traditional event driven model is followed. For consistent look and feel...

How to calculate time between two time using Dropdown box

Hello Reader's!,if you want get difference between two time, then I wrote this blog for you.It only contain JAVASCRIPT and HTML code. First you need to create your HTML code where you will get your time difference Put this HTML Code insid...

PLease solve transformClassesWithJarMergingForDebug error in Android studio

Hi, When I trying to build/run the build in Android studio getting below two errors randomly. Error:Execution failed for task ':iTSM:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.uti...

Digital Branding

We are looking for someone who could work on marketing and getting us clients for advertising their Service/products in our network.

Returning Multiple Values in Python using Dictionary?

# A Python program returning multiple values from a method using dictionary # Function is define that returns a dictionary def fun(): d = dict(); d['str'] = "Demo" d['x'] = 20 return d # Driver code to test abo...

Returning Multiple Values in Python using tuple?

# A Python program returning multiple values from a method using tuple # Function is defined that returns a tuple def fun(): str = "Demo" x = 20 return str, x; # Returning a tuple # Driver code to test above method ...

How to create alpha effect animation button android?

In my previous blog I have explain how to create animation button in android. Now in this below example I have created new animation button which is alpha effictive. Here I have added Button and TextView in activity_main xml layout then I have...

What is process to Copy entire date into other table in SQL Database ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss what is process to Copy entire date into other table in SQL Database ? If you want to copy a SQL table into another table in the same SQL database then you should use copy st...

How to read a file in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to to read a file in php ? If you want to read a file in php the you should use readfile() function. This function reads a file and writes it to the output buffer. It...

Manipulators in C++

These are the operators that are used to format data display. (i) end l manipulator when it is used is an output statement,causes a line feed to be inserted. It has the same effect as       using new line chara...

How to create Animation button in android

In the below example I have created a animation button. Here I have added Button and TextView in activity_main xml layout then I have created new directory (anim) , In anim directory I have created new anim_traslate.xml layout. In MainActivity I ...

Returning Multiple Values in Python using list?

# A Python program returning multiple values from a method using list # Defining a function which returns a list def fun(): str = "Demo" x = 20 return [str, x]; # Driver code to test above function list = fun() ...

Navigation methods in ASP.NET

Moving from one page to another is called navigation.   There are following techniques to navigate from one page to another:-   Hyperlink control   Response.Redirect   Server.Transfer   Server.Execute &nbs...

How to display google maps in Navigation drawer

Hi, guys I need a help to merge different layout's as one layout. I am including google maps layout in one layout and it having some buttons at bottom and one horizontal scroll view at top of the page. Now, I am displaying the google map...

Sending HTML/PHP Form Data in mail with Attachment using PHPmailer in PHP

Hello Reader's!,If you want to send HTML/PHP form data with attachment through mail Then PHPMailer the best option for you. PHPMailer is one of the popular email-generating and sending libraries in the world  thou currently many popul...

Binary search tree insert item implementation in java

Binary search tree is an extension of linked list data structure that contains node. Insertion in tree is easy. This tree contains a root and child node where left hand sided node always lesser than parent node and right hand sided node always ha...

What is process to pass arguments to PHP ?

Hi Reader's,   Welcome to FindNerd, today we are going to discuss how to pass arguments to PHP ?   If you want pass some arguments into function and elements of an array.   Then Your arguments will be receive by your funct...

Understanding $emit, $broadcast and $on in AngularJS

Sometimes we need to send data from one controller to another. There are services provided by AngularJS for communication(event-based) between the controllers. $on, $emit, $broadcast are the services for the communication between the controllers....

Extract RAR files in Ubuntu

Some time you need to Extract RAR file in Ubantu but In Ubuntu unrar is not installed by default, you might face the below error while trying to extract RAR files. “Could not open this file type There is no command installed for RAR a...

How to add new element in ArrayList.

 The below example will help you to add new element in arrayList. So, when we have new element list item shifts the element currently at that postion and any subsequent elements to the right which will help to insert new element at the speci...

What Are Comparison Testing And Compatibility Testing ?

Comparison Testing:- Normally comparison testing involves in the comparability the substance of the files, database, towards the genuine outputs or results. They are efficient to emphasizing the dissimilarities between the real and assumed or exp...

How get user input on same xml. Layout in android

 In the below example I have created a demo page for user input. Here when user will enter name and phone number then user name and number  will show on same page. Here I have created first Relative layout then in relative layout added ...

Program to Detect and Remove Loop in a Linked List in Java?

// Program to detect and remove loop in linked list in java class LinkedList //create a node in LinkedList { static Node head; static class Node //create a node in LinkedList { int data; Node ...

Vector Graphics in Android.

Hello Friends, In this blog we will learn about VectorDrawables and change icon color on Runtime. From Android Studio 1.4 Google release new feature to support Design library. VectorDrawable has introduced in API 21(has support for lower v...

Program to Detect and Remove Loop in a Linked List in C++?

// C++ program to detect and remove loop using namespace std; struct Node { int key; struct Node *next; }; Node *newNode(int key) //Function to create a node { Node *temp = new Node; temp->key = key; ...

Expression

An Expression is a combination of operators, constants and variables arranged as per rules of language. It may also include function calls which return values. An expression may consist of one or more operators and zero or more operator to produc...

How to use cookies in Codeigniter

Hello Reader's if you are making the auto login sign up form then you must have to use the Cookies. In core php you have to write the long syntax to handling the request to Cookies. Now Codeingiter offers developers to load the nessasry code...

Difference Between The Code Based Testing, Code Driven Testing & Code Free Testing

Hello, Readers …. In this blog I am trying to explain the difference among the ‘Code Based’, ‘Code Driven’ and ‘Code Free’ testing in perspective of software testing. Mentioned below as:-   ...

Queue implementation using linkedlist in java

We know that linkedlist is type of Data structure using linked list we can store item of same type. Queue can be also be implemented using linkedlist. In this example we have two node that are head(Front) and trail(rear) where we can insert...

Capitalize first latter in column of Google Sheet or Excel

Hello Friend, Many times we need to capitalize the first latter of data in the spreadsheet and many of us do this task manually. But what if one have a large data containing thousand of columns will you then do this one by one, fo...

How to traverse html elements in a DOM using Jquery

Here we will learn how to traverse and change the style of the cell next to each cell that contains the specific text or content. Here we will see how we can customize the styles of the cells using some specific conditions with the help of the fo...

To show the current date month and year using javascript

Hi,   Below code example will help you to "show the current date month and year using javascript".   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-tr...

Queue implementation using Array in java

Queue is a kind of Abstract data structure that holds items in same order. Queue follow FIFO mechanism for operations like insertion and deletion of items. Note : - One end is always used to insert data called enqueue. - Other end is alw...

SELECT INTO Statement

SELECT INTO Statement: SELECT INTO statement is used to copy data from one table into another table. We can provide a condition while using SELECT INTO statement. Syntax: SELECT columnname(s) INTO new_tablename FROM t...

running apps over wifi

Getting messed up with usb cables on your desk or tired of buying new usb cables every week ?? Here is a new way for running your apps and debugging them without connecting them to your pc using usb cable. Just a set of commands and yo...

Stack implementation in java

Stack is used to store particular type of data. Stack is a memory area where we can store all local variables and parameters used in our functions. In Stack we can perform three operations that are : Push - to add something in stack with co...

How to to use covariant return type in java

 In the below example I will help you to use covariant return type in java. In covariant return will used  overriding method. The covariant return type specifies the return type in the same direction as the subclass. Here in the below e...

traverse and reverse double linked list in java

Traverse and reverse a linked list takes time complexity of O(n). Traverse a double linked list requires only node next reference until it reach to trail or null value : public void traverseLinkedList(){ Node<T> tempNode = st...

Deletion in double linkedlist in java

Deletion of item from double linked list st known position takes O(1) complexity while deletion at some specified position takes O(n) time complexity. In deletion we basically removes the pointer of that item. First of all check the reference ...

Insertion in double linked list in java

Double linked list is a type of data structure that contains data in linear way but its different from single linked list because we can traverse in both direction in list. This provides previous and next pointer and node value. Insertion in d...

Javascript:Exchanging data between a document in an iframe and a parent document.

Hii, I am providing a very simple javascript code  by which we can access variables and invoke functions in the parent document and vice-versa. Please go through the given example below and understand the concept.I hope it will be...
1 141 292