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

Search In

Get the stack trace for javascript function

We always face debug issue in javascript and the time when we want to know which function actually create problem we set debug in all the function in sequence of calling. Since Javascript is not a very structured language it can sometimes be hard to

How to convert from NSSTRING TO NSDATE ?

// date from string NSString *dateString = [NSString stringWithFormat:@"%@",_model.time]; // model.time is the field in which we are fetching the string. NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter se

How to add Gradient effect to UIButton ?

Hello all ! For adding Gradient effect to the UIButton we can implement the following code :- CAGradientLayer *gradientLayer = [CAGradientLayer layer]; gradientLayer.frame = _customButton.layer.bounds; // _customButton is the outlet of UIButton

Decorators in Rails

We use Decorators for cleaning up view logic and models of a rails application. So if we use decorators, models and views would be less complex. When we use decorator for a project we might have a 1:1 mapping between models and decorators which means

CRUD operations in PHP with MySQLi Object Oriented Interface

My previous article CRUD operations with MySQLi procedural functions is demonstrating about performing CRUD operations on MySQL database. As we know that one of the best feature of MySQLi is that it also provides an object oriented interface, which i

prevent countdown timer for being restarted

how to prevent countdown timer for being restart when you hit refresh in your browser <div id="quiz-time-left"> </div> <script type="text/javascript"> var total_seconds = 60*10 ; var minutes = parseInt(total_seconds/60);

Overview of Flex box CSS3 with demo

It is so called the new layout which is given by CSS3. It is an improved version of our native block model in which we uses float properties. It mainly consists of two main thing. 1. Flex container 2. Fex items 1. Flex container - It is declared

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 center) Linear

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: <element spellch

Traversing Ancestoral elements using jquery methods with examples

There are three main methods which can be used to traverse a DOM while finding the ancestors of an element.Using jQuery's below mentioned methods we can traverse the DOM tree to the root while finding all the ancestors. 1-) parent() 2-) parents

1 186 949
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: