Skip to content

Instantly share code, notes, and snippets.

<style type="text/css"><!--
.tl-pampers-video {
position: relative;
}
.tl-pampers-video > a {
display: block;
}
.tl-pampers-video .video {
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)
# Hide/Show Collapsible Content Sections
$('.collapsible-content-header').on 'click', (e) ->
e.preventDefault()
$this = $(this)
$container = $($(this).closest('.collapsible-content'))
$icon = $($container.find("i"))
if $container.hasClass('body-is-showing')
$container.removeClass('body-is-showing')
$icon.removeClass('icon-minus').addClass('icon-plus')
else
@procload
procload / madtree-events.json
Created March 19, 2014 01:16
Temporary data file for Madtree event updating
{
"events": [
{
"title" : "Pints for Pits Adoption Event",
"url" : "https://www.facebook.com/events/280499608772560/",
"description" : "Come celebrate St. Pitty's Day with Adore-A-Bull Rescue at MadTree!",
"date" : "Sunday, March 16",
"time" : "2 p.m."
},
{
div + div + div + div {
margin-right: 0;
}
div + div + div + div + div + div + div + div {
margin-right: 0;
}
/* etc. */
# Checks to see if a tabbed URL corresponds to make it active
$url = $.url()
$anchor = $url.attr('anchor')
if $anchor.length > 0
$('.responsive-tab-item').removeClass 'tab-is-active'
$(".responsive-tabs li##{$anchor}").addClass("tab-is-active")
@procload
procload / Clearfix.css
Created April 18, 2014 14:17
Fixes floats on sidebar for shows
// http://d.pr/i/pZ2H
.host_info_sidebar + img.host_sidebar {
clear: both;
}
$colors: (
"provisions": #F7F7F7,
"text": #333
);
@function color($key) {
@return map-get($colors, $key);
}
.my-element {
<form action="" method="post">
<input type="hidden" name =".optout_basic" value="1" />
<input class="submit" name="action" value="Unsubscribe" type="submit" />
</form>