Skip to content

Instantly share code, notes, and snippets.

View simple10's full-sized avatar
💭
Working like a madman on Level Up & Muxxi

Joe Johnston simple10

💭
Working like a madman on Level Up & Muxxi
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Single-Column Responsive Email Template</title>
<style>
@media only screen and (min-device-width: 541px) {
.content {
@simple10
simple10 / perceptualdiff.md
Last active December 19, 2015 23:19
PerceptualDiff command line tool for diff'ing images.

Fun with visual diff'ing!

http://pdiff.sourceforge.net/

# OSX
$ brew install perceptualdiff

$ perceptualdiff screen1.png screen2.png -verbose -output diff.ppm -colorfactor 0.0
@simple10
simple10 / app.coffee
Last active December 14, 2015 00:59 — forked from harlantwood/circle-packing.coffee
Github D3 Visualizer
root = exports ? this
class root.App
constructor: (repo) ->
@github = new App.Github
@d3 = new App.D3
@github.loadRepo(repo, (data) =>
data = @github.parseForD3(data)
@d3.renderCirclePack(data)
@simple10
simple10 / backbone.meta.js.coffee
Created December 25, 2012 00:30
Backbone meta data plugin
#
# Add meta data support to Model and Collection
# Allows server to include additional meta data that gets automatically parsed and stashed in [model|collection].meta
#
# Usage:
# Include this file after backbone.js
# Set data_key on Model or Collection
#
# If data_key is not set, original parse method will be invoked.
#