Skip to content

Instantly share code, notes, and snippets.

@benjaminfisher
benjaminfisher / email-testing
Last active December 26, 2015 05:39 — forked from anonymous/gist:7102642
HTML Email - style tests for layout issues
<style>
body.align:before{
content: "Alignment";
}
.align td:not([align]),
.align td:not([valign]){
border:1px solid red;
}
body.colspan:before{
/*!
* PubSub.js
* ---------
*
* Extremely basic PubSub functionality.
*
* To subscribe to the topic `news`:
*
* PubSub.on("news", function(str){
* alert(str);
@benjaminfisher
benjaminfisher / 0_reuse_code.js
Last active August 29, 2015 14:26
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console