The blog has moved to ... Many google searches point here so I am leaving it operational, but there will be no new posts.

Friday, October 29, 2010

Remote desktop mac OSX to Ubuntu

There is a good program (free) for remote connections between mac OSX and Ubuntu. It is called Chicken of the VNC - in my case I needed to remote into an Ubuntu (9.04) desktop from my mac.

First step - allow remote access on the Ubuntu machine

Install Chicken of the VNC

Then open the program and type in the IP address of the machine you wish to connect to.
Done - you are now remoted!

The best overload for 'RenderSection' does not have a parameter named 'optional'

I've been taking a look at mvc 3 beta with razor view templates.

some of the examples on the net are from previous releases and things have changed; one that I came across was the RenderSection method which can be used in layout (master) files

@RenderSection("Header", optional:true)
will throw an exception

The best overload for 'RenderSection' does not have a parameter named 'optional'
the newer syntax for rendering an optional section appears to be

@RenderSection("Header", false) 

Friday, October 22, 2010

jQuery iframe auto height plugin

This week I needed to automatically size the height of an iframe to the height of its contents. After a bunch of Google searches I came across this post from Nathan Smith here; It used jquery but applied the auto height to every iframe on the page, I could not use the code out of the box and so the 'jQuery iframe auto height plugin' was born. I made a few slight changes to the original code and wrapped it in a jquery plugin.

Download from github

see the README file for usage

Wednesday, October 13, 2010

Geek Desk in Action!

My Geek Desk showed up last week!

I work standing up most of the time, but I do like to sit down a few times through out the day. In the past I used a "Drafting Chair", but they create a funky angle for your legs as your feet must sit on the bottom ring. So far I am really loving the Geek Desk! - check them out at

here is a short vid of the adjustable height desk in operation

and some pics