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
Restore Directly from a Snapshot
As explained on post how to archive a snapshot, Now to restore a backup without writing to a compressed gz file from created archive, use the following sequence of commands:
umount /dev/vg0/snap_db-01
lvcreate --size 1G --name mdb-new vg0
dd...
Restore a Snapshot
As explained on post how to archive a snapshot, Now to restore a snapshot from created archive, use the following sequence of commands:
lvcreate --size 1G --name mdb-new vg0
gzip -d -c snap_db-01.gz | dd of=/dev/vg0/mdb-new
mount /dev/vg0/md...
iPhone orientation doesn't work in iOS 6 using config file with Phonegap Build
Solution 1: By adding UISupportedInterfaceOrientations
platroms/ios/{ProjectName}/{ProjectName-info.plist
add these lines:
For Iphone:
<key>UISupportedInterfaceOrientations</key>
...
Archive a Snapshot in MongoDB
To archive a snapshot first you need to create a mongoDB snapshot, The same is discussed on post Creating a mongDB snapshot with LVM. Now mount the created snapshot and copy this to separated storage volume. Or you can create a block level copy o...
How to use WebSql to store data in Phongap App
Hello
Today I am going to discuss about the use of WebSql in Phonegap.
In Phonegap, if you want to store data locally on device, Web SQL can be used. Most of the sql queries can be performed in Web sql using method openDatabase that takes 4 ...
How to improve SQL database design and performance
In this era of software development technology, the main concern in development should be the best performance. As we already aware that database is the backbone of any software. So whilst designing the database we need to keep a few things in mi...
Creating a mongDB snapshot with LVM
Snapshot can be represented by creating pointers (equivalent to hard links ) between special snapshot volume and live data. The snapshot process uses a copy-on-write strategy. As a result the snapshot only stores modified data.
The primary pu...
Register a user using Parse.com
As we already know that Parse.com provides a schema-less database. It provides a complete backed solution for mobile applications.
In order to register a user with parse, we use ParseUser class. It is a specialized class that automatically hand...
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...