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
Use of @Output in Angular2 with demo
Hello Readers,
In today's blog we will discuss about @Output decorator in Angular2 component.
Introduction: Angular2 is totally based on component and written in Typescript. In Angular1 we are using Controller, $scope but they not lon...
Singleton methods in rails
A regular instance method can be used by all the instances of that class and all of them will inherit their behavior from its class. But what if we want a particular instance to have a specific behavior that no other instance can have that is whe...
An Overview To The Position Property In CSS
Hello reader's ,In todays blog we will discuss about the position property used in CSS.
Basically the position property specifies which type of positioning method used for an element such as static, relative, absolute or fixed.
...
Event Emitters in node js
Event emitter in node js?
Event Emitter is a class that is in event module. Event emitter simply allows you to listen for "events" and assign actions to
run when those event occur. If you are familiar with front end development then...
How to change the default url of any block in magento?
Suppose, we are required to change the url of any block in magento, lets see how we can change the url.
To do so we have to create a module and then re-write the url of that block path to redirect to the module. lets create a module ...
How to make a chocolate ripple effect in illustrator?
To make a chocolate ripple effect by using 3d effect
Step 1: Open up a new document with any size. Take a line tool and draw the horizontal line on the canvas.
Step 2: Now goto the effect > Distort and Transform > Zigzag and click on ...
Url Rewrite Management in magento
Hello Readers,
In this blog i am going to explain "How to work with URL Rewrite management in Magento.
To accomplish this, follow the below steps:
1. Login to admin panel
2. Go to Catalog -> Rewrite Management
3. Click on...
How to check metadata of an audio file in iOS
Hi Readers,
The below code snippet will give you the meta data of an audio file. You need to add an audio file in Resource Folder. Once that is done use the below code. Let us also understand the code.
- (void)viewDidLoad {
...
Skeleton animation in Unity [Chapter 2]
Blog 2 :- Skeleton animation in Unity
Hey Guys, this blog is part of a series " Skeleton animation in Unity". In this i'll try to explain "how to play animations of spine objects in Unity".
For this make sure you hav...
Cloning and freezing objects
Suppose we have an object and that object is assigned to two different variables.
Now if we make any changes to one variable the other variable's will automatically change.
For example
Obj_1 = [1,2,3]
obj_2 = obj_1
obj_2 << 4...
Why do we need Generics in Object Oriented Programming explained through C# program?
using System;
using System.Collections;
namespace DrawbacksOfNonGeneric
{
public class Person {
//Properties
public string Name { get; set;}
public int Age { get; set;}
//Constructors
public Person(){}
public Person...
Understand JavaScript Closures
JavaScript Closure is the inner function that the access to its outer function's variables. Closure has 3-scopes:-
1: It has the access to it's enclosing function.
2: It has the access to the variables withing its own scope.
3: I...
How to bind ArrayList to DropdownList in Asp.Net?
To bind arraylist to dropdownlist,you have to add a namespace System. Collections which allow the collection of items in the application.
So in Code behind page 'aspx.cs' we have to add namespace,see the below reference:
using Sys...
puts vs p in rails
While writing the code, we often need to print a particular object and see the result. In rails we use puts and p for that.
Both will display the result but there is a difference between them.puts prints the result by applying to_s on an object ...
What is javascript engine?
There are several different implementations of javascript engines by far the most popular engine is Google's V8( Which is not only limited to client side but also with the server side with NodeJS).
But what is actually does? It's actua...
Multiple Ways To Create Equal Height Columns Using CSS
Hello reader's , Today in my blog I will discuss about multiple ways to create equal height columns using CSS.
As working over some website , I found an issue related to the equal height of columns .
To resolve this ...
Native storage of variables in cordova Android / iOS apps.
Hello Readers,
Cordova native storage plugin provides persistence storage in Cordova Android and iOS apps. We use this plugin because localStorage has non-persistent property in WebView of Android and iOS.
Basically this plugin is specially u...
Handling Dropdown Elements in Selenium Webdriver
In this blog, we discuss about handling the drop down elements in Selenium WebDriver.
Scenario to be automated:
Launch the web browser
Open your application (eg. "http://www.findnerd.com")
Click on 'Nerd Diges...
Get dropdownlist selected value/text using javascript in asp.net mvc
A dropdownlist is a list of items from which user can select one or multiple values at the same time.
Every dropdownlist contain two items one is a value and another is text. Here in the given example,there is a list of student names in which ...
Skeleton Animation in Unity
Blog 1 :- Skeleton animation in Unity
Hey Guys, this blog is part of a series "Skeleton Animation in Unity" . In this i'll try to explain "how to instantiate spine objects in Unity".
For this make sure you have "...
How to have transparent view controller in iOS?
At times we might need to have a transparent view controller i.e to have contents of presenting view controller visible along with the presented view controller. One of such cases can be when we have to show some popup with bl...
Maintaining Media Attachment in PIM-Web
Hello
Overview
Select the option in the context selection menu to access media attachments. All media attachments that have been created and exist in PIM Desktop are listed here in a hierarchical tree structure. The tran...
How override layout in controller in rails?
Lets suppose we a have requirement to customize our layout for different controllers, means different controller will have different layout and basically we want to change the style of different controllers views. To override a layout on the basi...
Serialize a form elements in jQuery
The serialize() method of jquery is useful when we have to send a query string to sever in ajax request.
It can encode all the form elements as a string by serializing the form values.
This method does not accept any arguments.
The .serialize(...
Create tap on image animation like facebook
In the below example I have created a animation ImageView. When user click the image , then image will appear on full screen, after this when user tab again on image it will be Zoomout like a facebook image tab.
Here In activity_main.xml ...
Merging An Array Using JavaScript
Hello reader's, Today in my blog I will discuss about the merging an array using JavaScript.
Basically the term “Merge” means to combine or join two array into a single array.
In JavaScript , for merging ...
Javascript function call in webview
Hello Readers,
In order to call javascript functions within webview,following code snippet may be used:
Specify path of the html file which contains the javascript function:
NSString *path;
NSBundle *bundle = [NSBundle mainBundle];
p...
How to show gif Images in iOS using FLAnimatedImageView
We can easily display jpg images in the UIImageView. We can also display .gif images which supports animations so there is need to add some extra elements to our project. So for implementing this first install this podFile to your project :-...
Operator operloading in C# via a custom Vector3 class
using System ;
class MyVector3{
public float X {get; set;}
public float Y {get; set;}
public float Z {get; set;}
public MyVector3(float x, float y, float z){
X = x ;
Y = y ;
Z = z ;
}
public static MyVector3 operato...
Pagination in rails using 'will_paginate' gem
Lets suppose we have articles listing page and we need to show the 10 article per page. So there are we can use 'will_paginate' gem to divide the articles in number of pages.
There are the following steps to integrate the 'will_pag...
multiple angular app in one page
While working in jsp with some parts common in few pages and ran into a problem to attach multiple apps to a single jsp page. After doing lot of search I found this one the best solution. Create a new app and take all other apps as an parameter. ...
Integrate bootstrap-sass in Rails
Bootstrap is an open-source web design framework from Twitter.
Bootstrap framework makes it easy for a developer to create a layout for an application. There are predefined CSS classes for creating common components such as widgets, elements, li...
jquery autocomplete in AngularJs not working on first click
Hi,
I was using jquery autocomplete functionality in angularJs using directive. Whenever I tried to load static data it was working fine, but when I loaded data from server side the first click was not working.
I was using code someth...
Saving objects into SharedPreferences
To Save Object values into SharedPreferences, you can use GSON library.
To save objects follow these steps:
Add Gson library dependency in your Gradle (App Level):
dependencies {
compile 'com.google.code....
How to use MaterialDesignIconicFont in iOS
With the help of MaterialDesignIconicFont we can use icons as texts and set them on label or title of buttons etc.
To include the font first download the attached Material-Design-Iconic-Font.ttf file at the bottom of this blog.
...
Object prototype in Javascript
Every javascript object has a prototype by default. And the prototypes is also an objects.
All objects in JavaScript inherit methods and properties from their prototype and we can override it, but we can not override an Object with a...
How to set favicon in Asp.net mvc
Whenever you open any website, you see an small icon or image on left side of the window tab, That small icon is called Favicon. If you have not noticed earlier,then just open any website and check.
For an example: open www.w3schools.com and s...
Creating objects in JavaScript...
Hey guys in this blog we are going to look at creating objects in JS, having properties and methods attached to them :
var car = new Object();//Creating a brand new object...
//Adding properties to the newly created object ...
car.Wheels =...
Create rake task to import csv file in rails
Lets suppose that a file named product.csv exists into db folder in our applications. To import this file we will create file import.rake in my_app/lib/tasks/.
The import.rake file looks like...
require 'csv'
desc "Import product from cs...
Import products from a CSV file in rails
Lets suppose we want to import a products CSV file in rails i.e. reading rows from CSV file and inserting its into a table. There are the following steps which we will use to import CSV file.
Create an application using command
rails new ...
How to blur UIView in iOS?
Hi Reader's,
This blog includes the code which is used to blur UIView in iOS in a very simple way. This code can be used according to the need of the user to blur the UIView. Code is given below which includes how to blur UIView ...
Analytics for Ruby
To integrate analytics into Rails application analytics-ruby gem can be used. By using this gem we can identify users and track their activity.
To install into gemfile:
gem 'analytics-ruby', :require => "segment"
After tha...
jQuery .bind() vs .delegate() vs .live() vs .on() Methods
Introduction
jQuery is a compressed and fast JavaScript library which can be used to facilitate event handling, AJAX interactions , HTML Document traversing and animated effects for the website development.
jQuery is a free open-source libr...
How to make a Plasma effect by using transparency mode in illustrator?
In this tutorial, we"ll learn to make Plasma effect.
Step 1: Firstly, we need to open a new document with any size and make sure your color mode is in RGB. Create a rectangle on the canvas.
Step 2: Now Select a rectangle and Fill with ...
Installation of ionic 2.
Hello Readers,
We can create apps with ionic2 very fast as ionic1. To create a ionic project first of all we need to install ionic2 beta version SDK via CLI.
$ npm install -g ionic@beta
Important : First of all we n...
LightBox
LightBox is a plug-in we use to create image gallery with the image overlay effects. Like you must have Google for some images once in your life and on clicking on a particular image, the size of the image zooms out which we define as an overlay ...
How to create Animation using XML code in android?
This tutorial will guide you to do animation in android. There are two ways to do animations in android , through XML code or java code. In this tutorial, we are using only first way through XML code. In this tutorial, we are defining animations ...
How to implement Picaso Image Loader Library in Android?
In this tutorial, we will know that how to implement Picasso Library to loading images in android.
This is an open source library to loading images in Android. It provides a functionality to fast processing and caching data into memory. ...
Money-Rails
While working on any e-commerce application,we need to deal with money and currency conversion.Money-Rails gem can be used for that. Money-Rails is a Ruby Library that integrates money gem with Rails.
Some of the advantages of using ...
How to change query string value on keyup of a text-box?
Let's suppose we have a situation where we want to change query string value of anchor tag href on text-box keyup event
Text-box keyup event is triggered when we release a key on the keyboard.
We are considering that our HTML page...