Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<style type="text/css">
/* Reset and Generic Styles */
@procload
procload / errors.html
Created November 10, 2014 22:51
Email Campaign
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
@procload
procload / testing.md
Created September 22, 2014 17:34
Fonts
%brandon-700 { @include typekit-font(brandon, 700); }

The reason I think it might shrink the size of our styleheets is the way that @include vs. @extend works. If we had three declarations in SASS like so:

h2 {
	@include typekit-font(brandon, 700);
}
@procload
procload / keybase.md
Created September 17, 2014 21:04
keybase.md

Keybase proof

I hereby claim:

  • I am procload on github.
  • I am procload (https://keybase.io/procload) on keybase.
  • I have a public key whose fingerprint is ABAB 610C 607C 717E C893 438D 30FE CCD7 62F5 91AA

To claim this, I am signing this object:

<%= content_tag :h3, "Sign #{(params[:action] == 'static_sign_up') ? 'up' : 'in'}" %>
<% if params[:action] == 'static_sign_up' %>
<p>Have an account? <%= link_to "Sign in now", sign_in_path %></p>
<% else %>
<p>Need an account? <%= link_to "Sign up now", sign_up_path %></p>
<% end %>
<div class='video-embed'>
<iframe width="420" height="315" src="//www.youtube.com/embed/QILiHiTD3uc" frameborder="0" allowfullscreen></iframe>
</div>
def build_categories(articles)
categories = []
articles.each do |article|
category = article.metadata[:page]['category']
unless categories.include? category
categories.push(category)
end
end
return categories
end
{if profile.optout=="basic"}
Form to Opt Me Back In!
{else}
Form to Opt me out!
{/if}
<table class="provisions-nav" cellpadding="0" cellspacing="0" border="0" style="background: #FFFFFF; border-bottom-color: #f7f7f7; border-bottom-style: solid; border-bottom-width: 5px; border-collapse: collapse; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; margin-bottom: 16px; mso-table-lspace: 0pt; mso-table-rspace: 0pt; text-align: center; width: 100%" bgcolor="#FFFFFF">
<tr style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif">
<td style="background: #FFFFFF; border-collapse: collapse; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif" bgcolor="#FFFFFF">
<a href="http://food52.com/provisions/collections" style="color: #666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; text-decoration: none"><img src="http://lh3.ggpht.com/UCG-wILTIPkuwScv4MQyXmFjuvRMMh1B7sgh-SvNbqu7HJpX2GXOyTVjesCEf67zE-4AetY4-wPJUojTaKC9" height="33" width="135" class="imagefix" alt="collections" style="-ms-interpolation-mode: bicubic; border: none; font-family: 'Helvetica