Skip to content

Instantly share code, notes, and snippets.

View cameronscott137's full-sized avatar

Cameron Scott cameronscott137

View GitHub Profile
(function() {
var CSSCriticalPath = function(w, d, opts) {
var opt = opts || {};
var css = {};
var pushCSS = function(r) {
if(!!css[r.selectorText] === false) css[r.selectorText] = {};
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/);
for(var i = 0; i < styles.length; i++) {
if(!!styles[i] === false) continue;
var pair = styles[i].split(": ");
install PostgreSQL 9 in Mac OSX via Homebrew
Mac OS X Snow Leopard
System Version: Mac OS X 10.6.5
Kernel Version: Darwin 10.5.0
Install notes for PostgreSQL 9.0.1 install using Homebrew:
sh-3.2# brew install postgresql
# Ignore everything in the root except the "wp-content" directory.
/*
!.gitignore
!.readme.txt
!wp-content/
!db_backups/
# Ignore everything in the "wp-content" directory except specified
wp-content/*
!wp-content/plugins/