This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "copy dot files for deployment" | |
task :copydot do | |
exclusions = [".", "..", ".DS_Store"] | |
Dir["#{source_dir}/**/.*"].each do |file| | |
if (!File.directory?(file) && !exclusions.include?(file)) | |
cp(file, file.gsub(/#{source_dir}/, "#{public_dir}")); | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUBY HOEDOWN 2011 | |
Day 1 - August 26 | |
----- | |
8:00 - Registration opens | |
9:00 - Kickoff with The Improv Effect | |
10:00 - TorqueBox: A True Application Server for Ruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'cgi' | |
require 'digest/md5' | |
require 'net/https' | |
require 'uri' | |
module Jekyll | |
class GistTag < Liquid::Tag | |
def initialize(tag_name, text, token) | |
super | |
@text = text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function shadow-3d($thickness-shadow-color, $splash-shadow-color, $thickness, $angle: 0) { | |
$shadows: compact(); | |
@if unit($thickness) != px { @warn "$thickness must be passed as a pixel value, eg: 5px." }; | |
@for $i from 1 through $thickness/1px { | |
$shadows: append($shadows, 0 1px * $i 0 adjust-color($thickness-shadow-color, $lightness: -3.3% * ($i - 1))); | |
} | |
@each $values in ( | |
0 $thickness + 1px 1px 0.1, | |
0 0 $thickness + 5px 0.3, | |
0 abs($thickness - 2px) 5px 0.2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!default_border_radius ||= 5px | |
// Round all borders by amount | |
=border-radius(!radius = !default_border_radius) | |
border-radius= !radius | |
-moz-border-radius= !radius | |
-webkit-border-radius= !radius | |
// Round radius at position by amount. | |
// values for !vert: "top", "bottom" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//** | |
Example 1: | |
a.twitter | |
+sprite-img("icons-32.png", 1) | |
a.facebook | |
+sprite-img("icons-32png", 2) | |
... | |
Example 2: | |
a | |
+sprite-background("icons-32.png") |