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
Jquery EventListener
EventListener in Jquery:
We use addEventListener() method to attach an event handler to an element in Jquery.With the help of this method we can add as many event handlers as we want to an element without
overwriting...
Laravel 5 Migration
Migrations play a very important role in any MVC Framework. They work as a version control for your database. By using Migrations we can update the database schema and stay up to date on the current schema. By using Migration we can easily manage...
How to open and read files with PHP
Before reading information from any file,we have to open the file for reading.
This Blog will help you to find the code to read-open-close the file(s) on server we have created with PHP.
Opening a file:fopen()
This function enables t...
jQuery Callback Functions
Callback function in Jquery:
Callback function is a function which is executed after the current function (i.e the currently running function) has been executed.
As the name signifies Callback f...
User Controls in Asp.Net
User Control in Asp.Net:
Overview:
User Controls are used inorder to avoid rework & reduce complexity of the application, It provides reusability of the code.
For example if we have to display the grid view at di...
Closure in Javascript
A closure is a technique which helps us to access the variable of other function even when they are out side the scope of the calling function. We can also say that it has access to the outer functions private variables.
Example : The pri...
Using IndexedDB in Phone Gap application
The IndexedDB is used to solve the problem of offline storage mechanisms that are supported by all the major browsers.It uses WebSQL implemented in browsers like Opera and Safari to expose IndexedDB API for web applications.
Websites are able to...
How to fetch server data into a div using jquery
Hi,
in this blog you will learn how the load function in jquery, Used to fetch data from any server to any web page using selectors.
<p><script>
$(document).ready(function(){
$("button").click(function(){
...
How to test a Web Based Application
Testing of a Web- Based application:-
A Web-based application is any computer program which is accessed over a network connection using HTTP, It is created in any web browser's supported language.Web-based applications also may be client-based...
Overview to Common Table Expressions(CTE) in SQL SERVER :
An Overview to Common Table Expressions(CTE) in SQL SERVER :
Common Table expressions or CTE helps in making complex sql statements easier to understand and maintainable.
It is very difficult to read or wri...
Entity Framework in ASP.NET
Entity Framework (EF) is an ORM framework. ORM stands for object-relational Mapping.
Now what is object-relational Mapping..
Object-Relational Mapping framework it self creates model classes depending on tables of database, and vise versa....
How to hide particular div with just one click?
Hi,
you want a condition in which the particular div, para or any other tag need to be disappear with just a single click see my code written in jquery as simplest.
<script>
$(document).ready(function(){
$("p").click(function()...
Creating a Generic List in .Net
Generic list are the list of object capable of storing any type, including Complex type such as class.
It can even store a List of Items as well.
Generic list is present in System.Collections.Generic Namespace in .Net frame work.
As every ...
Services in AngularJS
AngularJS within it self provides many services that we can use in our application, such as
$http,
$resource,
$route,
$window,
$location etc
These Services are nothing but javascript functions defined inside Angular JS and they...
Email Validation
Hello Reader's today we will discuss about "Email validation in Php".
The below code tells that how to check your email is valid or not. For this we use regular expression for validate email.
<?php
if(isset($_POST['submit']))
{
$email...
How to Hide TabPages dynamicaly
Hi..!
I am working on Windows application using c#, in which I am using a TabControl. What I have to do is to open a tabpage dynamicaly on user's choice i.e if the user clicks on the NewUser button then the "New User" tabpage should get open ...
.Net some good coding practices
Code practice for Readability
Avoid unnecessary regions in class :
A class is based on Single responsibility principle.
We provide regions in class to surround block of code. I could be single or multiple methods.
Regions makes it easie...
How to Build a Strong Relationship with Customers/Clients
People from management background must have studied about Customer Relationship Building. The basics of business management teaches us about the needs, demands, tastes and preferences of the clients. To develop any product some things need to be ...
Verification of credit card on Braintree while making payment
While integrating a payment gateway with our site we seldom come to a case where user already
entered credit card information is not able to get verified. Thus a particular amount is being lost by the site
owner. There are various resaon f...
Php server variables
Hello Readers,
Today we will discuss about "Php server variables".
$_SERVER is one of the tremendous world-wide specifics within PHP. It includes information regarding headers, server, web host in addition to and many others. Its content has...
AppendAllLines() function in .Net framework 3.5 or similar
Hi !
I was using System.IO.File.AppendAllLines() function in .Net Framework 4.0 but due to some reason I have to migrate my project into .Net Framework 3.5. But in .Net Framework 3.5 I am not able to use this function.
Following is the ...
How to Integrate Skype with Webpage ?
Hello Readers,
Here I am mentioning steps to integrate Skype with a webpage.
Hope it will help you somewhere.
To generate code for Skype buttons, use URL
http://www.skype.com/en/features/skype-buttons/create-skype-buttons/
You will get t...
Positive testing V/s Negative testing
Positive testing and Negative testing: The application tested from positive attitude than it become positive testing in another way the testing with negative attitude than it becomes negative testing.
Example of positive testing is given b...
Get history of an individual branch in GIT
If you want to get history of your git repository then you can use simply:
git log
This will return you all commits.
If you want to check changes made in a particular commit then you can use:
git show "SHA-1 key"
SHA-1 is you c...
How to get value after merging two columns from two different DataTables?
Hi..!
I am working on a Asp.Net application where I got stuck in a issue in which I have to merge two column values of different DataTable into another DataTable....
If anyone has any idea please help...! Thanks in advance
403 Error Unable to load the HTML Page
Hi,
I have a issue in trying to access a page on my website
When I try to open the html page it gives me an error 403
"You do not have permission to access/main/menu.html on this server."
I have also changed the permission of the folder....
URL rewriting using .htaccess
Hi,
I was trying to rewrite a URL in .htaccess file on particular range of id's from 40 to 900. But it is not working as it is supposed to be.
Actually I want to redirect page if there is any Id from 40 to 190. But is also redirecting ids lik...
Fonts sizes
Hello Readers
In this article I will guide you about the font size diffidence pixels, points, ems & %.
Here is a flow chart below in which I have mention the difference between pixels, points, ems & %. these font sizes are not actual.
...
Attribute selectors in CSS3
Attribute selectors target an elements based on its attribute. You can only define the element attribute, so that all the elements having that attribute will be targeted within the HTML.
There are 6 different types of attribute selectors:
...
What are the Collection and why we need it.
What is Collection ? It's just are enhancement to the arrays. before collection we have array where we perform operation or arranged data in some specified way. Like i want to arrange data for employee salary. So i can create a Floating number ar...
Upload multiple files using REST service with AngularJS and Spring MVC
Hi
I am using Spring MVC with Java Config and defined some rest-services. Spring at sever side and AngularJS at client side.
I want to upload more then one CSV files from AngularJS site using REST service. How will be done using Spring MVC ...
Use ORMLite to Optimize your sqlite database
Hey, are you working with large database having many columns and many queries . Is this working slow with sqlite?
Thanks to ORMLite that manages your database very efficiently as well as no need to manage lots of queries....
ORMLite supports ...
Randomization of the colors
Web color can be expressed in hexadecimal , or as RGB value. With the RGB value, each color is represented as a number between 0 and 255. The example demonstrates one technique to generate a color, using one function to randomly generate the numb...
How to Disable Wordpress Updates
If you would like to disable word-press updates please follow the below process:
Open your current selected Theme folder.
Open under this folder function.php and
put the below code at the end of this file
//To Disable Theme Updates # WP V...
I am unable to run Tomcat7 with upgraded Java 8
Hi
I am trying to upgrade my server(Ubuntu 14.10 + tomacat7) to Java8 from Java7 but I am getting the following error and not sure what is still referring to java-7.
$ sudo service tomcat7 start *
Starting Tomcat servlet engine tomc...
Indexed full text search in PHP-MySQL (PART - 2)
We already discussed Natural full text search in Indexed full text search in PHP-MySQL (PART - 1).
Lets look into Boolean Full Text Search.
In this we can use various operators to change the behavior of search. To specify a search to be b...
Tomcat application server hangs while Deploying web application directory
Hi
I have installed Tomcat application server(Apache Tomcat/7.0.61) in an Ubuntu server(Ubuntu 14.10).
When I am starting tomcat server it hangs at deployment stage and try to http://localhost:8080 on browser, its taking more time to load a...
Delete duplicate records from Excel and copy into other Excel file in java
Hi
I want to move duplicate record from one excel file to another excel file using java.
Thanks in advance.
How to set the PayPal In OpenERP-8 (Odoo)?
Step-1 Install Payment_Paypal Module.
Step-2 Settings-->Accounting-->Configuration -->Paypal account -->Show payment
Step-3 Settings-->Payments-->Payments Acquiers-->Select Paypal
Step-4 Pa...
Parcelable vs Serializable
If we want to send some data over the network or from one place to another place then we have to serialize it first using Serialization in java. Serialization is a process of Marshalling and Unmarshalling of data. Basically the conversion of Obje...
Encoding issues while parsing CSV file using Roo gem in rails
This is the most common and frustrating issue while parsing a csv file in rails i.e. the encoding issue. So in ruby on rails i found a library which basically detects the Character encoding using ICU (dependency package) and the name of the libra...
How to set session time out for fix time period in PHP
Hello Reader's,
If you want to set session time out for fix time period in PHP use the below code.
$page = $_SERVER['PHP_SELF'];
$sec = "1";
header("Refresh: $sec; url=$page");
session_start();
$now = time();
if(!isset($_SESS...
Optimize memory with MAT
We know that Garbage Collectoris a program that automatically removes unwanted data held temporarily in memory during processing. Android also have its own garbage collector but this is not always guarantee all the times so we can't ignore heap ...
Creating a Generic function to clone an object using extension method
This is an extension method that operates on different types of objects and creates its own copy.
This method is generic so it can clone different types of objects
public static T Clone<T>(this T source)
{
var dcs = new Da...
CSS Pseudo-elements and Pseudo-classes
Hello Friends,
As we already knows that, CSS reach to next level (CSS3.0). There are lots of elements in css which help us to build different style and UI behavior. Today, I am going to talk about Pseudo-elements and Pseudo-class...
Sorting the elements of array
In this tutorial we will learn how to sort the elements of an array on the basis of the keys or values as per
the requirement.We will discuss the following sorting functions with example:
sort()
rsort()
asort()
ksort()
arsort()
krsort...
How to create an osv_memory wizard systems in openerp-7 and openerp-8(Odoo)
To create an osv_memory wizard systems in openerp-7 and openerp-8(Odoo), follow the below steps.
In the action that opens the object, you can put </br>
<field name="target"/>
It means the object will open in a new...
Difference between Priority and Severity
Difference between Priority and Severity
Both Priority and severity are the attributes of a bug which are provided in the bug report. These attributes defines how fast a bug should be fixed.
Priority:-Priority means how fast a bug should be fi...
How to define States of object in openERP-7 & OpenERP-8(Odoo)?
First we have to define the States
So to define states follow the below code.
columns = {
state: fields.selection([
(new,New),
(assigned,Assigned...
Using Extension methods
Extension methods are used for adding methods to existing classes and types.
These are special kind of Static methods but they are called as if they were instance methods.
Extension methods are defined in static class and methods are also stat...