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

Disable text selection highlighting using css

Hi all, Below is an example, How to disable the text selection and copy text. Controls the actual Selection operation. This doesn't have any effect on content loaded as chrome, except in textboxes. CSS :- .noselect { -webkit-tou...

Glass Box Testing

What Is Glass Box Testing ? Glass box testing is a testing approach that explores the program framework and acquires test data from the program codes or program logic. Glass box testing is also known as Open box testing, Clear box testing, Str...

Bootstrap Buttons

Bootstrap Buttons Bootstrap provides button classes to quickly create a styled button.So you can design any type of buttons with little effort and customization. <!-- Standard button --> <button type="button" class="btn btn-defaul...

Age Testing

What is Age Testing ? Age testing is a testing approach that calculates a systems proficiency to execute in the prospective and generally caused to look by testing teams. As the system became older, how essentially the execution might fall is ...

Cannot send session cookie - headers already sent

Welcome to FindNerd. We sometime get the error- can not send session cookie - headers already sent while we use the session. When we start the start the session with the help of session_start, it means we are ready to use the session. To avo...

how to create Custom font function in android

If you are looking to make Custom Font in android check the below code example. For this first download the required fonts on your system and then place it in fonts folder. After putting fonts in the assets/fonts folder then I have used java code...

Replacing all occurrences of a string in javascript

String.replace method in javascript does not replace every occurrence of the string, it only replaces the first occurrence. To replace all occurrences of the string you must provide the replace() method a regular expression (or pass search string...

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

Remove duplicate Array from Multidimensional Array with the key defined

Here we will learn that how we can remove duplicate Array from multidimensional Array according to the key in the Array. Lets look at the example below :- Here I have initialized one multidimensional Array, now I would like to remove thos...

Enhancement in define function php

Welcome to Findnerd. We all knows and have used the define function in PHP but it is improved little bit. Now we can assign the array to the constant using define function. Please have a look. define('TAX_RANGE',[9.25,10.25]); In above ...

Closure::call()

Welcome to Findnerd. Today we are going to disccus two new features introduces in PHP7 that are closure::call. You can bind the outer function in class. It is also known as temporarily binding an object scope to a closure and invoking it. Please ...

How to add and remove a class on click event

hii, Today i am sharing a blog on How to add and remove a class on click event in javascript. First of all you need to either download few plugins or just copy and paste the below link inside head tag. <script src="https://ajax.google...

Change method visibility with traits

Welcome to Findnerd. We have discussed the traits in previous blogs. You can check the other blogs for basic understanding. We can use the methods including in traits and can perform the other operations as well. You can change the methods visib...

Different phases of QA Process followed by different companies?

Different phases of QA Process are following:- 1.) Test Plan 2.) Test Cases 3.) Review 4.) Execute 5.) Improve 6.) Defects Logging Test Plan : - In Test Plan scope of the project is defined, also in test plan there...

concat() method in JavaScript String

JavaScript String concat() method : To join one or more strings we use the concat method in JavaScript String. Syntax of concat method : string.concat(string1, string2, ..., stringX) In the above syntax you can pass any number of p...

Create User Defined Session in Java

User Defined Session ID: As we know that the session is used to check the user's state. Almost every web application handles the user session. Their are number of ways to maintain the session like using url rewriting, hidden fields, cookies, web ...

How to add JTable in JPanel

Hello Guys I writing blog to add JTable in Jpanel. JTable is an component of the swing package in java technology and also it's a class, so we need to create instance and using add() method add the JTable in JPanel. Here, add() method used fo...

How to convert Unix time stamp into date time using PHP

Hello Reader's! If you have the time stamp in unix time and you need to convert them into Date time format Then you can use the diffrent ways of doing this in PHP Let's say the example below:- $timestamp=1455070324; echo gmdate("Y-m-d\TH...

Importance of Services in Android Application

To perform long running operations on background without any disturbance with the application we use Services in android. Services are workable even if the application is destroyed. Service base class have various callback methods onCreate(), onB...

What is the difference between .empty(), .remove() and .detach() methods in jQuery?

Hello Readers, In this blog we define the difference between .empty(), .remove() and .detach() methods in jQuery: .empty(), .remove() and .detach() all are jquery methods and all are used for removing elements from DOM but they all are diff...

HTML5 Web Worker

A web worker is basically a javascript code that runs in the background. It does not effect the performance of the Page. Usually When we run some script in our html page the page do not response until the script finishes. By using Web Workers ...

What is the difference between an int and an Integer in Java

Well, in Java technology an int is a primitive type while an Integer is an Object or wrapper class. Meaning, if you made a new Integer: Integer integerObj = new Integer(6); You could call some method on integerObj: String str = integer...

how to use Bitmap in Android

Below I have written the code for getting the Image using Bitmap in your Android App. Here we have passed two parameters in the method the first one is the Image View and second one is the url of the image that is to be shown on the image view. ...

How To Promote Your Blog Post

Hi Guys,   In today's era, internet marketing is not just on-page optimization or huge link building. In today's world, content is king. One has to have a good quality content on their websites, that attracts not only users, but s...

Main method in java

Hello guys Here, I am simplifying the java main method, In which beginners have many confusions about public, static, void and String array. First of all see below simple java example : package bhagwan; public class Findnerd { ...

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

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...
1 164 269
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: