Skip to content

Instantly share code, notes, and snippets.

Ryan Duff ryanduff

Block or report user

Report or block ryanduff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ryanshoover / .circleci config.yml
Last active Dec 31, 2019
CircleCI 2.1 Continuous Integration with WP Engine
View .circleci config.yml
# Continuous Integration to a WP Engine install
# PHP CircleCI 2.1 configuration file
# Requirements:
# 1. In CircleCI settings, add environment variables for your site's installs:
# * WPE_PRODUCTION_INSTALL=thenameofyourproductioninstall
# * WPE_STAGING_INSTALL=thenameofyourstaginginstall
# * WPE_DEVELOPMENT_INSTALL=thenameofyourdevelopmentinstall
# 2. In your repo, have two files
# * `./.gitignores/__default` -- Excludes any compiled files
moay /
Last active Jan 28, 2020 — forked from dsoares/
Install and use imapsync in Mac OS X

Install and use imapsync in Mac OS X

brew install imapsync

Run (without ssl)

imapsync --host1 imap.from.server --user1 foo --password1 secret1 --host2 imap.dest.server --user2 bar --password2 secret2

Run (with ssl)

bekarice / registration-order-link-for-woocommerce.php
Last active Jan 31, 2020
Automatically link previous orders to new WooCommerce customer accounts upon registration
View registration-order-link-for-woocommerce.php
ramiabraham /
Last active Sep 15, 2016
buttermilk cornbread recipe

buttermilk cornbread

this is really good and you should make it

  • servings: 30
  • prep: 15 mins
  • cook time: 40 mins
  • ready in: 55 mins


View gist:4fa3c4228a8bb53cc71d
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)
JustinSainton / gist:36be9fb9c7d9f55f6e37
Created Nov 28, 2014
Scrutinizer CI Config for WP eCommerce
View gist:36be9fb9c7d9f55f6e37
flags: ''
js_hint: true
naming_rules: { boolean_method_name: true }
controversial_rules: { superglobals: false }
danielbachhuber / gist:8af274e2b7f21c8c3bb6
Created Jul 3, 2014
Post-style permalinks for your custom post types
View gist:8af274e2b7f21c8c3bb6
* Post-style permalinks for your custom post types
* e.g. %year%/%monthnum%/%day%/%postname%
function dbx_get_post_types() {
return array(
// replace with your custom post types
View nginx.erb
server {
listen 80;
<% if @use_ssl %>
listen 443 ssl spdy;
ssl_certificate ssl/<%= @domain %>/server.crt;
ssl_certificate_key ssl/<%= @domain %>/server.key;
<% end %>
server_name <%= @domain %><% if @also_www %> www.<%= @domain %><% end %>;
access_log /var/log/nginx/access.log main;
norcross / cheddar-bay
Created Dec 28, 2013
recipe for cheddar bay biscuits
View cheddar-bay
* 2 C. Bisquick
* 2/3 C. milk
* 1/2 C. shredded Cheddar Cheese
* 1/2 C. butter melted
* 1/4 tsp. dried parsley
* 1/4 tsp. garlic powder
Preparation -
Mix bisquick, milk and cheese together to form a soft biscuit dough.
nacin /
Created Nov 24, 2013
WordCamp London 2013 Contributor Day Notes from the introduction to contributing to core.
You can’t perform that action at this time.