Skip to content

Instantly share code, notes, and snippets.

@globerunnerseo
globerunnerseo / ie-cc-1.html
Created June 22, 2012 20:52 — forked from necolas/ie-cc-1.html
Conditional classes test cases: DRYer and Compat View icon is not displayed in IE8/9. If X-UA-Compatible header is set using a server config then ie-cc-serverconfig.html is all that is needed.
<!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta charset="utf-8">
<!--[if lt IE 7]><html class="no-js ie6"><![endif]-->
<!--[if IE 7]><html class="no-js ie7"><![endif]-->
@globerunnerseo
globerunnerseo / gist:2968561
Created June 21, 2012 21:11 — forked from luetkemj/wp-query-ref.php
WP: Query $args
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(
@globerunnerseo
globerunnerseo / my.cnf
Created April 6, 2012 16:25 — forked from thattommyhall/my.cnf
Suggested my.cnf
[client]
default-character-set = utf8
socket = /tmp/mysql.sock
[mysqld]
#skip-grant-tables
max_sp_recursion_depth = 255
socket = /tmp/mysql.sock
tmpdir = /opt/tmp