Latest Posts

Pitfalls of Outsourcing (to India)

Let me first warn you, before you get started with this post, there is going to be quite a bit of rant in here. But I believe it’s going to have some merit and is not just going to be meaningless. There are numerous blog posts/articles and what not about issues faced by numerous companies [...]

Just Released! – NuGet Package to List Attribute Based Routes

Hello People! Just wanted to share some information on what I have been doing. Yesterday I released a NuGet package that could prove helpful if you have started using ASP.Net MVC 5′s attribute based routing. You can read about attribute based routing here. But on a high level, attribute based routing is a feature that [...]

Paging w/ Angular

Hello again! I was looking for an implementation of paging using angular and encountered this. This post just shows how I extended this implementation to have some sort of filtering. Obviously, I am very much a beginner in angular, so do recommend if you think there is a better way of doing this! I am [...]

Express – Route requests from multiple files

If you have started using NodeJS/Express like myself, probably you have this question too! I have a whole lot of app.get, app.post in my app.js file and I don’t like this! Here is a section of my app.js file to give you some perspective! var app = express(); app.get(‘/’, routes.index); app.get(‘/about’, routes.about); app.get(‘/contact’, routes.contact); If [...]

Getting started w/ Web Workers

Hello, I am not even going to discuss as to how long it’s been since I blogged about anything, because, it’s been forever. But here I am with a new post! This is about html 5 web workers and I should agree that it’s quite exciting to use web workers! In this post I am [...]

Overriding the Private Method of a Ruby Class

It feels like forever since I ever posted anything, but, here I am with an interesting post on ruby! Consider the following class which has a private method called “say”. class Client def print say end private def say “hello” end end c = Client.new puts c.print Let’s assume you are unit testing the Client [...]

EditPlus: Search & Replace with RegEx

Hello people! It’s been so long since I posted anything here. So here you go! This is going to be a short and sweet post! One of my favorite text editor is EditPlus and this is a way by which you could do a search using a RegEx and also replace it by using RegEx! [...]

JsFiddle: Something that would be really useful!

To begin with, let me say I love jsfiddle! In case you are not aware of jsfiddle, its a site where you could quickly test out your javascript, instead of creating a page to do the same locally! I have hundreds of fiddles and my manager always asks me how much I cost them One [...]

Ninject: Passing dynamic parameters to the constructor

Hello poeple! Been a really long time since I posted anything. But, here you go! This is a very interesting snippet about passing dynamic arguments to constructor that will be injected to a controller (say), using ninject. When you register a dependency in ninject, you do the following: kernel.Bind<IData>().To<Data>(); Whereas, if you also want to [...]