javascript

Sails.js + Passport.js : req.user undefined

Sails.js is a popular express based MVC framework that has been gaining popularity these past few years. Passport.js is…

00

Angular 2 : Sending requests with cache control headers

Sometimes we need to send post requests to server with cache control so that the browser does not cache…

00

Setting up Node.js on Amazon EC2 instance

Have you been planning on setting up Node.js and related dependencies on your EC2 instance but unable to find a…

00

Using Wistia Data API with Node.js

Wistia is a video hosting company which provides video storage as well as analytics solutions to businesses. I have…

00

Using Dropzone.js with Angular 2

Dropzone.js is a file upload plugin that provides us with the ability to Drag and Drop as well as…

00

Communicating with iframe host using HTML5 postMessage api

Recently i was working with a client who wanted me to create a widget which was to be embedded on a third…

00

Angular 2 shared events

There are certain cases while developing a web app when we have to emit certain events when something occurs…

00

Sails Model.destroy() fails

A few days ago i ran into an issue where i was getting the following error running destroy() on a MySql database…

00

Integrating Angular (4) with Sails.js

Update #6 April 13, 2017: I have updated this post as well as the sample code repo to use Angular 4.0.2. Update #5 November 23,…

00

Interact.js : Resize using a button

A few days ago i had to implement a resize functionality for one of my clients and i needed…

00