
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
Test Harness
What Is Test Harness ?
Test Harness is also recognized as automated test framework. This test framework is generally utilized by the programmers or developers.Test harness supplies drivers and stubs to the developers. Developers utilized these...
Difference between File Repository and Database Repository in PDI
Kettle Database Repository: while using Database repository, all the information regarding jobs and transformation is stored in Database, which is the store of ETL metadata.
You have to provide appropriate credential of database, and create a ...
How to make Call State in android
Hello friend's
If you want to create a Call State function in Android see the below code example. Here I have used TelephonyManger method to get the information of call state And I have used PhoneStateListener. In AndroidManifest.xml I have a...
How to perform the screen rotation in Appium ?
Many times the application screen has to be rotated to automate any testcase. Most of the applications opens in portrait mode and if there we have to verify something in landscape mode then we cannot rotate the screen manually in the middle to an...
Remove parent theme menu in child theme Wordpress
Hello Everyone, I am here to teach you how to remove parent theme menu in child theme wordpress.
The below code is in your parent theme for register the menu.
add_action( 'after_setup_theme', 'register_themename_menu' );
function registe...
PDI Components
There are four main components of Pentaho Data Integration tool:
1: SPOON
2: PAN
3: KITCHEN
4: CARTE
SPOON
It is a graphical design interface for buildings ETL jobs and transformation.
It provide a way to create complex ETL j...
Magic Methods and their types
Php functions that starts with double underscore are called magic methods.These functions are not stand alone functions and are defined inside class. Php will call these functions from background means behind the scenes. It is not directly called...
How to make a Round UIView with selected Daimeter programatically in iOS
Create UIView as UIView *myroundView; or watever name suits u...
Allocate it itz memory as well as its frame & its diameter as-
myroundView = [[UIView alloc]initWithFrame:CGRectMake(40, 18, 15, 15)];
[self setRoundedView:myroundVie...
Convert a Video File from One Format to Another Format using FFmpeg command
Hello Readers,
If you want a concert a video file from one a define format to other format, you should to use following command:
ffmpeg -i INPUTVIDEONAME -c:v libx264 -profile:v baseline -c:a aac -strict experimental -ar 44100 -ac 2...
Where to use "__construct" magic function
__construct
The constructor is a magic method, which is immidately initated after declare the object of class and you can write the __construct method at any place in the class.
Right here all of us have a case in point during which, develo...
Remove Custom Post Types and Taxonomies in Wordpress
Hello readers, In this blog I will teach you how to remove custom post type and taxonomies.
The below code is the custom taxonomies of the parent theme inside the functions.php
add_action( 'after_setup_theme', 'parent_gallery_add_post_typ...
How to return an array from a function in PHP?
If we have a function and we want to return multiple values from that function then we can easily return an array from function.Below is the example which returns a multiple array from function.
function myFunc( ) {
$myvar1 = 10;
$myvar2 =...
Explain the each() function in jquery?
Hello Readers,
each() is the jquery function and it is used to iterate over jquery matched object list.
each() is a traversing method which works only jquery objects.
syntax :
$(selector).each(function(index,element))
Parameters :
...
PHP magic function
PHP functions that start with a double underscore __ , are called magic functions in PHP.
__construct()
__destruct()
__call() __callStatic() __get() __set() __isset() __unset() __sleep() __wakeup() __toString() __invoke() __set_state() __...
Calculate the number of days between two dates
If you want to calculate the number of days between two dates, you need to make a function,pass the dates and use getTime() function.
Below is the example code :
function GetNoDays(date1, date2) {
var daysIndates = date1.getTime() - ...
SIF API to Search a data in Base Object
If you have a requirement to search data in Base Object, you can use SearchQueryRequest SIF API for same. Following example illustrate fetching first name of employee using employee id.
SearchQueryRequest request = new SearchQueryRequest();
r...
substring() method in JavaScript String
JavaScript String substring() method : The substring() method is used to extract the sub string between two points. It returns the new substring. If start point is greater than end point then it swaps automatically these points, means substring(4...
Mercury Configuration in Odoo-9
Step-1 Go to Apps and install the Mercury Payment Services application module.
Step-2 Go to Pint Of Sale Menu and click it .
Step-3 Go to the Point of Sale application, click on Configuration ->Mercury Configurations and th...
SIF API to Generate Match Tokens on Base Object
Following example illustrate how you can Generate Match Token for ALL records in Base Object using SIF API:
ExecuteBatchGenerateMatchTokensRequest req = new ExecuteBatchGenerateMatchTokensRequest();
req.setTableName("MY_BASE_OBJECT"); //...
Split a video into multiple parts using FFmpeg
Hello Readers,
If you want to break a large video into the two or more smaller clips without using re-encoding, just now ffmpeg can help you for the same.
Most of the hosting servers only provides for a certain dimensions regarding ...
Use of Server Side Script in android
Script File in Android
While building android application we have situations where we want to post data onto the server. Sometimes we need response from the server and based on that response action will be performed.
For doing that we will ...
Lookup Concept in MDM
As the term "Lookup" itself defines, you are finding something(looking for).
Basically, lookup is applied in FK's column to load the data in BO. It act a key to Load the data between two BO.
Consider an example:
You have two BO Postal Ad...
Keyboard shortcuts for Google Doc
Hello Friends,
Below are some common and important keyboard shortcuts which you can use while working on Google Doc.
Actions
Shortcut
Copy
...
Fault injection Testing
What Is Fault injection Testing ?
Fault injection testing is an software testing approach, in which by tester initiate or introduce defects or mistakes into the coding section for elaborating the covering or scope. Fault injection testing, nor...
How to send e-mail using Pentaho Kettle?
To send an e-mail:
Step1: Create a Job.
Step2: From Design menu, drag and drop Mail in your Job.
Step3: Right Click, Edit the Mail and set up Address, Server, Email Message, Attached File(if any).
Step4: Exec...
How to Enable anf disable regions in theme .info file
by placing and removing semicolon(;) in front of line we enable and disable regions in theme .info file
REGIONS - ENABLED
regions[page_top] = Page Top
regions[header] = Header
regions[highlighted] = Highlighted
REGIONS - DISABLED
...
Drupal Theme Metadata
Drupal Theme Metadata
Writing a .info file is the first step when we create a Drupal theme, .info files contain important metadata about the theme, such as the list mentioned below.
name /*required*/
name = A firt th...
Drupal Views Related Top 10 Modules
Drupal Views Related Top 10 Modules
Views Bulk Operations (VBO)
Allow bulk operations to be run on the displayed rows
Views Table Highlighter
Aloow to highlight certain views table rows based on PHP code
Better...
How to pass JavaScript variables to PHP
Many a times we got stuck in a case or situation where we have to pass JavaScript variables to PHP using a hidden input in a form. The solution for this situation is:
Solution:We cannot pass variable values from the current page javascript...
How to attach transformation log in Mail using Pentaho Kettle?
To attach a transformation log in Mail:
Step1: Right Click, edit the Transformation.
Step2: Go to Logging Settings.
Step3: Enable Specify Logfile, and provide the name and extension of file as below:
Step4: Go to Mail, edit the ...
How to modify(Remove) parent theme feature within child theme
Hello reader's, in this blog I discussed ablout "How to Modify(Remove) Parent Theme feature Within Child Theme".
We all know that parent theme and child theme follow inheritance.
The basic meaning of Inheritance is, child theme get the proper...
What is .siblings() method in jQuery?
Hello Readers,
If we want to fetch or return the all sibling elements of the selected or matched elements then we use the .siblings() method in jQuery.
It is the elements that belong to the same parent.
Syntax :
selector.siblings( [se...
Short cut keys for Google Docs
I am facing troubles with using short-cut keys in Google docs that I never faced in MS Word. For example, one can use Shift+F3 to make initials of words in a sentence either capital or small. Could somebody help me with all short-cut keys availab...
Simple Zebra Table by using Css3
Hello Readers,
Here is the Example of Simple Zebra Table.
Here is the HTML
<table>
<tr>
<th>Name</th>
<th>Date of Birth</th>
<th>Age</th>
...
Finally block in Exception handling php
Welcome to FindNerd. We are going to discuss the finally block in php. We use it with Exception handling. Are you familiar with exception if not then check our
exception based blog Exception concept for help. finally block run always whenever co...
What is the use of jQuery filter?
Hello Readers,
Jquery filter is one of the jquery method. It is used to returns the elements that match the certain values from the object list.
Syntax :
selector.filter( selector )
Parameters :
selector
Below is the Code Ex...
How to exclude the records from Match and Merge?
To exclude a record(s) completely remove from Match and Merge process, regardless of any source system, using Informatica MDM.
Step 1: Add a not nuable column is BO as EXCLUDE_FROM_MATCH, with type integer and a default value 0.
Step 2: Set t...
Convert one date format into another in PHP
Date play an important role in any project. We have to change date format according to our need. If we are using PHP 5.2 and lower then for changing date format we have to parse the elements (year, month, day, hour, minute, second) manually using...
What is the join in MySQL ?
Welcome to findnerd, today we are going to discuss to join in MySQL.
Firstly let know what is join ?
An SQL JOIN clause is used to combining two or more tables and return output in single table.
So in simple word we can say that MySQL ...
What Is Installation and Uninstall Testing ?
What Is Installation and Uninstall Testing ?
In the software testing installation and uninstallation testing approaches are also very important.
Installation Testing:- Installation testing is executed to confirm if the application has been ...
How to redirect html page using jQuery ?
Welcome to findnerd, today we are going to discuss How to redirect html page using jQuery ?
In this blog you can see How to redirect html page ?
You can simply use the JavaScript "window.location" property to make a page redirect.
you c...
Exception in php
Welcome to FindNerd. We are going to discuss the Exception,what is it and how we can use it in php? First question araised that what is Exception? Exception is nothing but a runtime error. It depends totally upon the values passing at run time.
...
RTO while making requests
RTO mainly means Request Time Out
It occurs when we send request to the server and it does not give response. But it does not mean that we dont have internet connectivity sometimes RTO occurs because of delay by the responding server.
So R...
Login with linkedin in php
Follow the below steps in order to use the linkedin API.
Go to the Apps page at LinkedIn
Developer Network and login with
your LinkedIn account credentials
https://www.linkedin.com/secure/developer
Click on the Add New Application
link...
Sample SOAP request for executeBatchDelete
By using executeBatchDelete api you can clean the records in BO and its child BO.
Sample SOAP request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:siperian.api">
<soapenv:Header/&g...
How to do Array Sort
Use the Array objects sort method:
var fruitArray = ['strawberry','apple','orange','banana','lime'];
alert(fruitArray.sort()); // returns apple,banana,lime,orange,strawberry
The Array objects sort method sorts the array elements alphabetic...
Schemas in SQL
Schema or Structure can be defined in SQL
A schema is a collection of logical structures of data objects. A schema is associated with a database user and has the same name as that user. Each user have a single schema. Schema is mainly collecti...
How to upload files to Server using JSP Servlet
Step 1: Configure web.xml, add <multipart-config>
<multipart-config>
<max-file-size>1234</max-file-size>
<max-request-size>5678</max-request-size>
</multipart-config>
...
How to Create and Use Cookies in PHP
Cookies are basically small text files that is stored in browser and it is use for tracking purpose.
Cookies are also use for remember me functionalities.
Setting Cookies with PHP
setcookie(name, value, expire, path, domain, security);
...
Pagination in Cakephp
In cakephp framework there is a way which features pagination easily on your web page.
This can be done as :
Controller Code :
public $components = array('Paginator','Flash');
public function index() {
$this->paginat...
