Skip to content

Instantly share code, notes, and snippets.

View michaelmusgrove's full-sized avatar

Michael Musgrove michaelmusgrove

View GitHub Profile
INITIALISATION
==============
load wp-config.php
set up default constants
load wp-content/advanced-cache.php if it exists
load wp-content/db.php if it exists
connect to mysql, select db
load object cache (object-cache.php if it exists, or wp-include/cache.php if not)
load wp-content/sunrise.php if it exists (multisite only)
@ericlathrop
ericlathrop / LouisvilleTechMeetups.md
Last active April 14, 2020 22:12
Louisville Tech Meetups
@LeaVerou
LeaVerou / dabblet.css
Created March 21, 2013 16:59
MathML with CSS fallback
/**
* MathML with CSS fallback
*/
math {
font-family: 'Cambria Math', Cambria, MathJax_Main,
STIXGeneral, DejaVu Serif, DejaVu Sans,
Times, Lucida Sans Unicode, OpenSymbol,
Standard Symbols L, serif;
}
@corsonr
corsonr / BBpress pagination CCS code
Created October 2, 2012 13:58
BBpress pagination CCS code
/* --- BBPRESS PAGINATION --- */
.bbp-pagination-links { list-style:none; font-size:12px; }
.bbp-pagination-links { display:inline; }
.bbp-pagination-links a, .bbp-pagination-links a.next, .bbp-pagination-links a.prev{ display:block; float:left; padding:4px 9px; margin-right:7px; border:1px solid #efefef; }
.bbp-pagination-links span.current { display:block; float:left; padding:4px 9px; margin-right:7px; border:1px solid #efefef; background-color:#f5f5f5; }
.bbp-pagination-links span.dots { display:block; float:left; padding:4px 4px; margin-right:7px; }
@wycks
wycks / gist:2389259
Created April 15, 2012 01:39
Chrome Developer Inspect theme (build 18.02) - based on IR_Black Theme
/**********************************************/
/*
/* IR_Black Skin by Ben Truyman - 2011
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post:
/* http://darcyclarke.me/design/skin-your-chrome-inspector/
/*