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

Convert Hexacode to UIColor in objective c

To convert the hexacode to color we can create a category of UIColor and implement the following code - it will return the code corresponding to that hexacode Hexa code can be in following format 1- #RGB 2 -#ARGB 3- #RRGGBB 4- #AARRGG...

Hooks In Node.js

Hooks are used to add any functionality before or after our JavaScript methods like save, create etc. Using hooks we are able to write the code that can be run before or after save method. Suppose you have a User model, in that you have a pass...

Angular 2 Architecture

Angular 2 architecture consists of module , component , template , metadat , data binding , service , directive and dependency injection.Some of them are : Module Component Template Metadata Module: A module is a block of code...

Create Facebook App for Unity3D to Share, Invite & Login in Unity Game

Hello Readers !!   Today I am going to explain basics steps to create a Facebook App so that you can use Share, Invite and Login in Unity game.   First create a Facebook App. Once you will login on https://developers.fa...

before_save And after_destroy callbacks in Rails

Sometimes while developing applications, need arises that we have to get some operation performed either before or after the execution of some method. For these purposes rails provide us with some nice hooks or we can say callbacks which can b...

Constants in Joomla

Hello friends, Today we discuss about the Joomla Constants. Joomla includes some constants that are pre-defined. These constants are basically used to get the path of the various Joomla application. Some of Joomla Constants are as follows: ...

Tap in Ruby

In Ruby, we often sum up our code in the minimum number of lines. We have a method tap which helps us to perform number of operations, which are dependent on the intermediate results. for example. (1..10).tap{|x|}.to_a => [1, 2, 3, 4...

How to use CSS nth-child Pseudo-class

Hello Readers In this blog, I will guide you how to use nth-child pseudo-class(selector) in css file. Generally we have seen nth-child selector in excel sheets and tables. It is very useful for creating formatted excel-sheet in html table and...

Side Navigation

Hey Readers! Navigation bars are an important part of a webpage. There is absolutely no webpage I have seen that would not be having a navigation menu. Navbar guides the user to the desired page. Positioning and adjusting the navbar is a work ...

Dependency Injection in .Net

Hi Friends,        Today I will brief you about Dependency Injection. In this blog I will cover up the following topics :- About Dependency Injection Real Life Scenario of Dependency. Ben...

Correct way to add Link to Top Section in Magento

Hello Readers, In this blog, I’m going to show you the correct way to add an extra link to the existing top links section under Account. Existing top links are: My Cart, My Account, Checkout, My Wishtlist, Login etc These Top-links are m...

Animated File Folder Using CSS3

Hello Readers , today in my blog I have tried to create animated file folder with the help of CSS3 properties.   As we all do work on the computer and there is the need to manage our work in a simplified way , so for that we create fol...

Parse Json Object with dynamic keys using Gson

Gson is a java library which converts Json to Java object and vice versa. This blog is about how we can parse Json data to Java Object where keys are dynamic created. 1. Json Sample text is:- { "data": { "status_code": "101", "...

Captcha Implementation with Javascript

Hello!!  Captcha is stands for "Completely Automated Public Turing test to tell Computers and Humans Apart". It is a test for checking that the response is coming from human. People have tried ...

SystemJS and main.ts AngularJS 2

Hello everyone,This is the third tutorial of our ongoing series on AngularJS 2. Now, let's look at the main.ts file: import {bootstrap} from 'angular2/platform/browser'; import {AppComponent} from './app.component'; bootstrap(A...

Buoyancy:- Bouncy Factor In 2D Games

Hello Readers !!   Today we are going to discuss about the bouncy effect  in the games. You must have seen water in many 2D games. And once you throw any object on that water layer it shows bouncy effect which looks very nice. ...

components AngularJS 2

This is the second tutorial in continuation to our AngularJS 2 tutorial series.Incase if you have not read the first tutorial ,please follow this link: http://findnerd.com/account/#url=/list/view/Configuration-files-for-AngularJS-2-/24056/ ...

How to Set & Get Magento Registry?

Hello Readers, This tutorial will guide you about "How to Set & Retrieve Variable in magento registry ". Registry means creating a new global variable which is to be used later in any magento template file (.phtml). Magento registr...

How to Write & Submit a Guest Blog Post on FindNerd with SEO Focus

Posting highly informative posts consistently on blogging platforms give numerous benefits to the blogger’s community. Just like other blogging platforms, FindNerd also has one of its feature that allow users to post high quality blogs and ...

Use of lambda, Proc and Block in Ruby

Today we are going to see the basic differences between Block, Procs and Lambda.  All these three are commonly used as inputs to some iterators like each and map.   Blocks Blocks can't be stored ...

Filters In AngularJs

AngularJs provides a number of filters.Filters Are added to format data or to transform it. It is added to the expressions by using the pipe character '|' followed by a filter. Some of the AngularJs filters are: uppercase lower...

User default in swift

Hi , To use userDefault in swift we can use below code to 1- Save value in userDefaults for a key 2-  Fetch value for a key 3- Remove value for a key 4- Remove all value Here is the code -   //Save a value in NSU...

Stub nodemailer send method using sinon in mocha node.js

Stub transport is useful for testing the email before actually sending email. It does not actually send an email, it convert mail object to a single buffer and return it with a send mail callback. In the below code, I have stubbed send method ...

Memory Leak detection Program

Hello!! A Memory leak occurs when we did not manage the memory allocation in the programs, it is the type of resource leak. Memory leak reduces the performance because it reduces the memory of the system. It is common in those l...

Unity: Movie Texture

Hello, Readers !! Today we are going to discuss the video part in the Unity Games. What if you want to play and video in the Unity Game. How will you do this? For this only I am going to explain you about the Movie Textures.   Mo...

How to call static & custom block directly from phtml file ?

In magento, sometimes you need to call block in magento phtml to get the content of block. Here is an easy way to call static block & custom block in any template file. 1. Call Static block content in magento phtml file.   You...

Creating Slideable Grid Using JQuery

Hello readers , Today in my blog I have tried to create Slideable Grid with the help of jQuery .   As we all add columns to our web pages either for dividing the data as per the screen size so that the content would not get overlapped ...

Javascript Prototype

All the objects that are created in javascript has a prototype. In fact we can say that a prototype is an object itself. All javascript objects created inherits the properties and methods from their prototype. Primary use of prototype property is...

Location Services in Unity3D

Hello Guys,   Today I am going to share a very interesting topic with you. We all use this in our normal daily life, But at that time non of us try to know how we can do this. How I will check this. How I come to know about this. ...

How to make https to Dropbox Redirect URL

Hello Guys, As Dropbox was not allowing HTTP URL's for callback or redirect URL's (as http was only allowed for localhost). I added below redirect URI in dropbox App for local machine : http://localhost:8080/DropboxTest/oauth_c...

Merge AndroidManifest Files in Unity3D

Hello Readers !!   Today we are going to discuss a very interesting point regarding the Android Port. We can build simple games without any third party plugins. But if you are using third party plugins then every plugin comes with h...

Pusht to new ViewController with top to bottom animation

Hi, Normally when we push to a ViewController it show the animation from left to right. But we can change this to animation from to top to bottom. here is the code to push a view controller from top to bottom. - (void)pushFromTop:(U...

Configuration files for AngularJS 2

Hello Everyone. Here,We will be going through a series of tutorials which aims at providing a basic understanding of AngularJS 2 framework. At its best,it will make you quite acquainted with the fundamentals of AngularJS 2. This is the firs...

Angular Directives

Hello everyone , here we are going to take an overview of directives in angularjs. Angularjs provides us with a set of built-in directives which provides functionality to our application.We can also define our own directives in angularjs. &nbs...

jQuery date picker

Datepicker in jquery is very easy to use in your application with some preinstalled libraries, it has various features as hide the future dates, hide the past dates from the current date. Calendar popup will show on focusing input field. Examp...

Arrays and Hash In Ruby

Ruby's arrays and hashes collections having indexes. They can also be said as indexed collections. Arrays and hashes store collections of objects which can be accessed using a key. Both arrays and hashes grow as needed to hold...

Filesystem Package in Joomla

Hello friends, Today we understand about the filesystem in Joomla. Joomla contains pre-defined functions and classes to perform file operations such as delete, upload, get extension, get filename etc. Filesystem package includes 4 classes: ...

How to add custom methods in checkit module?

Sometimes, you may have a long conditions to check for validity. In general, you may need to check certain thing that doesn't exists in checkit module, In that case you extends checkit module and add custom methods into it.   For e...

How To Add Terms and Conditions Checkbox in Checkout Page ?

Hello Readers, This tutorial will guide you about "How To Show Terms and Conditions Checkbox during Checkout Page in magento". To enable the terms and conditions check box in checkout page, follow the below steps:   1. Lo...

Collapsed navigation for all screen sizes in Bootstrap 3

Hi there. Navigation bars have become really easy to work with in Bootstrap 3. Since Bootstrap 3 is mobile first, the navigation bar remains in place for a certain screen size, collapses at a certain screen size and a grid like button appea...

Using checkit module in nodejs

Checkit allows you to validate full javascript object, defining custom rules and message, I supports both asynchronous and synchronous validations. The validations by checkit works for both on browser and server.   Sample code: 1. A...

How to use sinon for stubing in mocha node.js?

Installation:   npm install sinon   It is simple and easy to use. You can easily fake any interface using sinon. Here, I am going to tell how to use sinon to make a stub of any ORM provided method in node.js. Sample co...

How to delete a file in Joomla?

Hello friends, Today we discuss how to delete a file in Joomla. In Joomla, delete() function is used to delete a file. This function perform various functionalities: 1. deletes a file 2. check permission of the file 3. If the file per...

Return multile value from a function using Out keyword

 Sometimes we face the situation where we need to return more than one value from the function. But a function never returns more than one value. Here we need to do something different like we create a different function for a different task...

5 Deadly Mistakes to Avoid During Web Design and Development

              Hey there! We as web designers, strive for perfection in everything, specially when it comes to developing websites to the nearest pixel. Alongside, it is also important ...

Facebook Integration With Unity3D

Hello Readers !! Today we are going to discuss the Facebook integration in the Unity Apps/Games. Facebook integration is very common things in today apps. Now each and every app has Facebook section in it. So for the success of App now it...

Introduction to Touch events in JavaScript

Hello!! We can handle the touch event in the javaScript using touch event listeners.  The touch events are similar to the mouse event but in different way, it is more complex than the mouse event because it supports simultaneous touc...

How to upload a file in Joomla?

Hello friends, Today we will learn how to upload a file in Joomla. In Joomla, upload() function is used to upload a file from source to destination. This function is similar to PHP move_uploaded_file() function. Syntax: JFile::upload($...

In App Purchase with Unity3D

Hello Readers !!   Today we are going to discuss the IAP in the Unity3D. We can do IAP by number of plugins. There are variety of plugins available in the market which we can use for the IAP. But almost all of the plugins are p...

Node.js with Mongoose

Mongoose is similar to ORM( Object relational mapper) in many other languages. It is a node.js package that provides mongoDB object mapping. So basically mongoose converts the data in the database to the javascript objects that can be used in our...
1 55 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: