Skip to content

Instantly share code, notes, and snippets.

AJ Morris ajmorris

Block or report user

Report or block ajmorris

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
Einkoro / hhvm_setcookie_fix.php
Last active Aug 29, 2015
Must-use plugin for a quick and dirty work around for HHVM indexing cookies by name and overwriting WordPress's logged_in and auth cookies.
View hhvm_setcookie_fix.php
* Plugin Name: WP HHVM setcookie fix
* Plugin URI:
* Description: Quick n dirty alternative to setcookie() to work around HHVM indexing cookies by name and overwriting multiple cookies of the same name
* Author: BitPiston Studios
* Author URI:
* Version: 1.0
* Licence: BSD
grtaylor2 / woocommerce.css
Created Nov 29, 2013
Clean Woo Commerce CSS -- Replace the plugin's woocommerce.css file with a decompressed formatted stylesheet. This is the original CSS with no edits -- the code is just formatted in a way that makes edits much easier.
View woocommerce.css
/*Stylesheet cleaned up and organized by Marketing Press*/
.clear {
.nobr {
markjaquith / gist:6225805
Last active Feb 19, 2019
WordPress multi-tenant directory structure sharing core files for opcode awesomeness, fast deployments, and low disk usage. With inspiration from @weskoop. "=>" indicates a symlink.
View gist:6225805
| |__ content
| |__ index.php
| |__ wp => ../../wordpress/stable
| |__ wp-config.php
| |__ content
| |__ index.php
| |__ wp => ../../wordpress/stable
markjaquith /
Created Nov 16, 2012 — forked from scribu/
Plugin deploy script
# args
MSG=${1-'deploy from git'}
# paths
SRC_DIR=$(git rev-parse --show-toplevel)
DIR_NAME=$(basename $SRC_DIR)
jkudish / always-login.php
Created Jan 13, 2012
Always logged in with WordPress
View always-login.php
* keeps a user always logged in
* don't use this on a production site, ever!
add_action('init', 'auto_login');
add_action('admin_init', 'auto_login');
function auto_login() {
You can’t perform that action at this time.