Posts in Category: tips tricks


Get working directory name and file name in Node

__dirname : full directory path __filename: exact file location Node provides two variables named “__dirname” and “__filename” who returns the directory path of the currently executing file and the exact location of the file respectively. Both of them return string. To know in depth go through the following. Get working directory path We can

Read More



Node environment vs Browser environment

Node and web browsers, both executes JavaScript, but Node does that in server side and browsers in client side. Node uses the same JavaScript engine which is the backbone of Chrome, but still we can find few differences between Node and Browser. Node Browser  Node doesn’t have a predefined “window” object cause it

Read More


Improve view rendering performance in ember.js

One of the key reasons of ember’s less popularity is poor rendering performance. Almost every ember vs angular articles raises the point of rendering performance with example and shows how angular is better than ember. Well, but it’s not false that ember is slow; we all know that. We also know

Read More



How to make wave using jquery and html5 canvas

Few months back we’ve published how to give wave effect to your text using tweenmax.js. Today we’re gonna say, how you can create a wave without using any other plugin, with the help of simple jQuery and html5 canvas element. This tutorial is based of code snippets and very easy

Read More