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

How to use Memcached with PHP

Hello Readers, In this post I want to explain the Memcached with PHP. Memcahced is open source distributed memory object caching system it helps you to speeding up the dynamic web applications by reducing database server load. The Memcach...

How to remove index.php file from URL in Joomla

Hello Readers, If you want to remove the index.php from the url (http://host/folder_name/index.php) and show in this form (http://host/folder_name/joomla/). Use the following steps to do so: 1>Log into your Joomla dashboard (adminis...

Prototypical inheritance in javascript

prototypical inheritance... We have used many different types of inhertance which are based on classes but today we are going to discuss the prototypical inheritance in javascript. It is based on objects, you can simply inherit one object to othe...

Agile Methodology

Agile Methodology Agile methodology is a method to deliver software at a very high speed with following benefits: 1) Less communication gap between the team members. 2) Requirement changes exists. 3) Requirements are more clear. 4) Custo...

Filters in Apache

Filters are used for preliminary processing of incoming data, and post-processing of outgoing data. Apache implements Filters only in Apache 2.0, higher by a filter chain which alters the traditional request processing phases. Although numerous f...

script for copy to clipboard

Copy to clipboard.. You can see this option in most of the blogs. You can simply click on the link and it will copy the text which set as target. Today we are going to discuss the implementation of this feature. We can see different ways to do th...

Innodb data base and Row Level Locking

MySQL provides a storage engine called InnoDB. It is a default storage engine for MySQL 5.5 and later. InnoDB supports ACID-compliant transaction features, along with foreign key support. InnoDB is a general-purpose storage engine that is used fo...

Underline hover effect using CSS

Hi all, In this, I am showing a simple hover underline effect using pseudo elements and just set transition at .3 second make width 100% on element hover. See the below code with output - CSS: a, a:visited { text-decoration: none; ...

How to make Cashiers in Point Of Sale in OpenERP(Odoo)?

If you want to make Cashiers in Point Of Sale in OpenERP(Odoo) follow the below mentioned steps:- Step-1 Go to Point Of sale module and Click it. Step-2 Go to Cashiers ->Cashiers Step-3 Go to Create Button and click it. ...

Circular reference exception while Serializing DataTable object in .Net

How to serialize DataTable object in .Net Hi, While working in a .Net project, I am facing an Exception while serializing DataTable object using JavaScriptSerializer. The Exception I am getting is "A circular reference was detected while...

How to find out Access controls List in OpenERP(Odoo)?

If you want to find out Access controls List in OpenERP(Odoo) follow the below mentioned steps:- Step-1 Go to Settings Menu and click it. Step-2 Go to Security button and Click it Step-3 Access controls List and click it. Ste...

How to create Generated Keyframes in Javascript

Hello friends, I am sharing a generated keyframe with you . In this code I have set an animation on a DOM element . I have used insertRule for dynamically adding CSS and <style> tags for making it easier to remove the animation once the...

Phonegap / Cordova selecting multiple photos

Cordova camera plugin allow user to select one picture at a time. However, we can show all pictures selected by gallery or captured by camera one by one by following code: view file: <div ng-controller=MultipleSelEx> <div class=...

Using Model Hints in Liferay

Liferay Service Builder provides users a way to customize input fields and model entities by specifying related information as model hints in a single file called portlet-model-hints.xml in projects docroot/WEB-INF/src/META-INF folder. But we nee...

Hot And Cold Backups in MySql

While taking backup our goal is to keep the application, database system, and web site, in running condition while we are taking the backup. Database backup technique can be classified mainly into two categories: - Hot Backup - Cold ...

Injecting Property Object in Spring

Here the below code will show you how to inject the Properties in Spring using the spring.xml file. By using that we will inject the Properties Class object in spring. Customer.java package com.evon; import java.util.Properties; public...

Injecting Set in Spring

Here the below code will show you how to inject the Set in Spring using the spring.xml file. By using that we will inject the Set object in spring. Person.java package com.evon; public class Person { String name; String addr...

Injecting Map in Spring

Here the below code will show you how to inject the Map in Spring using the spring.xml file. By using that we will inject the Map object in spring. - Person.java package com.evon; public class Person { String name; String add...

Debugging techniques for PHP programmers

Error messages area unit your 1st line of defense as a developer. you do not need to be developing code in PHP on a server that's not organized to show error messages. However, confine mind that once your code is debugged and prepared to travel ...

Injecting List Bean in Spring

Here the below code will show you how to inject the List in Spring using the spring.xml file. By using that we will inject the list object in spring. Person.java package com.evon; public class Person { String name; String ad...

eliminate php5 Strict standards errors

Hello readers! If you have recently upgraded you PHP from PHP 5.3 to PHP 5.4 . Then it might be possible that your script is displaying a lot of error messages. If you want to hide these error you just need to change in your cakephp setup Th...

How to test Push Notifications manually in any mobile application?

Push Notification are the messages or information that are sent to users who have opted-in to receive them. For this, end user must opt-in to receive the alerts. 'Notification' means providing information. The use of push notifications in mobile ...

Inline Function in C++

Inline Function:- The Inline function are those that can be expand at the time of compilation. inline function is a combination of macro & function. Either at the time of declaration or definition of function place the keyword inline before ...

How to customize Keyboard shortcuts in Visual Studio

"Find and Customize Keyboard shortcuts in Visual Studio" As the use of shortcuts while development saves alot of time. In this article we will see how we can identify and customize the keyboard shortcuts in Visual Studio. Getting Started...

How to Sign PhoneGap Apps?

Hi All, Today we will discuss in this Blog how we can Sign PhoneGap Apps. First of all we need to create a new project cordova create practiceProject com.example.practiceProject demoProject cd practiceProject Now mak...

Search location by using place on google map

Here below is the code for searching places by using place name. I use api provides by google also know as google place api. "http://maps.googleapis.com/maps/api/geocode/json?address="+CITY_NAME+"&sensor=true"; In response of it We g...

Indexes in mysql: Types and How to create indexes

Database index help in speeding up the retrieval of data from tables. When we query data from a table the following process is followed: -First MySQL checks if the indexes exist -Indexes are used by MySql to select relevant rows of the ta...

Difference between closest() and parents() function in JQuery

Hello all, Working with JQuery, many times we tries to search a particular parent element which may be a specific HTML tag (like div, para any other tag), and to do this, JQuery comes with some built-in function which allows us to find the par...

PhoneGap-How to handle Push notification when application is resumed?

Hello friends, As we have seen, cordova push plugin only provides access to notification action when we click on notification from status bar, but if we want to perform that action without clicking on notification we have to add some extra code....

How to Create Real Time Changing Clock

With the help of javascript we can create changing clock time function. In the example given below I am using setTimeout function (changed other value) when clock refresh it will show the exact time once in every seconds. <html> <hea...

RECOVERY TESTING

RECOVERY TESTING It is the process of testing the application to check how well it recovers from crashes or disasters. The steps involved in Recovery Testing are: Introduce defect and crash the application Somebody will guide us as ho...

How to create department in Human Resources module openerp

To create department in Human Resources module openerp follow these step given below:- Step1- Install Human Resources module in openerp Step2- create department in Human Resources module in openerp and then go to Configuration -> Department...

How to know free space in sdcard android

I have written code to know free space in sdcard Here I use StatFs class to do this. I just multiple available blocks which I got from getAvailableBlocks() and block size from getBlockSize(). StatFs st = new StatFs(Environment.getExter...

How to make alerts in Lunch module in OpenERP(Odoo)?

If you want to make alerts in Lunch module in OpenERP (Odoo) follow the below mentioned steps:- Step-1 Install the lunch module. Step-2 Go to Lunch menu and Click it. Step-3 Now go to: Lunch ->Alerts->Create->Schedule Date ->...

JSONP concept

JSONP stands for JSON with padding. All the browsers follow the same origin policy. You can not send XMLHttpRequest to other domain. To prevent this security, we need to use the JSONP in ajax request. When we request a ajax call to the remote ser...

Save files from a sdcard folder to another place

Here below I have written code for copy file from sdcard and paste it to another place. I do this by using InputStream and OutputStream classes. Your target file should exist before doing this task. // your sdcard String sdCardStr...

Simple loader using pure CSS

Hi all, Below is an example of pure css loader. Using css animate I just rotate the div and change the border radius. Check the code for details. CSS : div { height: 20px; width: 20px; background-color: transpa...

Google Maps JS API v3 - Simple Multiple Marker Example

You can simply use below code to show the multiple markers on google map. var arr = new Array(); function initialize() { var i; var Locations = [ { lat:48....

Payment page in my app

Hi I am designing an android page which consists of payment gateway. I would like to implement payment in 2 ways.. Either by manually enter the card details or just scan the card with the help Of camera.. How would I do this if I scan ca...

How to Create photo gallery in wordpress

Wordpress.. WordPress is most powerful CMS for blogging. If you have experience in blogging then you should know that images and videos are most important in blogs. With the help of image gallery or video, we can make the blog more interesting f...

make site Multilingual in wordpress

You want to build Multilingual website in wordpress but wordpress does not support that functionality. Don't worry... Wordpress provides different plugins to convert your website in Multilingual. Basically you can make your website Multilingua...

Get the device which is used by the user

Sometimes we have to write down the different scripts for different devices. Now a days most used devices are mobiles/tablets. If you want to get the device type which user is using then you need to simply add this script in your code and call th...

Start Appium server from the code

When we are automating the mobile application and set cron jobs at different time intervals then we do not start and stop the appium server manually. We should have some code that will run before our testcases ie they should be executed in the be...

Software Testing Methods

What is Testing? A process of finding or identifying defects in software is called software testing. It verify the functionality (behavior) of the application(software) against requirements specification. It is also a process of execution of t...

What is Nullable Type in C#

The Nullable Types in C# language: The nullable data types were included to value data types with C# language in the year 2005. This feature allows us to assign the null value to a value-type variables. You need this functionality with databa...

Common Conventions for Writing Code in C#

Except from the rules which C# compiler enforces, there are common conventions for writing code in appropriate way. If we use these conventions, it will make our program consistent and easy to read for others. Although for compiler...

Delegates in ASP.NET C#

Hello all, In C#, we use delegates, which are nothing but the type safe function pointer which means that a delegate points to a function and whenever we invoke the delegate, it will call the function for which it holds the reference. The s...

How to perform method hiding in ASP.NET C#

Hello all, To understand the concept of method hiding C# lets consider an example where we have class (User) that have some properties and methods. Ex. public class User { public string fisrtName { get; set; } public string last...

How to use Sub Total Function in MS Excel and Open Office Calc

Hi, In this session I am going to cover, How to use sub total feature in openoffice calc and Excel. Let's take an example- I have a data of Employees Name, month of joining and salary. I want to get Grand total and subtotal. Grand total w...

Different ways to pass data from controller to view in Asp .Net MVC

"ViewData vs ViewBag vs TempData vs Session" There are following four ways to pass data from controller to view in Asp .Net MVC:- ViewData ViewBag TempData Session Overview: Let us see them in more detail...
1 236 292
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: