Norway – The land of fjords

Tweet Being born and brought up among the Himalayas, I’ve always been in love with mountains. Staring at them, while appreciating their sheer size and greatness, gives me immense peace. Although my main reason for visiting Norway was to experience the Northern Lights, seeing the pictures of Norwegian landscape was more than enough to visit […]

Building a Simple Quiz App using AngularJS

Tweet AngularJS has been out there for quite a while now and is getting increasingly popular. It is a very powerful Javascript MVC framework for building well-structured and maintainable web applications. This tutorial is not an introduction to AngularJS but to demonstrate how quickly one can build a simple well-structured web application. This is targeted […]

Slot machine in Javascript

Tweet Recently somebody talked to me about creating a slot machine. I looked on the web and could not find any good slot machine implementation in javascript. So I decided to write a quick one. My implementation uses jquery and a couple of jquery plugins for animation. Spritely is a wonderful jquery plugin for background […]

Snake in Javascript

Tweet This weekend I spent a few hours to write the classic game of Snake in javascript. There are already many versions of Snake available on the web. This was just some fun way to practice javascript. I used YUI 2 for event and dom handling. I have already written a few games in other […]

Caching in Javascript (YUI Cache)

Tweet Today I read about YUI 3 Caching Utility. It allows to cache frequently used data in javascript memory (Basic caching) or HTML5 localStorage object (Offline caching). Although we can implement our own caching mechanism in javascript, the YUI caching is general purpose and also provides a set of events. Moreover it can be easily […]

ACK – Better than GREP

Tweet One of the most useful tools in unix is grep. Almost every unix/linux user use it frequently. But not many know about a tool which is better then grep – ack. It makes life so easy for you. Some of the features that made me switch to ack: Lot faster than grep. Default recursive […]