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
What is Web API and how it is independent of System.Web
What is WebApi ?
The term API stands for Application Programming Interface.
ASP.NET Web API is a framework which uses HTTP services and that is consumed by various clients. In web Api we can return data on the client requests. As, if we...
How to Modifying a report in OpenERP-6.1 ?
Step-1 First we have to Modify existing reports which will then replace the originals in our OpenERP database,
Step-2 create new reports for the selected object.
select Report > Modify Existing Report . Choose the report Request for
Quo...
How to enable CORS (Cross-Origin Requests) in ASP.NET Web API
There are certain steps that need to be followed for enabling CORS in ASP.NET Web API :
Step 1: We Have to install the CORS Package, and to install it , open Nuget Package Manager console and type and run command Install-Package Microsoft...
How to Add the Bar codes in RML files in Openerp-7 and openerp-8(Odoo)?
Barcodes can be generated using the tag in RML files.
The following formats are supported
codabar
code11
code128 (default if no code specified)
standard39
standard93
i2of5
extended39
extended93
msi
fim
postnet
You can ch...
How to read or parse JSON in Android
There are some times during android application development when we need to interact with our server make a prominent exhibition of data inside our application. And server return the data in particular format. It is really important to know how ...
How to run java applet on ubuntu
There might be some problem to run java applet in ubuntu while the jdk is already installed in the system. so this problem is occurs when the java plugin is not installed in your browser. The solution of this problem is to installed ORACLE JDK ma...
What is web API and how it is independent of System.Web ?
What is web API:-
Microsoft released the ASP.NET MVC 4.0 in Feb 2012 and along with it, the ASP.NET Web API also released. Web API is an addition to the ASP.NET that provides a new, robust HTTP framework for creatin...
What is Authentication Technologies & types of Authentication Technologies?
Authentication is the technique by which a system check the identification of a end User who wants to access it. Since entrance or access control is normally based on the identification of the User who demand access to a resource, Authentication ...
Helpers
Helpers in rails framework are live example of modules of ruby. The methods which are defined in helpers are available to the templates(view) by default. These helpers are called template helpers. Some examples are 1)date_helper.rb has methods li...
SQL injection & It's Preventions
Generally all companies using some type of data base behind there applications. SQL (Structured Query Language) Injection can be used to penetrated the database. Now a days SQL injection is a most popular way to attack the web site. SQL is a comm...
Spring JAXB Integration
Spring JAXB Integration
JAXB stands for Java Architechture for XML Binding. JAXB is a popular api for the Java object mapping with the xml. With JAXB we can map a Java object to it's corresponding XML document.
It is also called an OXM (Objec...
Spring OXM Castor Example
Spring OXM Castor Example
Spring OXM using Castor : Spring has the feature of xml/object binding. To bind the Object/XML spring use different api. Castor XML mapping is a way to binding the Java object to XML document. It allows to transform ...
RecyclerView with Event Listener
RecyclerView is the more refine and flexible version of ListView. It is available in v7 supporting package. For using RecyclerView you need to import "android.support.v7.widget.RecyclerView" package.
In order to add RecyclerView into your appl...
Artificial Intelligence in web applications
Artificial intelligence is an area of computer science which deal with creation of machines or software , which have the mind like human , which can understand and can react on different situation and which can develop it self .
Artificial int...
Frequently used commands in Postgres database with psql command line tool
Connect to local server using psql command line tool with postgres user.
sudo -u postgres psql postgres
To set/change password of postgres user
\password
To check/list all databases
\list or \l
To see/list all tables in current...
How to activate the developer mode in OpenERP (Odoo) ?
Step-1 Go to browser
Step-2 Click on Administrator:
Step-3 Click on about OpenERP
Step-4 Click on activate the developer mode.
You can activate the developer mode in the About Box located under your username in the top right cor...
How to reset or clear all asp.net controls/fields on web page/form ?
Tweaking overall user experience in C#.net project, a very effective trick you use to clear or reset all the controls placed on the web form or control. While building a form intensive site, page or control comprises number of text boxes, drop do...
Sample Applicaiton Using OWIN/Katana
Sample Application using OWIN/Katana
OWIN stands for Open Web Interface for .Net. It is a interface between web application and web server. It is used to decouple server and application.
Steps to create simple application-:
1)Open Visu...
ASP.Net membership provider Implementation:
ASP.Net membership provider Implementation:
Before we start with, let us have a brief introduction about Asp.Net Membership:
Introduction:
ASP.NET membership provides an implicit way to validate and store user credentials and helps
t...
How to create recurring invoice in OpenERP-8(Odoo)?
Installation of Subscription Module in Open ERP
Step 1:- Install -> Subscription Module.
Step 2:- Go to Settings -Technical - Automation - Recurring Types -create record must be Invoice.
Step 3:- Go to Settings - Technical -Au...
Ajax Upload Files With the HTML5 FormData
If you are making a Ajax request to submit a form that include files then HTML5 FormData is the solution for that. You can also used jQuery form for upload files using Ajax request.
First, we need to add jQuery code to submit function which is...
Social Media Marketing- Ways to Promote your Business or Product
In my previous blog I had told you about the Benefits of Social Media Marketing, but is it enough to start Social Media Marketing. Developing a game or launching it to the market will never benefit you. Reach towards client is important and this ...
How to get network information using different commands
This tutorial will help user to learn how to trace hop by hop destination of end host , use commands nslookup,netstat,pathping command with different switches to get more information over network.
The tracert command is a Command Prompt com...
Accessing JNDI DataSource with JSTL from JSP
JSTL Sql tags with JNDI datasource : In this article we will show you how to create the JNDI datasource and access it using the JSTL tag library. We will use the tomcat DBCP Connection Pool defined in context.xml, to execute an SQL query and outp...
Creating PG Backup On Heroku
As we all know that creating a backup of your project is very crucial for any application , not just to recover your application in case of any unseen conditions but also for testing , creating a new server , migration etc.
Until recently her...
JSTL Sql <sql:setDataSource> Tag
JSTL Sql setDataSource Tag : Jstl provides the facility to deal with database. JSTL has the separate sql tag library which provides the tags to do database operations.
JSTL provides the <sql:setDataSource> tag which is used to create the ...
How to install Laravel5 using composer
This tutorial will help a user to install Laravel5 a framework in php with the help of a composer.
The basic requirements to install Laravel5 are as mentioned below:
PHP >= 5.4
Mcrypt PHP Extension
OpenSSL PHP Extension
Mbstring P...
How to check if the email is valid in iOS sdk
Hi readers,
Many apps require email validation in iOS. Here the function that can be used to check if email string is valid or not. It can be achieved by NSPredicate like following:
-(BOOL)isValidEmail:(NSString *)checkString
{
long n...
Liferay Adding actions to search container
Liferay Search Container is Liferay UI component which display data in Grid format and its also containing pagination. Search Container is just simple JSTL tag and its allow to use in JSP pages.
According our requirement we need to display res...
Stored Procedures and Functions in MySQL- Part 6
Loops
A lot many times, situation arises that a set of commands have to be repeatedly executed. This is achievable by using looping constructs. MySQL provides us three types of looping constructs :
Simple Loops
Repeat Loops
While L...
Issue while parsing string into DateTime:
Issue while parsing string into DateTime:
Before starting lets have a look on the following code block.
Example:
string temp = DateTime.Now.Date.ToString("dd/MM/yyyy"); //( let the value be "20/05/2015")
DateTime dt = Convert.ToDateT...
10 time saving tips every Linux user should know
If you are using bash, here are some time saving tips that can come handy in day to day tasks of every Linux user. This list is not exhaustive in any manner and is compiled from various Q&A sites and forums.
Use CTRL+R to search through...
Difference between Boundary Value Analysis and Equivalence Partitioning
Both Boundary Value Analysis and Equivalence Partitioning are test case design strategies used in Black box testing
1) Boundary Value Analysis:- It is a technique for Test Date selection. This technique is used to find errors at extreme points ...
ASP.NET Web API
Introduction
Today the web based application alone is not enough to reach the customers and real world as era of mobile devices has started.Customers have become very smart and they are using smartphones , tablets etc. devices in its daily lif...
Spring File Upload
Spring File Upload
Spring is a framework which provides almost all types of functionality. Spring has feature to stream based file upload. Spring file upload is very easy and maintainable. Spring provides the api to upload file streams. Like j...
Mongodb Error Could not connect to a primary node for replica
Could not connect to a primary node for replica set <Moped::Cluster nodes=[<Moped::Node resolved_address="127.0.0.1:27017">]
If you found above error then first check
sudo service mongodb status
If yes, then
run following co...
Change default editor for linux terminal
The default editor generally with linux terminal is vi editor and if you edit crontab etc. it by default opens up using vi editor.
To change this default behavior and set the editor to nano you can use command
export EDITOR=nano
after ...
How To Install JBoss On Ubuntu
How To Install JBoss On Ubuntu
This article will describe that how to install Jboss application server on Ubuntu. Jboss is a powerful open source java application server developed by RedHat.
To install Jboss we will follow the following ste...
Autoplay media files in UIWebView in IOS
When displaying media content using HTML5 in a web view on IOS the autoplay functionality does not work.
To enable to web view to autoplay the media (if coded in HTML to autoplay) you need to add a line of code in your IOS application as expla...
Bug Life Cycle and its States
Bug Life cycle and its states
Bug life cycle is a time period or cycle of a bug from its identification to closure. Its life starts when a bug is found and ends when it is closed after ensuring that it' will not reproduced. Bug life cycle is rel...
How to send mail in DNN 7
The first thing is to do SMTP server settings.
Steps of SMTP server settings are as follow:
1.Login in your portal with super user account
2.Go to host->host settings->Advanced Settings->SMTP Server Settings
3.Fill details : Fi...
Why OWIN
OWIN:
Open Web Interface for .Net. Before starting, keep in mind that owin is just a specification and not technology or framework. Owin in simple words is an standard interface between .Net web server and web application.
Basically OWIN is des...
Stored Procedures and Functions in MySQL- Part 5
Conditional Constructs - IF...ELSEIF..ELSE
This construct is used to evaluate some complex conditions and based on the results execute different set of statements.
The basic syntax is
IF <conditions> THEN
&n...
What should a designer must know before starting design for an android app ?
Hello friends
While designing my first android app in Photoshop, I preferred researching on web for the guidelines and standards, before starting the task.
In doing so, I found some terms like dpi, dp and sp which were very confusing to me ...
How to create RSS (Rich Site Summary) in Cakephp framework
This tutorial help us in creating RSS Feed in cakephp framework. For more on RSS Feed see the link below:
"http://findnerd.com/account#url=/list/publish/What-is-RSS-Rich-Site-Summary-/2965/"
Let use take a table users in the database.
...
Stored Procedures and Functions in MySQL- Part 4
Conditional Constructs - CASE
As in any programming constructs even in stored routines we might need to execute different commands based on what the variable or expression evaluates to. For the same we have CASE.... END CASE and IF...ELSEIF......
How to get current device location using of GPS
This android tutorial will help you to get current device location based on GPS service. GPS is a technology except device internet and WiFi that provide device current location. GPS location provider will give our location accurately.
To use of...
What is RSS (Rich Site Summary )
First let us understand what is RSS feed:
It is a format to share data, defined in the 1.0 version of XML. We can provide information in this format and get this information, and also get information in this format from various other sources. ...
Test Coverage and its advantages
What is test coverage and its advantages and disadvantages?
Test coverage or Code coverage is a very useful tool which is used to test untested parts of code. Test coverage is a measure which is used to describe the degree to which a source code...
Test scenarios for Database testing
Following are the possible test scenarios to test Database:-
1) Exact data is saved in database on successful page submission.
2) Only after successful completion of operation data is saved in database.
3) To test values for columns which doe...