Skip to content

Instantly share code, notes, and snippets.

View akdetrick's full-sized avatar
🛠️

Adam Detrick akdetrick

🛠️
  • Meetup
  • Brooklyn, NY
View GitHub Profile
---
title: test
layout: main
---
<!-- declare order of pages by id -->
{% assign sassquatch_section_names = "index,test" | split: "," %}
<!-- loop through the ids -->
<h3>Pages by title in the order we declared them in sassquatch_section_names</h3>
@akdetrick
akdetrick / bower.json
Created May 28, 2013 22:05
bower.json for meetup custom jquery build
{
"name": "meetup-jquery",
"version": "1.0.3",
"description": "custom build of jquery for meetup",
"main": [
"path/to/meetup-jquery-min.js",
]
}
@akdetrick
akdetrick / gist:5495978
Created May 1, 2013 15:28
remove old git branches that have been merged into master
!git branch --merged | grep -v master | xargs -n 1 git branch -d
diff --git a/static/style/sassquatch/lib/patterns/_bootstrap-meetup-tooltip.scss b/static/style/sassquatch/lib/patterns/_bootstrap-meetup-tooltip.scss
index 2047aa2..f84a8dc 100644
--- a/static/style/sassquatch/lib/patterns/_bootstrap-meetup-tooltip.scss
+++ b/static/style/sassquatch/lib/patterns/_bootstrap-meetup-tooltip.scss
@@ -1,7 +1,7 @@
/**
* Tooltip
* core/skin for tooltip plugin
-* query/plug-in/bootstrap-tooltip.js
+* jquery/plug-in/bootstrap-tooltip.js
#MAP photos local
#192.168.0.13 photos.dev.meetup.com
#192.168.0.13 photos1.dev.meetupstatic.com
#192.168.0.13 photos2.dev.meetupstatic.com
#192.168.0.13 photos3.dev.meetupstatic.com
#192.168.0.13 photos4.dev.meetupstatic.com
#MAP photos to yous guys in philly
38.123.132.31 photos0.dev.meetupstatic.com
38.123.132.31 photos1.dev.meetupstatic.com
var oPopoverOptions = {
template: '<div class="popover popover-infowidget"><div class="arrow"></div><div class="arrow-inner"></div><div class="popover-inner"><div class="popover-content"><p></p></div></div></div>,
trigger: 'manual',
placement: 'left',
allowEmpty: true
}
{
"darkred" : "#8B0000",
"firebrick" : "#B22222",
"crimson" : "#DC143C",
"red" : "#FF0000",
"tomato" : "#FF6347",
"orangered" : "#FF4500",
"orange" : "#FFA500",
"coral" : "#FF7F50",
"yellow" : "#FFFF00",
<c:set var="backY"><c:choose><c:when test="${not empty theme.headerImg && theme.headerImg.status > 1}"><c:choose><c:when test="${not empty isDemo}">${theme.contextHeadBackgroundImgHeight/2}</c:when><c:otherwise>${theme.contextHeadBackgroundImgHeight}</c:otherwise></c:choose>px</c:when><c:otherwise>5.19em</c:otherwise></c:choose></c:set>
@akdetrick
akdetrick / dabblet.css
Created September 4, 2012 04:47
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
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,Arial,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;line-height:0}img.resample{-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality}ul,ol{list-style-position:outside;padding-left:2.75em}article,aside,details,figcaption,figur
@akdetrick
akdetrick / plugin-template.js
Created August 6, 2012 19:04
jquery plugin template
/* ===========================================================
* jQuery plugin template (inspired by bootstrap tooltip and popover)
*
* easy inheritance, mutability, and method access via the
* magic of Objects
*
* plugin methods are all in one object, so
* you can extend plugins by $extend()'ing prototypes.
*
* stores plugin and its methods in a data attribute: