Skip to content

Instantly share code, notes, and snippets.

View chriscoyier's full-sized avatar

Chris Coyier chriscoyier

View GitHub Profile
@chriscoyier
chriscoyier / gist:964905
Created May 10, 2011 17:05
Excellent Web People and their Personal Blogs
Yaron Schoen
http://yaronschoen.com/
http://www.yaronschoen.com/site/atom/
Oli Studholme
http://oli.jp/
http://oli.jp/articles.atom
Ben Bleikamp
http://www.bleikamp.com
# BEGIN W3 Total Cache
<IfModule mod_rewrite.c>
SetEnvIfNoCase Accept-Encoding (gzip) APPEND_EXT=.$1
RewriteEngine On
RewriteCond %{REQUEST_URI} !\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register).php|/video-feed/|/video-feed-iphone/ [OR]
RewriteCond %{REQUEST_URI} wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php [NC]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{HTTP_COOKIE} !comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in [NC]
RewriteCond %{HTTP_USER_AGENT} !bot|ia_archive|slurp|crawl|spider [NC]
From: Google Checkout <noreply@checkout.google.com>
To: chriscoyier@gmail.com
Message-ID: <1322809231824.decbabd0-c157-4e85-8a86-10c29a647323@checkout.google.com>
Subject: Rate your shopping experience with GatewayCDI using Google Checkout
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_8012_10578721.1322809232534"
------=_Part_8012_10578721.1322809232534
Content-Type: text/plain; charset=UTF-8
body {
font-family: sans-serif;
}
ul {
list-style: none
}
li {
background: slategrey;
{
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": true,
"quotes": "double",
// Fires when __CodePenIFrameAddedToPage() fires.
makeCodePenEmbedsResizeable: function() {
if (window.innerWidth > 625) {
var maxWidth = 1000; // calculated below
var minWidth = 320;
var minHeight = 150;
$(".cp_embed_wrapper").each(function() {
var $wrapper = $(this);
// Custom Comments
function csstricks_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
<div class="grid group comment-wrap" id="comment-<?php comment_ID(); ?>">
<div class="comment-avatar grid-1-5">
@chriscoyier
chriscoyier / SassMeister-input.scss
Created January 19, 2016 20:34
Generated by SassMeister.com.
// ----
// libsass (v3.3.2)
// ----
.parent {
& .child {
color: red;
}
}
@chriscoyier
chriscoyier / dabblet.css
Created February 24, 2012 03:56 — forked from telic/dabblet.css
Lined Paper
/**
* Lined Paper
*/
html {
background-color:white;
padding:10px;
font-family:sans-serif; font-size:15px;
}
body {