Skip to content

Instantly share code, notes, and snippets.

View tdreyno's full-sized avatar

Thomas Reynolds tdreyno

  • Portland, OR
  • 21:44 (UTC -07:00)
View GitHub Profile
module ::Haml::Filters::Sass
def render(text)
::Sass::Engine.new(text, Compass.sass_engine_options).render
end
end
module ::Haml::Filters::Sass
def render(text)
::Sass::Engine.new(text, Compass.sass_engine_options).render
end
end
Compass.configuration do |config|
config.project_path = Dir.pwd
config.sass_dir = File.join(File.basename(self.views), "stylesheets")
config.output_style = :nested
config.images_dir = File.join(File.basename(self.public), "images")
config.http_images_path = "/images/"
end
Compass.configure_sass_plugin!
$.fn.googleMap = function(address, options) {
var defaults = {
zoom: 14,
mapTypeId: google.maps.MapTypeId.HYBRID
}
options = $.extend(defaults, options || {});
var map = new google.maps.Map(this[0], $.extend(options, {
center: new google.maps.LatLng(44.081996, -123.0286928),
}));
%strong.large<
%span.dollars $
3600
<dl>
<dt>Pic</dt>
<dd>
<p>Text</p>
</dd>
</dl>
!header_selector = "h1,h2,h3,h4,h5,h6"
#{!header_selector}
font-weight: bold
<?php
$thishost=$_SERVER['SERVER_NAME'];
if ($thishost == "software.intel.com") {
$path = ".";
// $path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/inc/intel-footer.php";
include_once($path);
} else {
$path = ".";
=column-with-border(!n, !border_color = #eee, !width = 1px)
+column-base
width= (!blueprint_grid_width * !n + (!blueprint_grid_margin * (!n - 1)) - (2 * !width))
border= !width "solid" border_color
<div class="careersOuter clearfix">
<div class="careersHead">Current Openings</div>
<div class="careerCon clearfix">
<div class="rowOuter clearfix">
<div class="rowHead clearfix">Position :</div>
<div class="rowDesc clearfix">Visualiser</div>
</div>
<div class="rowOuter clearfix">
<div class="rowHead clearfix">Location :</div>