Skip to content

Instantly share code, notes, and snippets.

View SamWhited's full-sized avatar

Sam Whited SamWhited

View GitHub Profile
@SamWhited
SamWhited / README.md
Created February 28, 2012 20:46
Two options for fixing the redundant date tags in Radiant CMS
@SamWhited
SamWhited / readme.md
Created January 18, 2012 17:08
A quick HTML5-ish StopSOPA banner

Use

Make sure the banner is inside of a div or other block level element that has its position set to relative (position: relative;). Adjust the position of the banner by modifying top and left.

By default, the width and height of the banner are set to 100% of whatever relatively positioned div it is placed in.

@SamWhited
SamWhited / gist:1591977
Created January 10, 2012 23:48
Radiant install setup

Running

RVM 1.1.6
Ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
Rails 2.3.14
Ubuntu 10.04.3 LTS

Source

Radiant commit 6cec8e9feae93f8a4bb6f7c04bed91c282290a55