Skip to content

Instantly share code, notes, and snippets.

@cavill
cavill / bootstrap.css
Created May 11, 2012 15:00
Polygon Grid and Type test
/*!
* Bootstrap v2.0.3
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.clearfix {
@cavill
cavill / Get-thesmithify
Created May 4, 2012 13:55
Get thesmithify
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>thesmithify</title>
</head>
<body style="text-align: centre; margin: 100px;">
<p>Drag me to your bookmarks bar:</p>
<a href="javascript:var%20s%20=%20document.createElement('script');s.src%20=%20'https://raw.github.com/gist/1791454/rikify.js';document.body.appendChild(s);" style="border: 1px solid #333; padding: 5px;">thesmithify</a>
</body>
@cavill
cavill / Get-thesmithify
Created May 4, 2012 13:55
Get thesmithify
javascript:var%20s%20=%20document.createElement('script');s.src%20=%20'https://raw.github.com/gist/1791454/rikify.js';document.body.appendChild(s);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>thesmithify</title>
</head>
<body style="text-align: centre; margin: 100px;">
<p>Drag me to your bookmarks bar:</p>
@cavill
cavill / thesmithify
Created May 4, 2012 13:51
@themithify an page
(function() {
var RIK_URL = 'https://twimg0-a.akamaihd.net/profile_images/24543892/me.jpg';
var rik = new Image();
rik.src = RIK_URL;
rik.style.position = 'fixed';
rik.style.top = window.innerHeight + 'px';
rik.style.webkitTransform = 'translate(0, 0px)';
rik.style.zIndex = 5000;
@cavill
cavill / dabblet.css
Created May 1, 2012 10:53
Polygon type
/**
* Polygon type
*/
body {
}
@cavill
cavill / dabblet.css
Created May 1, 2012 10:53
Top10 Links
/**
* Top10 Links
*/
body {
background: #e2ded6;
font: 16px/21px 'helvetica neue';
color: #000033;
padding: 20px;
margin:0;
}
@cavill
cavill / dabblet.css
Created April 26, 2012 15:59
Top10 Links
/**
* Top10 Links
*/
body {
background: #e2ded6;
font: 16px/21px 'helvetica neue';
color: #000033;
padding: 20px;
margin:0;
}
@cavill
cavill / dabblet.css
Created April 20, 2012 22:38
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@cavill
cavill / dabblet.css
Created April 19, 2012 08:58
Tom Cavill
/**
* Tom Cavill
*/
body {background: #fff;
min-height: 100%;}
.tom{ outline: 8px solid red; width: 400px; height: 400px; background: blue;}
/*textarea {
@cavill
cavill / gist:9533721
Created March 13, 2014 18:13
Mailgun Meteor
Meteor.startup(function () {
process.env.MAIL_URL = 'smtp://postmaster%40YOURDOMAIN.mailgun.org:YOURPASSWORD@smtp.mailgun.org:587';});