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

How to cancel all request from Alamofire

Hi Readers, If you are using Alamofire framework to implement API service classes and you need to cancel all the request which are fetching data from server. You can use following Swift code snippet: if #available(iOS 9.0, *) { ...

Skeleton Animation in Unity (Chapter3)

Blog 3 :- 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 manage animation speed of spine objects in Unity". For this make sure...

some useful string functions in php

A sequence of characters is called string.There are lots of string functions which are commonly used in php to manipulate the string. Some example given as below strlen() function: Its used find out the length of the string i.e. total number o...

Integrating Paypal In Rails Application (Part-1)

Paypal Integration in Rails As we know that these days many web applications have the functionality and requirements of money transactions. For example today we will take an example, of an e-commerce website or we can say an online shopping we...

Internationalization in Cakephp 2.7

Internationalization means to translate the data of your website to other languages. For internationalization you need to do few changes in your controller view and config file too. 1. First you need to add a file. You can call it global.ph...

Some useful built-in Functions in Ruby

1) at_exit { code to be executed} This method starts the execution of the code when the program exits. For Example: puts "Begining of execution" at_exit do puts "Inside at_exit" end puts "End of execution" Output: Begining of...

OnTrigger Event in unity

I am using OnTrigger event in my game, I have one player moving on a plane ,And i have mark 3 transform empty object on the plane, Start ,Centre and End. Now i have given tags to these 3 specific positions.  When my player passes through ...

Display WordPress posts by number of Views

Displaying the most viewed posts becomes very helpful for every user to have a look at trendy blog post in your WordPress. There are so many plugins that will help us easily to add most viewed/poipular posts in our WordPress website. But there...

How to make a view blur in iOS

If you want to make any UIView blur just like 'Notification' bar screen then here is a simple code to make it happen. This method will return a blur view and you can add that to your view as a sub view. -(UIVisualEffectView*)creat...

How to take screen shot of an iOS device

If you want to capture screen of an iOS device as you take the same from iPhone by pressing 'Power' button an 'Home' button then here is the code. It will take screen shot even if there is any transformation or transition running....

Two-way binding with NgModel in Angular2

Hello Readers, In Angular2 we can do the Two-way binding and user can see the application data values. To show the data we uses data binding. In this post we will see how to implement Two-way binding in Angular2 application.   Two-w...

Installation process of CakePHP 3.x

Welcome to FindNerd. We are going to discuss the installation process of CakePHP 3.x. You can simply download the CakePHP setup from github or you can download using composer. You need a web server and CakePHP setup to start the installation. Her...

Simple AngularJs Application Using Asp.Net MVC

In this blog,we will learn to create a simple angularjs application using Dotnet Framework.So Let's start to implement it step by step.   1.Open Visual Studio and Create a New MVC project.   2.Now create a MVC5 Empty...

popup in jquery

Today we learn how to open a full screen popup with animation effects : HTML Code : <!Doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compa...

How to setup Like buttons of the Social networking in magento?

The social networks in these days works as a powerful tool for the advertisment or say for promoting the store content. Like Facebook as it has like button and share button which allow users to share it on web. To add the Facebook "Like&...

Promises in node.js

Promises are the alternatives of callbacks for delivering the results of asnchronous computations. From the implementation point of view callbacks are easier to implement, promises need some efforts. A promise is used for asynchronous calculation...

How to filter array in Swift

Hi Readers, In iOS app many times we have to filter our results according to requirement. We can filter array of results same as following example. Let say we have an array(articleArray) like: ( { Read = 0; Save...

Using Line Renderer in Unity

Step 1. Create an empty GameObject with Line Renderer attached to it.   Step 2. Create an child  GameObject to above with BoxCollider attached to it.   Step 3. Attach the below script to mainCamera using UnityEngin...

Creating a backspace button on my calculator python tkinter GUI

Hello, i'm very new to python and  i would like to fix the "C" button so that it clears the last number on the display. For example 321 would become 32, i have tried a lot of things but i can't seem to get it to work, i wou...

How would I set the dict[value] to correspond to its dict[key] where the value itself is a dictionary?

How would I set the dict[value] to correspond to its dict[key]  where the value itself is a dictionary ?  I have a csv file where I am trying to count row[3] then connect it with row[0]      row[0]     &nb...

My listview not returning me to my DetailActivity.class when I'm clicking an item on listview

I am having trouble with my ListView. It always sends me back to my login page whenever I press an item on the list. It supposed to go to the details page.  Home Activity package com.example.kun.carcarkila; import android.content....

Installing Blackberry plug-in for Android Studio

With Blackberry plug-in you can package the android apps for blackberry devices i.e can convert .apk applications files to .bar files which are compatible with the blackberry phones. Also you can debug the applications using ADB proxy manager to...

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 :-...
1 89 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: