Welcome to FindNerd. We are going to discuss the general configuration in CakePHP 3.x. If you are working with conventions then there is no extra configuration required so we discuss the general ones.
You can check the configurations files in ...
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, *) {
...
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...
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...
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 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...
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...
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 ...
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...
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...
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....
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...
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...
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...
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...
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 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...
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...
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...
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 ?
I have a csv file where I am trying to count row[3] then connect it with row[0]
row[0] &nb...
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....
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...
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...
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...
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 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...
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 ...
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 ...
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...
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 {
...
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...
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...
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...
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...
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...
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 ...
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...
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 ...
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...
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...
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 ...
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 "...
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...
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...
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...
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(...
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 ...
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 ...
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...