Loading Bootstrap with RequireJS

On November 23, 2012, in Javascript, by Anuj Gakhar

After having heard lots of good things about RequireJS in the past few months, I recently started playing around with RequireJS which is a JavaScript file and module loader, which improves the speed and quality of your code. After reading about it a little bit, the biggest advantage of using RequireJS, that I can see, […]

Tagged with:  

Difference between .call() and .apply()

On November 13, 2012, in Javascript, by Anuj Gakhar

This is a very common Javascript question that confuses a lot of people (including me). You can use both function.call() and function.apply() in Javascript to execute a function but what’s the difference? Let’s look at the documentation of call() and apply() first. According to the documentation, .call() means :- Calls a function with a given […]


Launched my first iOS app

On October 9, 2012, in iOS, by Anuj Gakhar

At the beginning of this year, I decided to learn a new programming language. My 2 choices were Ruby/Rails and Objective-C. Ruby is something I have been trying to get into for quite a while now and I have heard lots of good things about it. However, until you do a real commercial project, you […]

Tagged with:  

Google oauth2 refresh token and invalid credentials error

On September 12, 2012, in Web Development, by Anuj Gakhar

I have been working on getting google analytics data using the Google Core Reporting API using OAuth2. After the initial oauth dance is done, I store the access token and refresh token in the database to be able to regenerate valid access token from the refresh token. This is termed as offline access. This is […]

Tagged with:  

Twitter BootStrap NavBar Color in IE8/9

On September 5, 2012, in Web Development, by Anuj Gakhar

I am a big fan of Bootstrap and recently upgraded one of my projects to v2.1.0 which was released on August 20, 2012. I have been using a custom background image for the top navbar all this while and after the upgrade, I noticed that my navbar was now white background in IE 8/9 (didn’t […]

Tagged with:  

Managing Multiple Remotes with Git

On August 3, 2012, in Git, by Anuj Gakhar

Managing multiple remotes with Git is a pretty common thing, I would say. However, I never had the need to do it, until today. I think it’s a totally awesome thing that you can change code locally and push it to different remotes with one command and every one is happy. Since my particular requirement […]

Tagged with:  

Getting Railo working under Mountain Lion 10.8

On July 26, 2012, in ColdFusion, Mac, Railo, by Anuj Gakhar

I have upgraded to Mountain OSX Lion 10.8 since it’s release yesterday and although the installation went pretty smooth, I am noticing some issues with my Apache setup. I use Railo with Tomcat as the servlet engine and Apache as the webserver. If you have a similar setup, here are the minor things you would […]

Tagged with:  

Simulating Safari on iPad in Safari on Desktop

On May 10, 2012, in Browsers, by Anuj Gakhar

One of the sites I am working on works differently on the desktop than it does on the iPad. And whenever I make a change, I end up having to test on both my iPad and my Mac which is OK most of the times but if I am doing more than 5-6 changes, then […]

Tagged with:  

HTML5 Forms, Fallback Options and Validation

On May 3, 2012, in Browsers, Javascript, by Anuj Gakhar

I am starting to get into HTML5 development slowly and one of the first things that came across was the forms. HTML5 has got some nice features up it’s sleeve when it comes to forms. I won’t be going into the details of what features are available in HTML5 forms and what they do and […]


Replacing BugTracer Email Functionality in ColdBox with LogBox Loggers

On April 24, 2012, in ColdFusion, by Anuj Gakhar

ColdBox used to have a BugTracerReport config element which you could configure to send error emails to yourself while showing a user friendly error page to the site users. Not quite sure of the exact version, but I think this feature was deprecated in version 3.1 in favour of the new LogBox which comes built-in […]

Tagged with:  
© 2011 Anuj Gakhar