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

Draw Line in HTML

Draw line in HTML Canvas : In this article i will show you how we can draw line in HTML canvas. To draw line in HTML we will use Canvas API, we will draw the line on canvas using the lineTo() method. Following is the simple example to draw line ...

Draw Rectangle in HTML Canvas

Draw Rectangle in web page: We can now draw the graphics in web pages. Html provides the Canvas API for drawing graphics. Html5 has the <canvas> tag to draw the graphics using JavaScript. Using <canvas> element we can draw rectangle, ...

Google Map integration in PHP to Calculate Latitude and Longitude

This code will calculate the latitude and longitude of the place in background on entering the place name. For integration of Google map to calculate Latitude and Longitude major script is : <script src="https://maps.googleapis.com/maps/...

How to fetch data from server using AngularJS

To fetch the data from remote server we have to make the ajax request to the server which will return the data in our desired format, and to do that in AngularJS we can use $http service which helps us to communicate with remote server. To imp...

Visibility Scope Of Variable And Functions

There are three type of visibility scope: Public Private Protected PUBLIC: Variable or function of public scope can be accessed throughout the program. PRIVATE : Variable or function of private scope can be accessed only with...

How can I make a redirect page using jQuery?

To redirect page using jQuery we can use the various methods such as In JQuery we can use location object which as multiple attribute such as host, hostname, href, origin, protocol etc, and we can set the href attribute to our custom URL, w...

Add prefix to urls in CakePHP

CakePHP has power to do a lot with conventions by using routes. Its additionally possible to utilize custom prefixes adjacent to your admin routes for extra flexibility. Prefix routing can be enabled from within the core configuration file by set...

How to make Numbered and bulleted list in HTML Editor with JavaScript

Hello all, Working with HTML Editor we wanted to give a functionality to user where he can select any element from the html editor and can convert it into Numbered and Bulleted list. We added this functionality by following these steps : - ...

How to validate dynamically genetrated form using javascript

If you want to validate the dynamically generated form using javascript: You can use this code : HTML : <div id="example"> <form id="newForm"> <input type="text" name="email" id="email" value="mail" /&g...

Formatting the date from JSON and working with it on client side

"Asp.net formatting a date from JSON and working with it on clinet side"     While dealing with JSON I got an issue that dates in the JSON are serialized as plain strings.     The solution which I go...

How to delete file in Java

Hello readers, To Delete a File in Java is not a big issue, you don't need to do any rocket science for this. So if you want to delete the file in java here below is the method. To delete the file, you just have to issue the File.delete(...

User Acceptance Testing

What is user acceptance testing:- It is the final step of testing before hand over of the application to the user. It is done by the end users or customers who will use the application. Its goal is to achieve confidence in the system. Before per...

CSS filters

Hi all, This is an experimental technology Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an expe...

Asp.Net Webforms vs ASP.Net MVC

Asp.Net MVC is currently used and much embraced architecture in software development. It offers a layered approach to development by it's default configuration, and facilitates unit testing...

Design Patterns In .net

Design Patterns:- Design Patterns provide generic, reusable designs that solve problems at the design level. A design pattern does not define code and is not specific to a given programming domain. Instead, it provides a proven, tested solutio...

Warning of Saving Changes in not permitted in SQL

Warning: "Saving Changes in not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that cant be re-created or enabled the option Prevent saving changes that r...

Liferay: How to configure MySQL in Liferay?

We can configure MySQL in Liferay very easily. The configuration for MySQL is done in the properties file named as "portal-ext.properties". You just need to follow the below steps: If portal-ext.properties is not available then you can m...

Liferay: Disabling Reset password screen after Registration

You can disable Reset password screen that comes on first login after Registration. Use the below steps to hide the Reset password screen: If portal-ext.properties is not available then you can manually create portal-ext.properties file into...

Difference between shift(), unshift() and push(),pop() methods

Writing a JavaScript code in correct approach can be fun instead of terrifying. In this tutorial we will see shift(), unshift() and push(), pop() are the methods of JavaScript that allows us to add remove elements.  Lets discuss all these m...

Convert JSON to Java Object

How to convert JSON to a Java object: In many application we use web services and those web services deals with the JSON object, so when those web services need to communicate with our web application we need to convert those JSON objects to Java...

How to use new fonts in iPhone SDK

Following are the steps to add new fonts which not available in iOS sdk. 1) Download the font file and add that file in resource folder 2) go to App- info.plist and add key "Fonts provided by application" and in value add the name in that fon...

Get Instant Solutions to PHP Programming Problems

Hi Guys, Do you have any PHP Programming Problems? Or Stuck in a PHP Language Issue? Just visit FindNerd Community Forum and get answers to all your PHP Language Queries on PHP Developer Forum. In this video blog, I am going to explain, how ...

optionally using iPhone OS 3.0 features in a 2.0 compatible app?

We can check if that specific method available in this version of sdk or not. For example there is method AVCaptureAutoFocusRangeRestriction of class AVCaptureDevice which is available in iOS 7 but not in iOS 6. So to check we can do the follo...

Get Instant Solutions to Java Programming Problems

Hi Geeks, I am feeling excited to create this video blog about the FindNerd Community Forum and its special features. In this video blog, you will learn how you can handle Java Programming Queries & Language Issues. There are many pro...

C++ Interview Questions and Answers Part 3

In the previous part, C++ Interview Questions and Answers Part 1 and Part 2, we have explained some basic questions of C++. This part is in continuation with the previous C++ Interview Questions and Answers tutorial. In this part of the tutorial ...

Is Go a solid choice over Ruby on Rails or Django?

GoLang referred as Go programming language developed at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. It is a statically-typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dy...

C++ Interview Questions and Answers Part 2

In the previous part C++ Interview Questions and Answers Part 1 I have explained some basic questions of C++.This part is in continuation with the previous C++ Interview Questions and Answers tutorial. In this part of the tutorial we are proceed...

Installation of PHP and Apache on Ubuntu-Tutorial 1

This video tutorial gives the introduction of what PHP does, why it is used and some basic advantages of PHP. This Video will also gives you an introduction to setting up the development environment for PHP and Apache on Ubuntu. Below are s...

Woocommerce Or Magento - What to use and when?

Magento and WooCommerce are currently the top two frameworks in use for e-commerce websites over the web. Both are backed by strong open-source communities developing plugins for various functio...

Solution for java.lang.UnsupportedClassVersionError bad major version at offset=6

If you are deploying application on Tomcat, JBOSS, or IBM and following error is displayed when you call the application: SEVERE: Error deploying web application archive MyApplication.war java.lang.UnsupportedClassVersionError: (com/siperian/...

Liferay: How to create Custom Action By Hook?

We can modify Liferay JSP, services, properties by using Hooks. One of the main use of Hook is we can implement our Custom Action. So what is Custom Action? When you see portal.properties in your liferay source code. You will see there...

How to Get Request URL and other details

Following JavaServlet will give you Request URL and other details. You can choose which method suits your coding: import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.Htt...

Get Instant Solutions to C Programming Problems

Hello Nerds, In this video blog, you will get to know how you can get rid of C Programming Problems & Language issues. I have seen many programmers who get stuck in C Programming queries during the Web Development Projects and wasted t...

How to open big text files in Windows

Text editors like Notepad++, Jujuedit, and TextPad generally have 2 GB limit. If you have big files to open like 5GB file, they will hang and you won't be able to view them. Hence if you have requirement to open text file (for example log file...

External Dependencies in Maven Project

Dear programmers, There may many chances when you try to add external dependencies in your Maven project. Let's learn this how we can add our own jars or external jars in a project with an example. There are many Maven plugins available, A...

Liferay: Hiding the dockbar

You can hide Dockbar from you site by creating Theme. Use the below steps to hide the dockbar: 1. Create Liferay Plugin Project of type Theme. 2. Copy and paste template folder from docroot/ to docroot/_diff/ folder. 3. Now comment the b...

How to use parallax scrolling?

HI all, Parallax scrolling is very popular now days in website making. it is not very difficult you just have to understand some basic method to use it. Below is an example which will shows you how it works. HTML:- <section class="...

Explain portlet.xml, liferay-portlet.xml and liferay-display.xml

When we create a new portlet in Liferay, the folder structure is created as below: /PORTLET-NAME/ build.xml /docroot/ /css/ /js/ /WEB-INF/ /src/ (not created by default) liferay-di...

How to give background color to superview only with alpha less than 1.0

Hi, In many cases we have to give a background color to a superview with alpha less than 1.0. If we give color from XIB/storyboard to a superview with alpha 0.4 then it assigns the alpha 0.4 to its subviews also. What if we need to give al...

How to create a custom error page

In Cakephp we have some default error pages but we can create our own error page. Here we will create a custom error page to show error if controller not found. If controller not found then we will show 404 error page. Below are few steps for cr...

Using multiple database connections in CakePHP model

Hello Readers, Till now we may develop our appication with single database . Is their any ways to integrate our application with multiple databases ? . Yes we have. There are methods to use multiple databases for development and for produc...

How to extract HttpServletRequest object from Portlet ActionRequest object?

When we submit a form or make an AJAX call we need to extract HttpServletRequest object from Portlet ActionRequest object to get the parameter values in action method. By writing the below lines you can easily extract HttpServletRequest object...

Creative navigation using css

Hi all, Here is an example of awesome navigation. mainly we use css transition to move the element with help of radio button. css:- <div class="wrap"> <input id="nav0" name="foo" type="radio" /><label for="nav0">...

How to use Filter in Angular JS

A filter is used to format the value of some expression when it is displayed to the user. It can be think as selecting the elements from an array in a particular format and returns a new array. It can be used by the following ways: In HTML ...

Five Things An Entrepreneur Should Learn From Kids & Implement

A child can teach an adult three things: to be happy for no reason, to always be busy with something, and to know how to demand with all his might that which he desires. - Paulo Coelho We, as adults, blissfully live under the illusion that ...

Selenium Webdriver Syntax for Selecting a Value using selectByIndex method

Method Name: selectByIndex Syntax: select.selectByIndex(Index); **Purpose: To Select the option based on the index given by the user. There is an index for each attribute called "values" The below is the sample html code using index E...

Ajax call using Javascript and JQuery

Ajax : It is s process of getting or reteriving the content without refreshing the whole page. We can do this using javascript and JQuery. There are different method for ajax call in javascript and jquery. Javascript : <script...

Difference between attr() and prop() in JQuery

Many of us uses JQuery.attr() and JQuery.prop() and get the same result, as there is a small difference between the two. Lets discuss it one by one. JQuery.attr() : It generates the value of an attribute for the first element in the set of m...

How to get Geolocation (Lattitude and Longitude) of a point in phonegap

If you want to track the location using phonegap App, you can simply checkout this steps. 1. After creating a project for example "test", you can add a plugin using terminal cordova plugin add org.apache.cordova.geolocation After inst...
1 229 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: