Quicktip: Use Negative Margins with CSS Transforms to Fix Clipping

March 2nd, 2011 § 0 comments § permalink

I’ve been playing around with CSS Transforms and had an annoying issue: when rotating divs at an angle, the edge of the div also rotated leaving a gap where I didn’t want one. See the pic:

Read More

Loving Vim

February 6th, 2011 § 1 comment § permalink

Vim has quickly become my go-to editor of choice for Windows, Mac and Linux. So far I’ve had about three months of serious Vim usage and I’m just starting to hit that vim-as-second-nature experience where the power really starts to shine. I’m shocked I’ve waited this long to put in the time to seriously learn it. Now that I’m past the beginner hump I wish I learned Vim long ago- when I tried Vim in the past, I just never got over that WTF-is-going-on-here frustration! Better late than never I suppose!

Read More

Machinist 2 + Mongoid + Embeds_Many Goodness

December 9th, 2010 § 0 comments § permalink

I had a heck of a time getting fixtures working with Mongoid when it came to a required embeds_many property.  No matter what I did, I kept getting an error: “Access to the collection for XXX is not allowed since it is an embedded document, please access a collection from the root document.”

Read More

Updated: Visual Studio Html5OpenId Template. Now with MVC 3 RC and Html5 Boilerplate 0.9.5

November 15th, 2010 § 1 comment § permalink

In my previous I created a Visual Studio Template which uses OpenId via DotNetOpenAuth and Html5 Boilerplate by Paul Irish.

Read More

Rails: Fixing Bundle “No Metadata Found” issues

November 14th, 2010 § 3 comments § permalink

In playing around with Rails this weekend, I ran into an annoying error when trying to set up some bundles- specifically with Webrat and Cucumber, which I found very odd:

Read More