This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="" method="post"> | |
<input type="hidden" name =".optout_basic" value="1" /> | |
<input class="submit" name="action" value="Unsubscribe" type="submit" /> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$colors: ( | |
"provisions": #F7F7F7, | |
"text": #333 | |
); | |
@function color($key) { | |
@return map-get($colors, $key); | |
} | |
.my-element { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://d.pr/i/pZ2H | |
.host_info_sidebar + img.host_sidebar { | |
clear: both; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div + div + div + div { | |
margin-right: 0; | |
} | |
div + div + div + div + div + div + div + div { | |
margin-right: 0; | |
} | |
/* etc. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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." | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"><!-- | |
.tl-pampers-video { | |
position: relative; | |
} | |
.tl-pampers-video > a { | |
display: block; | |
} | |
.tl-pampers-video .video { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.getJSON "data/stores.json", (data) -> | |
_.each data, (val) -> | |
_.each val.products, (products) -> | |
foo = _.filter products, (product) -> | |
product.name is "Mobil 1 Turbo Diesel" | |
console.log foo |