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

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

How to Find/Reveal password, which is hidden behind Asterisks?

This is the easy trick from where you can come to know any password which is hidden behind the Asterisks.

How to Print Drop down value on Console

Hi, This Video tutorial will help to print Drop down value on Console. If you are stuck and looking solution for this, watch the full video.

How to override existing Struts Action by Struts Action Hook?

We can modify Liferay JSP, services, properties by using Hooks. One of the main use of Hook is we can override existing struts actionand also we can add custom struts action, these type of Hook is called as Liferay Struts Action Hook. I'm taki...

Control Flow Functions in MySQL

Mysql have several contral flow functions. Such as 1) IF 2) CASE 3) IFNULL 4) NULLIF Control Flow functions returns value based on processed each row by query executed. Contral Flow function can be used on **SELECT, WHERE, GROUP BY** a...

How to read ActionRequest parameters?

If you have defined an input field as below: <aui:input type="text" name="emailId" value="<%= emailId %>" /> then, you can read the value of emailId parameter in action method by the following ways: 1- HttpServletReques...

How to extract HttpServletRequest object from Portlet RenderRequest object?

Sometimes when we pass data from action method to a JSP and from JSP to a portlet's render phase then we need to extract HttpServletRequest object from Portlet RenderRequest object to get the parameter values. By writing the below lines you ca...

How to set Camera view aspect ratio in ios

Some times we face problem with Camera view aspect ratio in ios. Solution to this problem is here.. Set its aspect ratio property to AVLayerVideoGravityResizeAspectFill. It actually preserve aspect ratio; fill layer bounds. AVLayerVideoGr...

UIImage Cropping in Objc

Some times we click picture from ios camera but it does not return us the same image as appears inside the camera frame. Use below function to get an image of exact size which was visible through camera. Follow these Steps:- Step 1. First o...

Change color of an UIImage in ios

You can pass array of colors in this function in order to change any color of an UIImage. Just pass UIColor and UIImage to this function. +(UIImage *)changeColorTo:(NSMutableArray*) array Transparent: (UIImage *)image { CGImageRef rawIma...

Change UIIMage background color in iOS

Here is a function which returns an image with different background of you choice. - (UIImage* )setBackgroundImageByColor:(UIColor *)backgroundColor withFrame:(CGRect )rect{ // tcv - temporary colored view UIView *tcv = [[UIView alloc] ini...

Make UIImage White Background Transparent in iOS

If you came across to a requirement where you want to make UIImage Background Transparent then use below method to achieve it. +(UIImage *)changeWhiteColorTransparent: (UIImage *)image{ CGImageRef rawImageRef=image.CGImage; const CGFloat c...

Download mongoDB data as csv file

Want to export MongoDB collection data to a csv file use mongoexport utility that produces data in JSON or CSV format. Use the following command to export data: mongoexport --host <hostName> --db <databaseName> --collection <...

CSS4 selectors

HI all, As we all knows CSS33 describes the look and formatting of a document written in a markup language very well but now the time is coming for CSS4. Because it is still in WORKING DRAFT in W3C so all selector is not compatible with all...

int.Parse(), Convert.ToInt32() and int.TryParse()

I have seen three type of methods that are available in .NET to convert integer from string. Personally I feel, we can use int.TryParse(string s, out int). The main difference between int.Parse(), Convert.ToInt32() and int.TryParse() int.Pars...

How to append/add set of input field in a form with just once click?

I designed my form with writing this script below. In this script showing $(wrapper).append() will trigger the action of adding the input boxes or any thing that you put inside it. For ex I used name, email and phone input text boxes. All you ju...

PHP filters to Sanitize and Validate data

Hello Readers , Today we will going to understand the concept of PHP filters to Sanitize and Validate data. PHP filters are used to validate and sanitize external input. Validating data = Determine if the data is in proper form. Sanit...

PHP sr. developer

Experiencia mnima de 3 aos programando con frameworks PHP MVC Experiencia en desarrollos utilizando web services REST Conocimientos en diseo y desarrollo de bases de datos relacionales (PosgreSQL, Oracle) Experiencia mnima trabajando co...

Select multiple elements with same ID using JQuery

ID's in HTML are generally used as unique identifiers for the elements present in the DOM but it is not a compulsion to have only one element with a unique ID, which means you can have multiple elements with the same ID. JQuery selector $("#id...

How to reorder product tabs

If you want to reorder product tabs, you can do this according to you wish as you want, just add the below code to your function.php. <?php add_filter( 'woocommerce_product_tabs', 'FindNerd_woo_reorder_tabs', 90 ); function FindNerd_woo_r...

How to use feeds module in drupal to import feeds from other websites?

I want to import blogs and articles from other sites into my drupal website. I also want to import youtube videos in different content type.

Mailchimp, third party newsletter in Drupal

MailChimp is basically a web-based email marketing service. It helps you design email newsletters, share them on social networks, integrate with services you already use, and track your results. Mailchimp module in Drupal, provides APIs to intera...

C++ Interview Questions and Answers Part 1

In this tutorial, We are providing you C++ questions and answers. The content here will help all the Freshers as well as experienced people to get through with their interviews for software industry on campus or off campus. For any person who wan...
1 252 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: