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

document.ready() v/s window.onload()

document.ready() v/s window.onload():     Most of us think that document.ready and window.onload is one of the same thing the only difference is that window.onload is used in javascript while we use document.ready in Jquery...

Solr schema unique key id

Solr schema.xml have a default unique key which is "id". This field has "string" type hence can not be used for sorting. We can not change its type as it is required as "string" because if you have enabled the QueryElevationComponent in solrconf...

Usability Testing Technique

Usability testing is a Black box testing technique and is reveals whether users feel convenient to use the application or Web site according to different parameters: The Flow Navigation Layout Speed Content S...

How to use Constant & Readonly

Constant and ReadOnly is the C# keyword and use to hold a value for a life of a Program. As the Name implies we can not change the value of Constant and ReadOnly type variable. But there is some difference between them. Constant : Constants...

How to make favicon for your website

Hi, If you owning a website you might have seen logo's and banners for it, but there's also a little icon on top on tabs showing your website Icon. That icon is called as Favicon. this is a icon format you can generate this easily with easy s...

Testing Web Service response using Junit in Android

Unit Testing plays an important role in software development process, basically this testing is done by Developers as they test smallest piece of codes and test whether it gives accurate output or not.Each unit can be tested separately and can be...

How to download Video from Youtube quickly

Hi, If you need a video from youtube to your computer you can easily download this Follow these steps: 1 Open the video in youtube. All you need to just replace the "https://www." characters with "ss". And webpage will open and you c...

How to show any video from Youtube to your website customized

Hi, You want to show any video from youtube to be shown in you website, read my following steps There are several other customization features that you can do with video ,i.e.(set Height or width, set youtube logo, Show suggested videos when t...

Solution for Exception Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log

If you face following exception while deploying your application in tomcat: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ApplicationName]] at org....

custom checkbox and radio button using pure css

Hi all, Here is an example of custom radio button and check box using pure css. I hope it will helps you. CSS :- **/*Radio button*/ .radio, .checkbox{display: inline-block;} .radio { padding:5px; margin-left:40px; } .radio input[ty...

Assigning New Magento Theme

To assign a new theme to magento follow these steps 1) Go to admin > System > Configuration 2) select 'Design' tab on the left menu bar under General Tab. 3) There you will see the Package and Themes section. 4) Enter the th...

How to reset password in ubuntu

This tutorial will help how to change the password in ubuntu.For changing the password follow the follow the steps bellow: Step 1: Select recovery mode the second boot option in your GNU GRUB console. Step 2: In Recovery Menu window select ...

Turning Magento cache off

Magento uses two level cache backend . Two level cache means it stores cache records in two backend. By default, Magento stores it's cache entries in the file system, magento cache files are present in var/cache. At the time of development it is ...

Customizing Magento Layouts with xml

In magento layouts are used to display contents of each page using layout.xml which we will found in app/design/frontend//default/layout. Each module have it's own layout file e.g. customer module has customer.xml and catalog module have catalog....

How to compare PHP Variables and Arrays with null or empty values

Sometimes it is a bit confusing for developer to select right compare statement to check variables or arrays as there are lots of compare functions like "isset()", "!" operator, "is_null()", "empty()" etc. So we can use a straight forward appr...

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

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

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

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

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

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

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...
1 232 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: