Posts in Category: tips tricks



Slide or drag any jQuery/bootstrap slider programatically

This article provides a hack to slide or drag any kind of slider or dragabble element (which is dependent on jQuery) programatically. This code snippet is going to be a normal jQuery code which will manipulate the position of the element itself. Code snippet: var targetElement = $('#myElement'); //use your own selector

Read More


Customize MAC terminal to look colorful like ubuntu

The default MAC terminal looks very lame, doesn’t matter which theme you are using. As a developer you need visibility in the terminal; thus, things should be colorful like ubuntu. This article gives you proper solution for that without installing any custom theme. The article contains the following: A readymade snippet to

Read More



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



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