
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
Base64 encoding decoding in Android
For encoding and decoding we have Base64 class in android.
For encoding in String we can use encodeToString (byte[] input, int flags)
This method Base64-encode the given data and return a newly allocated String with the result.
Parameters
in...
onreset event in Javascript
The onreset is used event when we want to reset a form.
it allows users to clear checkboxes or input field which refreshes the whole form.
Syntax
onreset = "JavascriptCode"
<!DOCTYPE html>
<html>
<head>
<script>...
HOW TO MAKE A MAIN MENU WITH SWIPING EFFECT IN FLASH
whenever we started to make a game first thing we need is Main menu, its our first screen and we have to make it user friendly, so that user find very easy how to play the game. when we have more than one stage in our game we need a menu so that...
Some Important HTML Codes for Blogging
Either you are a Professional Blogger or doing Guest posting just for Knowledge sharing you must face HTML code problems. I know HTML is a web designing/ programming language but I think every Blogger must know some Basic HT...
Interface vs Abstract Class
Interface
Interface can extend many interface.
Interface can extend from a interface only.
Interface have only abstract method by default.
Interface can have public method only it it.
Abstract
Abstract can attend only on class at a time.
...
Form Validation Using PHP
What is form Validation ?
This is the process to validate web form according to our data format, when the user try to submit wrong data in the field, server will not submit wrong data because we have restricted(validate) the all field ...
Abstract Class
Abstract class are simply the base class. They can not be instantiated but can be subclassed and have protected, private method unlike the interface.
Abstract classes can be declared by simply using the keyword abstract.
abstract class Graphi...
Error Guessing Approach
What is error guessing approach or techniques ?
Error guessing technique or approach comes under the Experience-Based testing techniques. Error guessing is an approach that should regularly be used as a supplement to another more
convention...
Interface
Interface is the way to get the multiple inheritance.
This means that a class can inherit two or more class.
As java, we can not extend more than one class but we can extend more than one interface.
So Interface is used to have inheritance
Bu...
How to get selected number of indexes/key from a array
If you need to get some limited key values of an array then you can use function array_slice used in PHP
Let see the example I'm having an array of 400+ values
$exp = array("34", "45", "45", "554", "2".......);
Now I'm limiting my thi...
Angularjs difference between routeprovider and stateprovider
$route: This is used for deep-linking URLs to controllers and views (HTML partials) and watches $location.url() in order to map the path from an existing definition of route.
When we use ngRoute, the route is configured with $routeProvider and...
Inheritance
Inheritance in java is concept by which one class can have the method of the other class.
The class that is being inherited is called Base or Parent class and the one which derive is called the Derive or child class.
Inheritance can be of the t...
How to change default cakephp paginator sorting label?
The default code of cakephp paginator sorting label.
<?php echo $this->Paginator->sort('first_name'); ?>
We can change it as follows:
echo $this->Paginator->sort('first_name', 'First Name');
Explanation:
Here we c...
Is M-Commerce The New Frontier For E-Commerce?
Technological innovation has brought a revolution in how marketing and consumer engagement are perceived in retail sector. Availability of multiple shopping channels has impacted consumer behavior and provided easy ways to shop on the go. The p...
Javascript Form validation
It is important to validate the form submitted by the user because it can have inappropriate values. So validation is must.
Form validation is required to prevent web form malicious users
Most of the web developers prefer JavaScript form valid...
NSTimer in IPhone SDK
Here is the code for:
calling a method after a time interval delay.
we use the NSTimer to implement this.
NSTimer *timer= [NSTimer scheduledTimerWithTimeInterval:3.0
target:self
...
How to write a custom directive for password and confirm-password validation
A custom Directive helps us to control the rendering of the HTML inside an AngularJS application. It makes AngularJS responsive.
Here is a custom directive to check for password and confirm password validation:
angular.module('app')
...
How to get the filename only from the given path string in C#
Suppose we have a string with full path with filename and we want to extract only the filename from the given path, then we can use Path.GetFileName method to extract only the file name.
Syntax: filename= Path.GetFileName(path);
Where pat...
Splitting a String in javascript
To split a string in javascript, we use split() method which splits the string into an array of substrings.
Syntax: string.split(separator);
Where separator specifies the character(s) to use for separating the string, and if this separat...
What Is Performance Testing?
What Is Performance Testing ?
Performance testing concentrates on performance Engineering, an introducing computer application or computer science exercise which conflicts to build performance into the pattern or design and framework of a proc...
What are the minimum Joomla requirements?
Joomla have many versions. So before installing Joomla your system required to fulfill the following requirements which varies according to the version you are using:
Joomla Version
Software
Databases
Web Servers
3.x
PHP *Recomme...
How to connect database using PDO in php
PDO does not account for database specific syntax. It can allow for the process of switching databases and platforms. PDO can simply switch the connection string in many instances.
PDO supports the following database:
PDO_FIREBIRD ( Firebird/In...
How to change the Login Form module settings?
Joomla provides a Login Form module used for login/logout purpose in Joomla. Once user logged in it gives a logout button and also provides user access additional resources on your site. Login Form will appear in the position which you have assig...
How to change the Favicon?
Joomla contains Favicon inside templates/your_templatename/ directory. To change this icon you need to replace that file with the one you want instead of it. Process of changing favicon is described below:
First, you need to create a 16x16 p...
Alert prompt on screen
Hi,
whenever you need an Alert prompt, you simply need to create an object of UIAlertView and show the object wherever alert prompt is needed.
For example -
UIAlertView *alertView= [[UIAlertView alloc] initWithTitle:@"CAUTION" message:@"m...
email address validation in php
By using 'eregi' we can validate our email address.For validate email we use a pattern and match our email address with this pattern
function isValidEmail($email_address)
{
$emailpattern = "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0...
How to install wordpress using Softaculous
Hello reader!
Installing WordPress is a bit of lengthy task for a beginner but in this blog you can learn installing the WordPress using a application from you cpanel. There is a application names 'Softaculous automatic app installer' and using...
Software Testing Life Cycle & its different phases:-
Software Testing Life Cycle & its different phases:-
STLC identifies the test activities to be performed along with the schedule to accomplish them. A tester needs to follow the phases of STLC to ensure timely completion of testing process.
...
Difference between High Level and Low Level Testing & their advantages
Difference between High level testing and Low level testing:-
High Level Test Cases:- These test cases define the functionality of a software/product in a broader way without going into deep functionality. Like if we have to write high level t...
Storing data in Odoo
If you want to storing data in OpenERP(Odoo) follow the below mentioned step.
Step-1 first you have to difine the data model
Step-2 imported from __init__.py for loded the file.
Step-3 academy/models.py
Step-4 academy/__openerp...
Creating templates in Odoo
If you want to creating templates in OpenERP(Odoo) follow the below mentioned code in your .xml file.
<openerp>
<data>
<template id="index">
<title>Academy</title>
<t t-f...
Odoo in the browser
If you want to run Odoo in the browser follow the below mentioned commond in terminal:
./odoo.py --addons-path addons,my-modules
A demonstration module in Odoo
If you want to demonstration module in OpenERP(Odoo) follow the below mentioned step:
for creation of any module in Odoo you have to make five files,given below-
1-__init__.py // its indicate the import instructions for various Python ...
Creating a basic module in Odoo
If you want to creating a basic module in OpenERP(Odoo) follow the below mentioned step:
for creation of any module in Odoo you have to make four files,given below-
1-__init__.py // its indicate the import instructions for various Pyth...
What is a Template in Joomla?
Template is one of the type of Joomla Extensions. It represents your site look i.e., layout of your site. Templates are of two types: one is Front-end Templates and other is Back-end Templates.
Template Types
Front-end Templates:
Front-e...
Editing Layout and Media Reference Guide in Odoo
If you want to editing reference Guide for layout and media in OpenERP(Odoo) follow the below mentioned code in your .xml file:
To edit Media Reference Guide in Odoo-
<div class="media_iframe_video" data-src="[your url]" >
<div...
Keyboard shortcuts for all Web Browsers
In Computing language, a Keyboard is an electronic typewriter like device which has a specific arrangement of buttons or keys that are used to input data into a computer. In this modern era, every Web Developer o...
Inter letter spacing OR different color to words of text of UIButton , UILetter , UITextfield
Hi all,
if you want to give inter letter spacing to any kind of text of button , label , textfields etc then you can follow this code.
First make attributed string :-
NSMutableAttributedString * title = [[NSMutableAttributedString alloc]...
How to create category attribute ?
Magento provides a way to add product attribute from admin but sometime we need to add category attribute in our category settings. So here I am going to tell you the way we need to create category attribute programmatically.E.g. I am creating on...
How to find a module position on any given page in Joomla?
Joomla works on Positions. It basically divides the page into different parts that is known as positions. Module are assigned to those positions. To display the module positions you required to follow the following points:
Login to the backe...
How to remove blank spaces from Request using recursive in CakePHP
Removing the white spaces from a string is a easy task, but for doing this in whole of you website you need the recursive function in Cakephp
The 'array_walk_recursive()' will recursively get the request(GET/PUT) data and remove the white/blan...
How to Create an Amazon(AWS) EC2 Linux Instance
Traditional hostings days are gone. Now Amazon Web Services is providing a different type of hosting service in which you can create your own virtual server and configure it like a real server and install applications & packag...
A new session could not be created. (Original error: 'java -version' failed. Error: spawn ENOENT)
The first step to use Appium is to configure the system and the most common error that usually comes while configuring Appium is: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Orig...
Requirements for Traceability Matrix
Requirements for Traceability Matrix :-
Traceability Matrix can be determined using a kind of tools or equipment, in other words requirements management software, spreadsheets and databases, or yet with hyperlinks in a word processor or tables. ...
JavaScript String charAt() Method
JavaScript String charAt() Method
This method is used whenever we want to Return the first character of a string
for example:
var str = "PRANAV CHHABRA";
var v = str.charAt(0);
Result:
P
Now below is the full example to illustrate ch...
What are the different errors in PHP
There are basically 4 different type of errors in Php.
Parse Error It stops the execution of php script . Commonly caused due to syntax mistakes in codes
E.g. Unclosed single double quotes, missing parentheses or adding extra parentheses...
15 Important Linux Command for every User
Hello Guys,
I am working on my Linux Ubuntu 14.04 from a long time and I understood that Linux Command line interface(CLI) is very powerful tool but ignored by many user. And If you are a newbie to Linux than CLI interface may be a ghost to yo...
List of Joomla Versions
Joomla is a Content Management System which is widely used now a days. Joomla released various versions since September, 2005. List of versions are:
Versions
Joomla 1.0
It was released on September 22, 2005.
Joomla 1.5(LTS)
It ...
General idea how ATM Machine Works
This blog will help the readers to understand that how ATM machine dispatches the money. Lets have a look on the ATM code in PHP:
<?php
$amount = $_REQUEST['amount'];
$rupees = array(1000,500,100,50,20,10);
$count = array(0,0,0,0,0);
...
Different transformations in android using Seekbar.
Some of the basic 2-D Geometrical transformations which we can perform in android.
Translation:- Translation is the moving of object from one place to another.
Rotation:- If we wish to rotate an object in a certain angle/degree.
Scaling:...