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

Difference between SVG and Canvas

SVG An XML-based image format is the Scalable Vector Graphics (SVG) that is used to define 2D vector based graphics for the Web. We can scale up or down a vector image to any extent without losing the image quality. SVG is Object Model-b...

Water Reflection to Image Android

This blog is about how to create water reflection image. 1. Create android Project. 2. Activity layout file is look like :- <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/...

Extracting album art/album cover image from a mp3 file using getID3 in Cake PHP?

In the previous blog Extracting metadata info from a mp3 file using getID3 in Cake PHP? i explained how to extract information regarding a mp3 file using getID3. In this blog i will explain how to extract the image (if its there) inside a mp3 fil...

contenteditable Attribute in Html5

contenteditable Attribute: ContentEditable attribute provides the user to edit the content of html element. If the attribute is present and its value is true user can easily edit content of an html element and if value is false user cannot edi...

FlexSlider

FlexSlider is a most popular jQuery responsive slider plugin for image slider. It provides both designers and developers a fast runnable image slider.   Some important features:   It is supported in all major browsers. ...

JavaScript Closures

In Javascript, we have two type of variables Local variable Global variable A local variable can only be used within the function where its is defined whereas a global variable can be used by all the script within the page. What if w...

How to Upload Large Files in PHP?

Hi Reader's, Welcome to FindNerd,today we are going to discuss How to Upload Large Files in PHP? Sometimes in a PHP web application. we need to upload a large file. So to manage large file upload in PHP web application we need to configur...

CSS3 Transforms

Transform means to change the complete appearance of an element, mainly to improve it's visual. CSS3 came up with the new properties to change shape, size and position of an element. These all new changes are made possible by single transf...

Difference between array_merge(), array_merge_recursive() and array_combine() functions in php

array_merge(): This function is used to join the one or more array into single array. Syntax: array_merge($array1, $array2, $array3...);   Its required to pass at least one array to  array_merge(). <?php $array1 = arra...

Filtering methods in jquery

In jQuery there are three most essential filtering techniques used these are first(), last() and eq(), which permit you to choose a particular element in respect of its position when there are more than one element or have group of elements....

FlexBox layout in android

 In the below example I have describes "how to use FlexBox layout". FlexboxLayout extends the ViewGroup like relative layout and linear layout. You can add different attributes to the flexlayout like flexDirection, flexWrap, justif...

What are phrase tags?

Phrase tags are utilized to construct the content much richer than they appear in like manner. There are numerous phrase tags for arranging the content we require. There are some circumstance where you might want to highlight some word, include q...

How to create / retrieve / modify / delete a cookie

We use cookie to identify the identity of a user and make sure that the user is an authentic user when user traverses through different pages of an application or a website. Basically a cookie is a file in text format that is embedded by the serv...

Crash on camera open in iOS 10

Hi, If you app getting crash on opening camera in iOS 10, then you have to do some changes in your info.plist. To avoid the crash we need to add the suggested key to ‘Info.plist’ (Xcode 8 already contains the full list of possib...

Overriding Equality of objects

Overriding Equality of objects In ruby the equality of the objects depend upon several things, which are a) == b) hash c) eql? In normal cases whenever you run == method for string numbers etc it works perfectly fine, but if there ar...

Set Cookies in PHP

Hi Reader's, Welcome to FindNerd, today we are going to discuss to set Cookies in PHP. A cookie is a client side server which identifies the users on the user's computer. A cookie is a small file that the server embeds on the user'...

Method Overloading and Overriding In Ruby

Method Overloading Method overloading can be achieved by declaring two methods with the same name and different signatures. These different signatures can be either   1.Arguments with different data types, eg: method(int a, int b) vs m...

Sum without highest and lowest number in an array

Description: Sum all the numbers of the array except the highest and the lowest element. Example: { 6, 2, 1, 8, 10 } => 16 If array is empty or null, or if only 1 Element exists, return 0.   Test Cases: Test.describe("...

Difference between Visibility, Opacity and Display

Here are some CSS properties, which looks similar. It's hard to find the difference between them. Like:- Visibility:hidden;          Opacity:0;          ...

How to get the debug or Signed SHA1 fingerprint for Android Application in Ubuntu

SHA-1 fingerprint is used for creating a digital certificate, either debug certificate and released certificate. Debug certificate is when application is in testing phase and released when ready to be in a live mode. Fingerprint is a hexadecimal ...

Restart Node.js server

While working on any node js application we have to restart node server every time we make any changes to the code. For a developer, it affects the productivity and is also irritating for some of us. To solve this problem we have a module in nod...

Create wordpress Plugin to Get all Category in Dropdown: Part 2

Hello readers, In my previous blog, we talked about "How to Get All Category in Dropdown". Means that it will help you to get all category in dropdown and if you select any category from dropdown you get all related post   ...

Ruby Blocks

As we all know,Ruby Blocks and Ruby Methods work in tandem as clearly elucidated by the below example: def demo_method yield "hello" end demo_method { |block_argument| "#{block_argument}!! our first ruby blog"}   here, the ...

Difference between HTML and XHTML

HTML and XHTML are both languages in which web pages are designed. HTML- HTML stands for Hypertext markup language. It is the main markup language which is used to design web pages. HTML elements are not case sensitive. e.g of HTML- ...

fs module in nodejs

Welcome to FindNerd, Today we are going to discuss an example of nodejs modules. We have already discussed the nodejs in-built modules in our previous blog. click here  to check the blog. We are going to take an example of fs module in no...

How to Print Floyd's Triangle in php ?

Hello readers, today I have taken example of Floyds triangle. Floyd's  triangle is a right-angled triangle of  array having natural numbers. The  natural numbers are printed in such a manner , that it will look like right angle...

How to Hire a Killer Team - Do's and Don'ts When Posting Jobs as a Hiring Manager

  Hiring managers is entrusted with the responsibility of filling a new position or a vacant position in the organization. They have a huge responsibility towards the organization as they are responsible for bringing in efficient and ...

Difference between bootstrap and foundation

In web designing world, we define  framework as a package made up of a  files structures and folders of systematic code that include HTML, CSS, JS etc. which is used for the development of websites, as a base to start building a site. W...

Highlighting important information with the help of jquery

Many time we want to show some information in our page to be highlighted, we want some important information to be display with different background color. we can acquire this by simply using jquery filter() method. In jquery filter method &nb...

Extracting metadata info from a mp3 file using getID3 in Cake PHP?

getID3 is an open source PHP library which can extract information from multimedia file like audio, video and images in various formats. For detailed information about the types of files please view this link: http://www.getid3.org/demo/ . ...

How to generate keyhash for Android App(Facebook integration)

If you need to integrate Facebook SDK in your android app you have to generate keyhash, to configure Facebook API console. Add this method to your utility class and call this method from onCreate() of any Activity. For digital data integrity and ...

Custom code to resize any image in magento

In magento if we are required to resize the image we can do it using the resize() function of magento, but sometimes it wont work then we need to apply some custom codes.   Lets see how can we do it :   In case if we are wor...

Populate greater price in second dropdown list for To Price than selected in From Price dropdownlist

The below code snippet depicts can populate “To Price” in second dropdownlist all greater than “From Price” that we selected in the From Price dropdownlist. Let us create an HTML file, say selectamount.html Here we w...

Droppable in jQuery

The Droppable function can be used in JqueryUI to enable dropable functionality on a DOM element. In the example below using drop-able function we can drag an element and drop it to another container. Example code: <!doctype html> ...

How to create configurable product ?

Steps to describe how to create configurable product ?   1. In admin panel click on Catalog->Manage Products.   2. Click on Add Product button.   3. Select Attribute Set -> default and Product Type -> con...

spellcheck Attribute in Html

spellcheck Attribute: It is used to specify whether to check the spelling and grammar of the text in an editable html element. This attribute can be used with input elements, textarea and other editable html elements. Syntax: <ele...

What is CSS Gradients?

CSS  Gradients:- CSS3 gradients let you show smooth moves between two or more determined colors. CSS3 defines two types of gradients: Linear Gradients (goes down/up/left/right/diagonally) Radial Gradients (defined by their cent...

How to get data from XML using SimpleXML extension in CakePHP

SimpleXML is an extension of PHP that allows us to get XML data.SimpleXML provides a way of getting element's name, attributes and textual content.SimpleXML extension fetches the data from XML document in a form of data structure.It is easy a...

pg_search gem integration in rails application

If we are using PostgreSQL RDBMS in rails application and there are need to search functionality, pg_search gem is perfect for that. It has easy implementation and having rich methods for the search functionality. Note: pg_search gem supp...

attr_accessor and attr_accessible methods in Rails

As we know a class can have any number of objects and each object is different from one another. The thing that distinguish one object from another is the attributes they have. So in order to write and read these attributes we have some methods i...

Use of stream instead of for loop in java 8

We all know about the use of For loop and for each loop that is used to iterate all elements in list or collection but some time in case of n numbers of items loop traverse till nth item that is time consuming but after java 8 we have some strong...

Simple chat application in node.js

Today, I am going to show you, how to create a simple chat application in node js using a special model "socket.io". It simply transmits messages from one client to all others. For this, I am going to create two files:- 1: main.js...

How to implement autolayout programatically in iOS?

  Hi Reader’s, This blog includes the concept of implementing autolayout programatically. This can be done in two ways:- 1.NSLayoutConstraint Class 2.VisualFormat   Below is an example which includes a UITextField ...

How to get all accoutns registered in device ?

Sometimes it is required to get all the accounts registered in device like facebook , gmail, linkedin account as well as whatsapp account. Account Manager provides list of all centralized account of device. First of all we can have the inst...

How to protect CakePhp application against Sql injection in 2.x version?

Hi Reader's, Welcome to FindNerd, today we are going to discuss How to protect CakePhp application against SQL injection in 2.x version? Basically SQL injection is a technique which is used for attacking to data-driven in a web applicatio...

Few Important Hash Methods in Ruby

Hash: Hashes are way of storing data in key-value pair format. Key can be any ruby object ( i.e. string, numbers ). Here we will see some of mostly used methods for hashes. 1) Creating/Initializing a hash: Hash can be created i...

Discussion on in-build modules of Nodejs

Welcome to FindNerd. Today we are going to discuss in-build modules in nodejs. If you work in nodejs then you should be familiar with modules. There are many in-build modules available in core libraries of nodejs. You can also get the modules fro...

Populate greater dates in second dropdown list for End Year than selected in Start year dropdownlist

The below code snippet dipicts how we can populate “End Year” in second dropdownlist all greater than “Start Year” that we selected in the Start Year dropdownlist. Let us create an html file say selectyear.html Here ...

How to share files without using internet?

Hello guys, This tutorial will help you to guide that "to share files without using an internet". Through this tutorial, we can share any type of files between android devices. I am explaining this step by step.   Step1- I...

Introduction to SVG animation

SVG stands for  Scalable Vector Graphic. SVG is used to define vector-based graphics for the web in XML format. A SVG component is an exceptional sort of DOM component that emulates the language structure of a standard HTML component. SVG...
1 72 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: