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
SyntaxError at / | |
/Users/ltackett/projects/lorintackett/tests/haml_comment_conditions/source/layout.haml:8: syntax error, unexpected keyword_elsif, expecting keyword_end elsif test_var == 42 ^ /Users/ltackett/projects/lorintackett/tests/haml_comment_conditions/source/layout.haml:12: syntax error, unexpected keyword_ensure, expecting $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
- test_var = true | |
-# Commment | |
- if test_var | |
%h1 Foo | |
-# Another Comment | |
- elsif test_var == 42 | |
%h1 Bar |
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
/* === source: === */ | |
@mixin some-mixin { | |
overflow: hidden; | |
width: 200px; | |
@trigger "callback"; /* Trigger an event */ | |
} | |
.box { |
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
@mixin inset-text($color, $amount: 0.7) { | |
color: $color; | |
@if lightness($color) < 50% { @include single-text-shadow(rgba(white, $amount), 1px, 1px, 1px); } | |
@else { @include single-text-shadow(rgba(black, $amount), -1px, -1px, 1px); } | |
} |
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
ssh_user = "[email protected]" # for rsync deployment | |
remote_root = "~/example.com/" # for rsync deployment | |
desc "Runs preview" | |
task :preview do | |
system "staticmatic preview ." | |
end | |
desc "Builds the site" | |
task :build => 'styles:clear' do |
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 'rubygems' | |
require 'twitter' | |
require 'json' | |
require 'net/http' | |
def term_search(screen_name, needle) | |
(0..9999999).each do |i| | |
puts "Page #{i} Search" |
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
=ui-box($custom-image-suffix: "") | |
$base-path: "/images/cristalcard/v2/background_content_" | |
$top-path: $base-path + "top" + $custom-image-suffix + ".png" | |
$mid-path: $base-path + "mid" + $custom-image-suffix + ".png" | |
$bottom-path: $base-path + "bottom" + $custom-image-suffix + ".png" | |
.box_top | |
height: 3px | |
background: url($top-path) no-repeat left top | |
.box_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
@import compass/css3/box-shadow | |
=inset-border($direction, $border-color: #333, $highlight-color: #fff, $highlight-opacity: 0.9, $border-width: 1px, $border-style: solid) | |
@if $direction == "left" | |
+box-shadow(rgba($highlight-color, $highlight-opacity), -1px, 0, 0, 0) | |
@if $direction == "right" | |
+box-shadow(rgba($highlight-color, $highlight-opacity), 1px, 0, 0, 0) | |
@if $direction == "top" | |
+box-shadow(rgba($highlight-color, $highlight-opacity), 0, 1px, 0, 0, inset) | |
@if $direction == "bottom" | |
+box-shadow(rgba($highlight-color, $highlight-opacity), 0, 1px, 0, 0) |
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
// This keeps things organized with the indentation you want | |
#dashboard-content { | |
/*rule:value;*/ | |
&.my-account-v2 { | |
/*rule:value;*/ | |
.page { /*rule:value;*/ } | |
.inner { /*rule:value;*/ } | |
.inbox-sidebar { /*rule:value;*/ } } } | |
.inbox-sidebar { |
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
ssh_user = "[email protected]" # for rsync deployment | |
remote_root = "~/domain.com/path.to/project" # for rsync deployment | |
def fs_deploy(relative) | |
puts ">>> Change Detected to: #{relative} >> Deploying" | |
system("rake deploy") | |
end | |
desc "Watch the site and regenerate when it changes" | |
task :watch do |