Skip to content

Instantly share code, notes, and snippets.

wp-networks / index.html
Last active December 3, 2018 21:32
Parallax backgrounds with walk cycle
<div class="foreground"></div>
<div class="midground">
<div class="tuna"></div>
<div class="background">
wp-networks /
Last active July 18, 2018 22:02 — forked from centminmod/
Custom Config options available for Centminmod.
# PLEASE NOTE: This file serves as a file with all the possible options, NOT what should be used in a production enviornment!!!!
# Creating a file it will override default setting for upgrades and software installs.
# Location: /etc/centminmod/
EMAIL='' # Server notification email address enter only 1 address
PUSHOVER_EMAIL='' # Signup push email notifications to mobile & tablets
wp-networks / devs.rb
Created June 19, 2018 23:53 — forked from luckydev/devs.rb
Types of Developers
# SeniorDev, AwesomeDev, NoviceDev
class SeniorDev
def do_some_old_stuff
puts "This is a piece of cake"
def method_missing(name, *args)
puts "Err.. What? #{name}??.. THAT IS IMPOSSIBLE! Leave me alone."
Plugin Name: Wordpress Hostname Migration
Plugin URI:
Description: Functionality to ease in migration of Wordpress code and databases between environments.
Author: Justin Silver
Version: 1.0
Author URI:
License: GPL2
### BEGIN Network Panel Control
## for use with: define( 'DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] );
## this has some gaps, but it gets the point accross
## was made for a WP installed at like my.example.tld
## obviously, some values likely need changing if you try this, eg. my|stage|templates
<IfModule rewrite_module>
#RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(?:/?wp-admin/network/.*)\ HTTP/ [NC]
wp-networks / correct-cookie-domain.php
Created April 26, 2018 00:17 — forked from danielbachhuber/correct-cookie-domain.php
Correct the cookie domain when a custom domain is mapped to the site.
wp-networks / wpmu-power-tools.php
Created November 2, 2015 23:07 — forked from Coopeh/wpmu-power-tools.php
WPMU Power Tools
* Plugin Name: WPMU Power Tools
* Plugin URI:
* Description: A few powerfull tools that every WPMU Admin should have.
* Author: Brian Freeman (aka MrBrian)
* Version: 0.7
/* Some sample snippet codes for PHP Executor (feel free to send in yours)

###W3TC MU-Plugins Install

  1. ####Add Apache Rewrite Rule -> .htaccess:

    • RewriteRule ^wp-content/plugins/w3-total-cache(/.*|)$ /wp-content/mu-plugins/w3-total-cache$1 [L,NC]
  2. ####Add WP-Config Option -> wp-config.php:

    • define('W3TC_DIR', dirname(FILE).'/wp-content/mu-plugins/w3-total-cache');
  3. ####Add w3tc plugin -> mu-plugins/:

  • Upload entire plugin to mu-plugins/w3-total-cache/