Skip to content

Instantly share code, notes, and snippets.

View tdreyno's full-sized avatar

Thomas Reynolds tdreyno

  • Portland, OR
  • 08:01 (UTC -08:00)
View GitHub Profile
git "git://github.com/middleman/middleman.git" do
gem "middleman"
gem "middleman-core"
gem "middleman-more"
end
@tdreyno
tdreyno / _my_partial.markdown
Created May 6, 2012 05:15
source/_my_partial.markdown

Test

Partial

$legacy-support-for-ie8: true;
div {
@include background-image(linear-gradient(top, #709efa, #5684e0)); }
@mixin my-thing {
some: style;
@content;
}
tag {
@include my-thing {
another: style;
}
}
title slug date
Introducing iPhone-style Checkboxes
iphone-style-checkboxes
2009-06-16
/play
tada
nyan
tmyk
rimshot
trombone
crickets
live
ohmy
var animationOne = $("one").animate({ style: value })
var animationTwo = animationOne.pipe(function() { return $("two").animate({ style: value }) });
var animationThree = animationTwo.pipe(function() { return $("three").animate({ style: value }) });
var ajaxCall = animationThree.pipe(function() { return $.ajax(); });
ajaxCall.done(function() {
alert("all done");
});
deferreds = for c, j in @colorControls
cPoint = @controlPosition(c, center, (c.distance - 30), c.angle)
c.append()
c.elem.css(
scale: 0.3
opacity: 0
position: "absolute"
left: 0
top: 0
translateX: cPoint.x
WHICH_MODE="server1" middleman build
set :var, "val"
configure :build do
set :var, "buildval"
end