Latest stories


Localhost setup in Python

The Problem: setting up a local server could be time taking and there’s a heck lot of ways to do it, but when it comes to make a simple ajax query call or making image calls in the HTML5 canvas; it will need a localhost server! i’m sure you must be thinking “ah that’s not a problem allow me install 100+ mb softwares like mamp, wamp” or some might even start writing...

Opening Sublime Text via Terminal in mac

i don’t like running gulp commands from terminal and go to the docked sublime icon all the way to open sublime and then adding up a folder to work in that particular directory. here’s a short little tutorial which could help you open sublime text from the mighty terminal! 

Android N Update Review

Got a push message few weeks ago regarding stable version of Android N, i was already enrolled in the beta program of android 7 (N) . I’ve noticed quite a few bugs and issues with the beta version itself. Being in the beta scheme, where google distributed the “not so stable version to geeks” i was excited about the fact that they looking to fix the bugs inspite of me giving...

Implementing a class in JavaScript

let’s implement a class called FeedDog in JavaScript, that has an object inside which changes when a function is called!
var FeedDog=function(treat){var obj={treatSize:treat};
return obj;

Ajax call request in jquery

Making an ajax call using jquery is pretty simple, let’s create an ajax request that updates a specified contents every 20 seconds!
type : 'GET',
data : {
'parameter' : 10
success : function(data) {
console.log('Data: '+data);
error : function(request,error)
console.log("Request: "+JSON.stringify(request));

JavaScript Time events

Time is one important aspects in interaction design, animations, sliders, tabs, event loaders, etc. are depended on timer for proper functioning. JavaScript provides two amazing timing event api’s the first one is : SetTimeout(); //following is the code for calling this little sweet function window.setTimeout(function, milliseconds); //it takes a function and millisecond as the second...

Animating The smiley

In my later post, i showed how to build a smiley using css3’s border-radius property. now let’s animate this cute little smiley 🙂

Latest from Sarabpreet