Skip to content

Instantly share code, notes, and snippets.

View hammerdr's full-sized avatar

Derek Hammer hammerdr

View GitHub Profile
@hammerdr
hammerdr / 01_hammer.haml
Created November 19, 2012 20:36
hammer time grid special
%ul
%li{style: "background-image: #{dynamic_image}"}>
= link_to :article_url do
%span.caption "Yanul Kabak brings to Afgan children... "
%span.details
Yanul Kabak brings to Afgan children
%small
The panel says it has 1,000 pages of evidence showing
Lance Armstrong's role in a...
%span.read-more
@hammerdr
hammerdr / Event.j
Created May 22, 2011 22:17 — forked from Synvox/Event.j
Cappuccino Instance Variables Problem
/*
* Event.j
* Canvas Creator
*
* Created by Ryan on May 21th, 2011.
* Copyright 2011, Synvox rights reserved.
*/
@import <Foundation/CPObject.j>
@import <AppKit/CPView.j>
@import <AppKit/CPImage.j>
@import <AppKit/CPImageView.j>
@import "Photo.j"
@implementation PhotoListElement : CPView
{
CPImage _tagButtonImage;
CPImage _previewButtonImage;