
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
How to create threads in Java?
How to create threads in Java?
From main thread we can create our own user defined threads, we can create threads in two ways:
By extending thread class.
By implementing run-able interface.
By extending thread class
Create a clas...
Threads in Java
Thread
Thread is a individual program execution path. Each thread has different stack, threads share some memory space.
Performing multiple task parallely is known as multitasking and it is achieved by developing multi threaded application....
How to export all the individual layers in a particular format?
Hello everyone
Is there any automated way where I can export all the individual layers at once in a particular format?
I am using Photoshop CS5 and have 15 layers with transparency.
Get Multiple Checkbox Values in PHP
Hello Readers,
If you select one or more then one checkbox value in php you can easily use the below code.
Here first you make a html (index.html)
index.html:
<form action="checkbox.php" method="post">
<label class="head"&g...
Method Overloading in Java
Method Overloading
Creating a multiple methods with same name and with different argument list is known as method overloading.
When we are overloading a method argument, list should be unique i.e, it should be unique with either number of a...
Prototype Model
Prototype Model
It is the basic model of SDLC(Software Development Life Cycle)which is derived from waterfall model. Whenever the customer is not clear about the requirements then we go for prototype model.
It consists of various phases lik...
PDCA Cycle for Software Development
PDCA Cycle for Software Development:-
As we all know that the software testing is a very important section of every software development process. Basically for any software development there are many steps to follow, but mainly there are four ...
How to install, configure & use AWS client in ubuntu
To Install awsclient we need to install python-pip first:--
--> sudo apt-get install python-pip
After installing pip we can install awsclient using :-
--> sudo apt-get install awscli
After successfully installing awsclient, we n...
How to set the Currency Rates in OpenERP(Odoo)?
Step-1 Install the currency_rate module.
Step-2 After that custmozie .py(Python file) file in currency_rate module:
In below example, I have custmozied .py file. You can directly copy the below python code in your .py file.
class res_curren...
How to set the Advanced filters in OpenERP(Odoo)?
Step-1 Install the web_advanced_filters module.
Step-2 After that custmozie .py(Python file) file in web_advanced_filters module:
In below example, I have custmozied .py file. You can directly copy the below python code in your .py file.
cl...
MongoDB Query Plan & Optimization
Indexes improve the efficiency of read operations by reducing the amount of data that query operations need to process.
Create index for a collection :
The index can be defined in schema of collection. Consider the following collection Accounts...
MongoDB Query Optimization using explain
The MongoDB query optimizer processes chooses the most efficient query plan form the available indexes. Then mongoDB query system use this index to execute and return the result.
You can use the db.collection.explain() or the cursor.explain() ...
Using Vibration plugin in Phonegap
By using cordova-plugin-vibration we can get vibration on the devices. The plugin has some global objects like navigator.vibrate.
Installation:
cordova plugin add cordova-plugin-vibration
Vibrate:
The vibrate function provides the thr...
Get Country name without using location
Hi...
Usually we get country name by using our location via GPS settings. But somehow on situations we need to get country name without using GPS.
For these situation, Android provides Locale to get our device's country name.
We are us...
How to get IMEI number,serial number and software version of your phone
Hello...
Sometimes we need to know the country code, IMEI number, subscriber of a phone.
Their is very simple solution, For this android gives facility to know it by providing TelephonyManager class.
TelephonyManager have many methods t...
JQuery Ajax Post in Rails with example
JQuery Ajax Post in Rails
As we all know, ajax is used for saving some objects to server or requesting to server and in response, page should not be refreshed. Rails provides helper remote: true, that can be added in ruby form helpers. After a...
How to use the eyedrop tool to pick or change any of the color of gradient?
Hello everyone,
While working with gradient in illustrator I got stuck in, picking or changing the color of gradient.
Can any one help or guide me to use the eyedropper tool to pick or change any of the color of gradient.
Credit card payment fails for delayed payment methodology using Braintree payment gateway?
We are working on a site where user registers for an event using his credit card, we verify for credit card using Braintree API and registers user based on that. Once a particular event is over we process for payment for all the registered user u...
How to stop spam from submitting form in rails other then captcha
We have a registration form where user can register directly i.e we don't have any mail verification process beside that we also don't want to add captcha as its add an extra step for the user.
The issue we are having is that some bot is making ...
Wordpress Creating a simple short code
Shortcodes are the power of the wordpress. You can simply create shortcodes and call it via the do_shortcode function or on pasting it on editor. For adding a shortcode, you ned to use the hook add_shortcode. We are going to share the script for ...
Create new button in wordpress editor
Welcome to Findnerd. We are going to discuss the steps to create new buttons and show the hidden buttons of editor. We all know that wordpress bydefault using editor TinyMCE. There are many hidden options/button available in the editor so you can...
How to set the Price Security in OpenERP(Odoo)?
Step-1 Install the
Price Security
module.
Step-2 After that custmozie .py(Python file) file:
In below example, I have custmozied .py file. You can directly copy the below python code in your .py file.
class account_invoice_line(models....
How to extended the Address in OpenERP(Odoo)?
To extended the Address first we have to go in .py file (Python file) After that we have to decide where we want extended the Address and then write start to end python code to that field.
Use below .py code in python file:
In below example, I...
Paypal verify Card details for make payment
Hello guys,
Its really helpful for integration Paypal in PHP to verify card details.
To integrate it, first you have to download the PHP-Paypal SDK, below is the direct link
https://github.com/paypal/PayPal-PHP-SDK/releases
// 1. Autoload...
How to use custom filters in our code in AngularJS
Filter is one of the important part in angularJS. There are many default filters like:
1. uppercase
2. lowercase
3. orderby
etc.
We can use these filter simply by adding a pipe character (|) in the expression.
Now we will discuss a custom ...
Access Specifiers
Access Specifiers
Access specifiers are used to set the visibility(scope) for class or interface or members.
There are following access specifiers:
Private.
Default/friendly.
Protected.
Public.
Private
(i) Private members ar...
Encapsulation
Encapsulation
Encapsulation is defined as the process of combining the data and functions into one entity, encapsulation is a concept of making fields private and allow the access through public methods.
As we are making field private so it...
Binding
Binding
Connecting two or more separate methods together is known as binding.
In Java there are two types of binding:
1. Early binding.
2. Late binding.
Early Binding
The binding which takes place at compile time is called early bi...
Debugging
Debugging
The process of identifying and fixing the bugs or defects in software or hardware is known as debugging. Once the defect is identified it is necessary to find and locate the statements in the program which are responsible for the err...
What is Error Guessing & How to improve Error Guessing Techniques?
Error Guessing
This method is used in risk analysis to "guess" where the errors are likely to occur and to assign a higher risk to the error-prone areas. The success of error guessing is very much dependent on the skill of the tester, as good ...
What is Equivalence Partitioning?
What is Equivalence partitioning:-
Equivalence partitioning is also known as Equivalence Class Partitioning or ECP. In Equivalence Class Partitioning is a method that split/cut-up the input data of a software unit into separation/division/clas...
Getting Device info using phone gap
In phonegap, if we want to know the device information then we have to add a plugin for the same and from that we will have a device object which describe the hardware and software of the device.
The properties include:
device.name
device....
How to make validations in Asp.Net MVC
"How to make validations in Model Class using Asp.Net MVC "
In this article we will learn about validating Model using Data Annotations . Data Annotations provides us Metadata that describes some set of rules, with the...
How to login in Cakephp using Email and Password or Username and Password
Hello Readers,
If you want to login the cakephp application using the email or username and password
Use the below code:
$username=$REQUEST['login'];
$email=$REQUEST['login'];
$password=$REQUEST['password'];
Here $REQUEST be the super...
Configuring Unicorn for rails app
Unicorn is an HTTP server for Ruby. It is designed to be used in production environment unlike Webrick which is designed to be used at the time of development on local machine. Because it is very fast, efficient and offers lots of good features l...
Importance of Software Testing
Why Software Testing is necessary ?
Software Testing is an important part of any software development. In time of making any new application or software there is need to test of that application before implementation. In time of development de...
Waterfall Model
Waterfall Model
It is the most basic model of SDLC(Software Development Life Cycle), means that all the other models are derived from waterfall model.
It is a step by step procedure to develop the software, it consists of various phases lik...
Explain Validation helpers
Active Record gives many predefined validation helpers which you can use directly in your class. These helpers provide us rules which can be commonly used as a validation rules. So if the validation fails, a error message is added to object error...
How to Create Payment Term in OpenERP-7
To Create Payment Term in OpenERP-7
Follow these step given below
Step1 - Install the account module in openerp
Step2 Go to the Accounting -> Configuration -> Payment Terms
then create payment term as show in the figure ...
How to create an Accordion
This tutorial will help you to create an accordion and use it for making html page more user friendly, interactive and presentable. Accordion are usually used in pages that consists questionnaires and wherein we want to display the answers and mo...
How to Hit Delete API of MVC5
Hi,
I am trying to hit a MVC web API for deleting the record but i am getting the error that no resource found. I am able to hit the API using PostMan and fiddler but i am unable to hit it using Rest Clinet. Here is my code
var request = ne...
Get the current position of element using jquery
Welcome to FindNerd.
We are going to describe the functions to get the current position of the bound element. There are two functions named offset and position. They are used as a same manner. Let's take an example of both function.
<ul...
Using CakePHP FormHelper with Bootstrap Forms
Hello Readers ,
If you are using Cakephp and not use Cakephp FormHelper then its a bad technique of coding . To use Cakephp FormHelper first of all declare FormHelper in controller .
So we have the piece of Html code below which we need to...
Timezone and more problems with Cakephp 1.3 and PHP 5.3.2
Hello Readers,
We have heard this Timezone Warning many times whenever we build Cakephp project from scratch.
The warning message is as below:
Warning: strtotime() [http://php.net/function.strtotime]: It is not safe to rely on the sys...
Custom events in jquery
When we think about the jquery then first thing comes in mind that is events so today we are going to discuss the custom events. Do you know about custom events? Its name has cleared the concept, means your own events. There are so many benefits ...
Using Cookies in ROR
Cookies are objects that we use to store some information of the user in the browser like geolocation of user . It is a set of key value pair. All cookies have time of expiry after which they are just deleted from the browser usually at the end o...
How to echo out current URL in Cake's view?
Hello Readers ,
If you want to echo out the current URL in cakephp then follow the below codes.
Current URL: http://example.com/controller/action/?query=12
We can do it this way like.
<?php echo $this->request->here; ?>
...
Rendering XML and JSON in rails
Rendering xml or json data from the controller method is very easy. We have to just follow this syntax.
Example(xml):
def index
@users = User.all
respond_to do |format|
format.xml {render :xml => @users}
...
Pros and Cons of Unity3D
Pro's:
User-Friendly Interface, very easy to learn for beginners.
Supports multiple development platforms , mobile, desktop, web and console.
Deployment to multiple platforms is very easy to manage.
Unity has its Asset store where you can...
Difference between AutoCompleteTextView and MultiAutoCompleteTextView
In most of the applications user wants suggestions from a ListView/Source while typing in an editable text field. For that particular thing we have two different editable TextViews which provide a drop down menu.
AutoCompleteTextView only o...