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

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

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

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

How to apply style to a cakephp debug console

We have cakephp debug on or off option in core.php file, if debug is on then all errors and query will show at the bottom of the page. we can give it some different style or UI so that it will be more readable. we can apply css like below code ...

Layout for tablets in Android

To target your some designs to other devices like tablets, there are solution for typical screen width: For every case, your UI might not look perfect specially for the case of tablet, so you need to adjust your layouts/designs. Then you have ...

How to include .so files in Android Studio project

From here you can learn to include or integrate .so files into your code. Files that contain the .so file extension are most commonly used for shared library files. Programs written in the C and C++ language load a shared library when they are la...

Flipping of the content and image on hover using CSS3

If a user want to flip his content or image on mouse hover using css3. He can use the code below. In below example, we have two sided view. HTML : <div id="container"> <div id="card" class="shadow"> <di...

How to remove a HTML element using Jquery

Hello reader's, Below is the example to Remove the HTML element using Jquery If you having trouble with such issues, then use the below code. Here is the HTML <p>Write your text here.</p> <p>Write your text here.<...

How to calculate distance between two location by PHP Code

If you would like to calculate air distance between two location without any API or mysql query. You can use below code to get distance between two location. $distance_one_latitude = 30.364267; $distance_two_latitude = 30.324860; $distance_o...

How to Get height width or element using Jquery

Hello reader's, Below is the example for Getting height width or element using Jquery If you having trouble with such issues, then use the below code to resolve such issues. Here is the HTML <button id="dummy-height">Get div Heigh...

Using database session handling in Code PHP

PHP is one of the scripting language. In which session handling is one of the key thing mostly using in web application. Suppose you build a website and allow to login everyone in website, You need to track user every step until they log out o...

Add logo in theme customize option in wordpress

Hello reader's today we discuss about "Add logo in theme customize option" in wordpress. Open your function.php and paste the below code :- /** * Add logo in theme customize option */ add_action( 'customize_register', 'themename_customiz...

How to get distance by mysql query

If you would like to get distance between two places with mysql query. You can use below query to find air distance between two places. Example :: Suppose you want to get air distance between all employee's home and office location. To run th...

How to send bulk emails in Drupal

Drupal has hook_mail function to send emails. This function is capable of sending email to a single user. If we need to send an email to multiple user then we can write a function and call this function within foreach loop. This should be a simp...

Mono : open source framework for .net

Mono Mono is an open source development platform which is based on .net framework. It provides base to developers to build a cross platform application which results in improving developer's productivity. components of Mono C# compiler...

Inheritance in PHP

Hello Readers , Here's the explanation of concept of Inheritance in PHP. What is inheritance? Inheritance is nothing but a design principle in oop. By implementing inheritance we can inherit(or get) all properties and methods of one cla...

PaginatorHelper in CakePHP

Cake php provide inbuilt pagination we can use this by using Paginator Helper. To use pagination first we need to use Paginator Component public $components = array('Paginator','Auth'); now add the below code in your controller here i am us...

PHP Copy Files

How to open and read PHP files have been discussed in previous blog: http://findnerd.com/list/view/How-to-open-and-read-files-with-PHP/3157/ Now,we will discuss about copying a php file. In php,we can Copy files from source to destination...

Typography for Responsive Design or RWD Typography

Typography for Responsive Design or RWD Typography Hello Friends, As we all know that, Responsive Design is a very popular technique and most using concept in web design. A responsive design giving us a flexible layo...

How to Disable Comments Section on Wordpress Page

You need to follow below step to remove comment section in WP Page. 1) Make admin login on Wordpress. 2) You can view "Pages" menu on left panel. On mouse over you can view "All Pages" & "Add New" options. Please click at "All Pages". 3)...

How to Create Cross-Browser Custom Upload Button with Jquery

Hello Reader's In this article I will guide you to create Cross-Browser Custom Upload Button With JQuery If you facing any problem for upload button use this code. Here is the HTML <div class="Container"> <label>Upl...

Setup Facebook app invites of an iOS app

Hello reader's ! If you want to setup Facebook App Invites of an iOS app then follow these steps. Using Facebook graph API , make a request to get facebook app_access_token (app_access token is not login access_token) . I m using google ...

InterNationalization in CakePHP

Hello Readers , Today we will learn about the concept of " InterNationalization in CakePHP " . "InterNationalization" simply means if you are making an application and you wants to make that applications to reach a larger audience to cater...

How to touch UI from background or seperate thread ?

We know that Android UI or views can be touch from Main thread only , but if we want to update some UI from background or separate thread then we have to use one of the following way :- AsyncTask has 4 override methods that are onPreExecute(...

Caching in Apache

Caching is an important feature to improve the performance of Apache server. By creating the caching rules effectively, we can conserve a good amount of resources and the content access by the user is significantly fast. Apache offers several met...

How to hide/show Toolbar when list is scrolling?

This tutorial describes how to show effect when list is scrolling up and down. Hiding Toolbar and any other views when list is scrolling down and showing it again when its scrolling up. In this tutorial we are using RecyclerView and Tollbar to ...
1 230 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: