devdating.net Solution

From http://devdating.net/

rocksRocks are falling from the sky! You get an array of columns: rocks o and platforms #
Simulate rocks’ flight until they hit a platform, another rock or the bottom. Platforms stay put.
map is an array in the format ['ooo###...', ...] where map[2][5] translates to the rock at x: 2, y: 5
return the result after all rocks have stopped moving.

Asp.Net MVC Calendar Helper

Calendar DemoRecently while working on a project with Asp.Net MVC 3 there was a need for a small calendar similar to the asp.net calendar control. After some searching I decided that the easiest method to get this done would be to write a Html Helper. Below is the code that seems to work nicely. This works even if the browser does not support javascript. For added functionality you could add an extra parameter to show highlighted dates or extend it to fill a page and add content to the cells.