Skip to content

Instantly share code, notes, and snippets.

View akdetrick's full-sized avatar
🛠️

Adam Detrick akdetrick

🛠️
  • Meetup
  • Brooklyn, NY
View GitHub Profile
@akdetrick
akdetrick / mustache-node.js
Created October 7, 2011 21:53
Node + Mustache test app
var http = require('http');
var stache = require('mustache');
var Templates = {
index: "\
<h1>Mustache Test</h1>\
<p>Hello {{name}}</p>\
"
};
@akdetrick
akdetrick / boxBackgroundColor
Created November 1, 2011 17:47
theme.boxBackgroundColor missing
.complete,
#event-info .complete {
background: #000000;
color: ;
}
#event-info .complete .headline,
#event-info .complete .subtext {
color: ;
}
@akdetrick
akdetrick / velocity #url_event
Created November 15, 2011 20:03
velocity #url_event madness
#set ($fromEmail = ${event.eventId})
<td valign="top" style="padding-right:4px;">
#fakeButton("#url_event( $chapter $event $url 'rv' ${xtrack} 'action' 'rsvp' 'response' '3' 'refund_policy' 'true' 'fromEmail' $fromEm
</td>
@akdetrick
akdetrick / .vimrc
Last active September 29, 2015 05:08
clean vimrc
filetype off
call pathogen#infect()
call pathogen#helptags()
" installed bundles
" git://github.com/scrooloose/nerdcommenter.git
" git://github.com/tpope/vim-surround.git
" git://github.com/tsaleh/vim-supertab.git
" git://github.com/tpope/vim-eunuch.git
" git://github.com/tpope/vim-haml.git
@akdetrick
akdetrick / dabblet.css
Created January 3, 2012 20:40
photo stack test
/**
* photo stack test
*/
body {padding: 2em 4em;}
.polaroid-single,
.polaroid-stack,
.polaroid-stack span,
.polaroid-stack a {
width: 50px;
@akdetrick
akdetrick / markup example for figureset
Created February 13, 2012 19:41
figureset pattern
/**
* FigureSet Pattern
*
* floated image with descriptive text
*/
.figureSet, .figureSet-right {
*zoom: 1; }
.figureSet:after, .figureSet-right:after {
visibility: hidden;
display: block;
@akdetrick
akdetrick / dabblet.css
Created March 12, 2012 22:13
MeetStrap Tutorial Tempalte
/**
* MeetStrap Tutorial Tempalte
*/
html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,body{font-size:12px;color:#555;line-height:1.5;margin:0;padding:0}body,button,input,select,textarea{font-family:Verdana,Geneva,Tahoma,sans-serif}abbr,strong,acronym,span,small,time,strike,sub,sup,a{display:inline;font-family:inherit}abbr,acronym{border-width:0}b,strong{font-weight:bold}i,em{font-weight:normal}sup,sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}small{font-size:11px}p,ul,ol,li blockquote,form,fieldset,legend,table,dl,dd,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{margin:0;padding:0;margin-bottom:12px;font-family:inherit}form,legend{margin-bottom:0}img{margin:0;padding:0;border:0}img.resample{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}ul,ol{list-style-position:outside;padding-left:2.75em}article,aside,details,figcaption,figure,footer,header,hgroup,nav,s
@akdetrick
akdetrick / dabblet.css
Created March 12, 2012 22:20 — forked from anonymous/dabblet.css
MeetStrap: i has a box
/**
* MeetStrap: i has a box
*/
html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,body{font-size:12px;color:#555;line-height:1.5;margin:0;padding:0}body,button,input,select,textarea{font-family:Verdana,Geneva,Tahoma,sans-serif}abbr,strong,acronym,span,small,time,strike,sub,sup,a{display:inline;font-family:inherit}abbr,acronym{border-width:0}b,strong{font-weight:bold}i,em{font-weight:normal}sup,sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}small{font-size:11px}p,ul,ol,li blockquote,form,fieldset,legend,table,dl,dd,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{margin:0;padding:0;margin-bottom:12px;font-family:inherit}form,legend{margin-bottom:0}img{margin:0;padding:0;border:0}img.resample{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}ul,ol{list-style-position:outside;padding-left:2.75em}article,aside,details,figcaption,figure,footer,header,hgroup,nav,sectio
@akdetrick
akdetrick / dabblet.css
Created March 12, 2012 22:41
MeetStrap: i am complete
/**
* MeetStrap: i am complete
*/
html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,body{font-size:12px;color:#555;line-height:1.5;margin:0;padding:0}body,button,input,select,textarea{font-family:Verdana,Geneva,Tahoma,sans-serif}abbr,strong,acronym,span,small,time,strike,sub,sup,a{display:inline;font-family:inherit}abbr,acronym{border-width:0}b,strong{font-weight:bold}i,em{font-weight:normal}sup,sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}small{font-size:11px}p,ul,ol,li blockquote,form,fieldset,legend,table,dl,dd,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{margin:0;padding:0;margin-bottom:12px;font-family:inherit}form,legend{margin-bottom:0}img{margin:0;padding:0;border:0}img.resample{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}ul,ol{list-style-position:outside;padding-left:2.75em}article,aside,details,figcaption,figure,footer,header,hgroup,nav,sect
@akdetrick
akdetrick / dabblet.css
Created March 13, 2012 17:14
MeetStrap: i am a doc-box test
/**
* MeetStrap: i am a doc-box test
*/
html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,body{font-size:12px;color:#555;line-height:1.5;margin:0;padding:0}body,button,input,select,textarea{font-family:Verdana,Geneva,Tahoma,sans-serif}abbr,strong,acronym,span,small,time,strike,sub,sup,a{display:inline;font-family:inherit}abbr,acronym{border-width:0}b,strong{font-weight:bold}i,em{font-weight:normal}sup,sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}small{font-size:11px}p,ul,ol,li blockquote,form,fieldset,legend,table,dl,dd,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{margin:0;padding:0;margin-bottom:12px;font-family:inherit}form,legend{margin-bottom:0}img{margin:0;padding:0;border:0}img.resample{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}ul,ol{list-style-position:outside;padding-left:2.75em}article,aside,details,figcaption,figure,footer,header,hgroup,na