How to disable jQuery animation ?

Hello Readers, We use the jquery property jQuery.fx.off or $.fx.off (globally disable all animations). By default its value is false, when we set this property to true, disables all the animation in jquery. So, instead of displaying an effect...

How do you implement animation functionality ?

Hello Readers, Jquery implement the animation functionality using jquery.animate() methods.Animate method performs animation effects on CSS properties and it's effect be on custom animation and the CSS properties should be numeric.Using this p...

How to make Text to Speech app in android

TextToSpeech convert your text into voice. Android provide TextToSpeech class, here we need to instantiate an object of this class and also specify the InitListener. Below code will describe you how to create Text to speech app. public class M...

Priority and Severity?

Priority:- When a task should be worked upon or when a bug should be fixed. Severity:- What is the effect if this problem is not operate upon now/a defect is not fixed now. High priority and High severity:- you are testing a website and...

Remove Leading, Trailing and other consecutive white spaces in a string in RoR

There are innumerous ways to remove extra white spaces from a string in Ruby on Rails. Here i am demonstrating 3 ways which you can use to achieve the desired result. 1> squish function : This function was introduced in Rails framewor...

Difference between UnBound Service, Bound Service and Intent Service

Here I am writing few differences between UnBound Service, UnBound Service and IntentService. UnBound Service: 1.Basically used for long repetitive task. 2.startService() is the method use to start unbound service. 3.stopService()...

Multiple Traits

Welcome to Findnerd. Today we are going to discuss the multiple traits in php. Trait is also a classes, only difference is that we can not create object for traits. We can only use the methods which are implemented in it via use keyword. Please c...

Closing applicaiton

Facing problem while closing application here is a simple solution. Now no need to use the lengthy way like using broadcast receivers. Scenario :- if you have an application in which multiple activities are opened and you want to close you...

Localization with Ionic Framework and Angular Translation

Hi All Today we will discuss about how to Localize Ionic application. We have a JavaScript library for AngularJS "Angular Translate". It allows you to Translate your application depending upon language you desire. It will provide a great way...

Traits vs Interfaces

Welcome to Findnerd. Today we are going to discuss the difference between interface and traits. Interface is a contruct between program and programmer. You can say like this, it is blueprint for the classes. Interface has abstact methods which m...

How to decompile .class file to .java file

Hello Guys Most of the time we are thinking .class has bytecode and it's not human readable but it's right thinking so we have another technologies which can decompile .class file to human readable means .java file. Now, I illustrate the ja...

CAN TEST AUTOMATION REPLACE HUMAN TESTERS?

QA experts do not use the word 'test automation'. They rather call it automation checks as they feel testing cannot be automated, but checking can be totally automated. Humans have the ability to do things, observe things, and examine things that...

Script for email send with multiple attachments using PHP?

We can send mail by Using mail() function.This is a PHP predefined function for sending mail. Also we can send multiple attachment at the same time using php mail function and using php code for multiple files. For sending multiple atta...

Send a request using Alamofire in swift

Use the alamofire in swift first install the pod file in your project using below steps: 1- open the terminal and run following commands sudo gem update --system sudo gem install cocoapods pod setup change folder to the current proejct ...

The notifications which i dismissed are not getting displayed in this page.

Hi Gud Evng, I am working on cordova android. I am displaying all push notifications in one page. The notifications which i touched are only getting displayed in this page. The notifications which i dismissed are not getting displaye...

How to compare strings in Java

There are two ways of comparison in Java. In you just want to match value of the string Object.equals() will be used. It simply compares the string values. While if you use == to compare, it will check the object reference. So new S...

Prevent site from showing up in search results on Google, Bing and other search engines

Sometimes we need to prevent our testing.dev site from showing up in search results on Google, Bing and other search engines until we are ready to launch. We can do this by addting "X-Robots-Tag" paramet to header of the response. Create filte...

Resolve maximum allocation time exceeds error in PHP?

In PHP, many times we found the error i.e. "maximum allocation time exceeds". For resolving these errors we use php.ini file or we can resolve it buy using our .htaccess file. 1. Using php.ini file For this we have to increase the max...

Final class in PHP?

Final class in PHP is a class that can not be inherited. or we can say that it can not be extended . It basically protect the methods of class that is to be overriden by the other child classes present there. For declaring a class as final,...

File uploading using Spring MVC

Spring framework based on java technology and it's comes with MultipartResolver to handle upload files in web based application. The MultipartResolver has CommonsMultipartResolver which use the Apache commons upload library to handle the uploa...

How to open another page with button click in jQuery?

Sometimes we need to open another page on button click. We can do this in tow ways either by using "window.location" or "window.open()". Example: In the below example I have put conditions on "blur" event for checking whether the input fiel...

Pre loader using pure css

Hi All, Below is some example of pure css loader. Using css animation. All are single element loader. Please, check the below code for details. section{ margin: 10px 0; } .loader { position: absolute; z-index: 1; left: 0; ...

How can change the URL of admin in Magento?

For changing the url of admin from our existing magento store there are two methods we have: Method 1- First Go to app/etc/local.xml file , open this file with an editor .Now find for the admin node where you have to change the frontName...

How to implement select event of Autocomplete feature in jsp?

Sometimes we need do functionality when we select any item from the suggestions that display by autocomplte feature. Example: In the below example I'm using autocomplete() function to get suggestions with the provided keyword. As below by impl...

Null coalescing operator and spaceship operator

Welcome to Findnerd. Today we are going to discuss the Null coalescing operator and spaceship operator which are added in PHP7. Null coalescing operator is enchanced version of ternary operator. You should be familar with the ternary operator. W...

Magento ORM process?

ORM means "Object Relational Mapping." it is a technique that we basically used to convert types of data to an Objects Also as converting any objects to data. Magento, ORM is stands as Model (which is based on Zend Framework Zend_Db_Ad...

Return type in PHP

Welcome to Findnerd. Today we are going to discuss the return types in php which is improved in PHP7. In php 7 you can set the data type for the return value of the function. You need to set the declare(strict_types=1) in the file top. <?p...

Javascript Round Function

The Round function return a value towards the nearest integer. Syntax:- Math.round(number) number is any numeric expression. If the fractional portion of number is .5 or greater, the argument is rounded to the next highest integer. ...

Scalar types in php

Welcome to Findnerd. Today we are going to dicuss the strict typing mode and weak typing mode which is introduced in PHP7. strict typing mode is not activated by default. You need to activate it via declare like this declare(strict_type=1); ...

How to create Geo Location coding in android

Geocoding is the process of finding the geographical coordinates of the given location, So if you looking help to create Geo Location function see code example below. Here I have created edit text using place name for users. When User enters any ...

How to create a web service

SOAP:Simple Object Access Protocol defines the request and response message format in a web service. It is XML-based communication format and encoding format for inter-application communication. SOAP is built to use for cross-platform, cross-lang...

PHP Filters

Welcome to Findnerd. We are going to discuss PHP filtering today. We all knows version by version PHP introducing new ways of coding and many improvements. PHP has launched the PHP7. There are many new features added as well as did many improve...

Pre vs. Code

<code> use for inline code it can wrap and <pre> for block code that must not wrap so, new lines and spaces get rendered as new lines.. It is little mystified by the <pre> and <code> tags. If youre not sure which to use...

How to implement autocomplete feature with AJAX in jsp?

Sometimes wee need to call an API or action to get matching list with the provide keyword in Search box, for this we usually implemente autocomplete feature to input field for searching purpose by doing AJAX call. Example: In the below example...

Check the broken image link and replace it with alt text in jQuery

Check if image link is broken in page and replace it with the alt text and open the blank page when user click on it $('img').each(function( ) { $( this ).error(function(){ var img_path = $(this).attr...

How to show ads in your website using Google ad sense

Hello readers , Following are the steps to guide how you can show ads in your site. Step 1 First sign in with google ad sense account using below link https://www.google.com/adsense/start/ Step 2 After sign in with your googl...

Websites speed optimization process.

Following are some steps to increase page loading speed: Step 1: HTML Design Use Div based html design for your website. Table based design will take more loading time as compare to div based design. Step 2: Use External JavaScript and ...

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 ...

Push notification is not showing even when the app is on the foreground.

Hi Friends, Push notification is not showing even when the app is on the foreground. Plzz let me know anybody solved this kind of issue. Thanks & regards, Gopinath.

Bootstrap Form

Bootstrap Form Bootstrap provides a predefined form which can be customized according to your requirement.You can design any form with little effort and customization.It helps in saving lots of time and prevents developer from confusion. &l...

Assertions in Odoo

Generally we use qunit assertions for web's test .If any module are not working proper then we use qunit assertions in odoo server.Assertions having following list . 1-async() Instruct QUnit to wait for an asynchronous operation. 2- deepEqu...

How to create BigPictureStyle Notification in Android

To show large-format notifications in android notification bar similar like Flipkart, Mobikwik, Paytm applications. The style of large icon notification bar is called BigPicturestyle Notifications. Mostly the BigPicturestyle Notification is used...

How to writing a test case in Odoo ?

If you want to writing test case, you have to add javascript code in your Odoo manifest files.For example see below code. { 'name': "Demonstration of web/javascript tests", 'category': 'Hidden', 'depends': ['web'], 'test': ...

Creating Closure function in php

In this tutorial we will learn about the closure function in php. Here we will see simple closure using an anonymous function. Example 1: // Create a user $user = "xyz"; // Create a Closure $invoke = function() use($user) { ...

Navbar

Bootstrap Navbar Bootstrap provides an pre-defined navbar which can be customized according to your requirement.Predefined classes are present which helps in saving lots of time and prevent us from confusion,makes it more user friendly.With li...

What is css preprocessor ?

CSS pre-processors have really started to gain in popularity in the last several years. It have been around for a while now. We need a compiler to compile that. It means we can't render directly to pre-processors file (scss ,less, styls). In simp...

What is the difference between eq() and get() methods in jQuery ?

Hello Readers, eq() and get() methods in jQuery: eq() method: eq() method returns the element as a jQuery object. This method constructs a new jQuery object from one element within that set and returns it that (means you can use jquer...

how to parse xml file in android?

If you are looking to parse an xml file in android here are its steps :- Step 1:-Getting XML content by making HTTP request public String getXmlFromUrl(String url) { String xml = null; try { DefaultHttpClient...

What is the difference between parent() and parents() methods in jQuery ?

Hello Readers, parent() : this function travels only one level in the DOM tree. parents() : this function search through the whole DOM tree. For Example : Given the following HTML : <html> <body> <di...

RPC calls in Python

In RPC we have to move on .py file and make script api to rpc call in python side after that move to function fetches the return value of the Python methods, converted to rpc call.For example see below code. session.rpc('/web/dataset/resequenc...
1 182 292