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

Search In

Express validator

Express-validator is a node's middleware that can be used as form validation or we can say to validate the body, params, query, headers and cookies of request object. It has its own validation rule, and if any of the applied validation rule is no

before_validation and and after_touch callbacks in rails

Rails provide us with some pre-defined methods or hooks which can be invoked after or before the execution of a certain method in the object life cycle. Callbacks are called in certain moments of object's life cycle which we will get to know in

JQuery Slider for Rails

JQuery Slider as Substitute for Bootstrap Carousel for Rails Hello readers, We all may have integrated Bootstrap Carousel with templates in order to make images sliding one after the another, giving our template a lively look. JQuery slider is qui

How to retrieve contacts from your android device

Step1: permission needed to read contacts <uses-permission android:name="android.permission.READ_CONTACTS"/> Step2: ContentResolver provides access to the content provider. Its main work is to read the user's query and redirecting them t

Disable Button and Submit button after one click using JavaScript and jQuery

Hello Everyone!! As we know that when we are clicking the submit button then it send the data to the server, but what happen if we are not disabling the submit button after the one click then here is the some problem :-   If t

Jquery Arrays: Creation and Manipulation

jQuery.makeArray() is used to transforms any array like object to JavaScript Array. This function is useful for making an element into a array list. Here in this line of code i used one div for explaining the box, in which the data of LI can be drop

Type of Acceptance Testing

Acceptance testing is a testing technique where the system is tested for acceptability. In this, we test that system has met the requirement specification or not. It's a validation type testing. Various forms of Acceptance testing: 1) User acce

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 code: const sin

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", "feeds": { "

Adding Effects using queue() Method

Queue() method is used in jQuery to returns a number of animations to be performed on the elements in the jQuery object. This method is used for the continuous looping of a jquery element. It returns the effect which is used in the queue. While queue

1 744 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: