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
http://github.com/house9/jquery-iframe-auto-height
see the README file for usage
The blog has moved to http://jessehouse.com/ ... Many google searches point here so I am leaving it operational, but there will be no new posts.
Friday, October 22, 2010
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 http://www.geekdesk.com/
here is a short vid of the adjustable height desk in operation
and some pics
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 http://www.geekdesk.com/
here is a short vid of the adjustable height desk in operation
and some pics
Thursday, September 30, 2010
VirutalBox - Increase the memory on an existing guest machine
I use VirtualBox to run a guest Windows XP machine on my Mac. When I set up the virtual guest I set it to use 512MB of memory. And of course now I decide I want to bump it to 1GB. I could not find anyway to do this using the GUI but it can be done from the Terminal.
When the virtual machine is not running execute this command
The first time I ran it I received the following error message
Last time I turned off the guest machine I had selected the save state option. You need to Power the virtual machine down before you can run this command.
When the virtual machine is not running execute this command
VBoxManage modifyvm XP1 --memory 1024XP1 is the name of my guest machine, so replace with yours. The memory parameter takes the amount in MB, in this case 1GB
The first time I ran it I received the following error message
ERROR: The machine is not mutable (state is Saved)
Last time I turned off the guest machine I had selected the save state option. You need to Power the virtual machine down before you can run this command.
Labels:
virtual
Wednesday, September 29, 2010
Textmate Go to File now available in Visual Studio 2010
Finally! Visual Studio has a feature similar to Textmates "Go to File" (Command key + T), I love this feature. It means that you rarely need to look around in the project tree for a file, just type part of the file name and bam!
In visual studio it is called "Navigate to" (Ctrl + ,) it takes it one step further and even brings up methods matching the name, not sure if that is a good thing or not, so far so good.
Found out about it here. Guess it has been around for awhile
In visual studio it is called "Navigate to" (Ctrl + ,) it takes it one step further and even brings up methods matching the name, not sure if that is a good thing or not, so far so good.
Found out about it here. Guess it has been around for awhile
A code smell - try catch that swallows an exception
Came across a code smell this week - try catch that swallows an exception
and yes the code that it wraps has some issues....
and yes the code that it wraps has some issues....
Labels:
code
Thursday, September 9, 2010
NFL Live Stream Thursday and Sunday night on NBC
Awesome!
does not seem like NBC or NFL is doing a lot to advertise the official free stream, but here we go!
http://nbcsports.msnbc.com/id/26393211
does not seem like NBC or NFL is doing a lot to advertise the official free stream, but here we go!
http://nbcsports.msnbc.com/id/26393211
Labels:
nfl
Subscribe to:
Posts (Atom)







