Skip to content

Instantly share code, notes, and snippets.

Mostly on Bitbucket

Rob Record robrecord

Mostly on Bitbucket
View GitHub Profile
View .gitignore_global
# Compiled source #
View enable-disable-plugins-when-doing-local-dev.php
Plugin Name: Enable/Disable plugins when doing local dev
Plugin URL:
Description: If the WP_LOCAL_DEV constant is true, enables/disables plugins that you specify
Version: 0.1
License: GPL version 2 or any later version
Author: Paul V. Biron/Sparrow Hawk Computing
Author URI:
VirtuBox /
Last active Jan 30, 2020
How to install php7.1-fpm with EasyEngine

How to install php7.1-fpm with EasyEngine

Install php7.1-fpm

apt install php7.1-common php7.1-cli php7.1-zip php7.1-opcache php7.1-mysql php7.1-mcrypt php7.1-mbstring php7.1-json php7.1-intl php7.1-gd php7.1-fpm php7.1-curl php7.1-bz2

Copy the php7.1-fpm pool configuration from php7.0-fpm

cp -f /etc/php/7.0/fpm/pool.d/www.conf /etc/php/7.1/fpm/pool.d/www.conf
ryansechrest /
Last active Feb 12, 2017
Git post-receive hook to deploy WordPress and plugins as submodules. It can also install Node.js modules with npm and vendor packages with Composer.
# Created on 7/17/13 by Ryan Sechrest
# Deploys pushed branch from the origin repository to the web directory
if [[ (-n $1) && (-n $2) && (-n $3) ]]; then
# Set path to project directory
jcanfield / msie-vmwarefusion-osx.bash
Created Apr 3, 2013
Download the latest VMWare Fusion images from Modern.IE for Internet Explorer Testing. This bash script is primitive and simple. Anybody who would like to expand on this is more than welcome to.
View msie-vmwarefusion-osx.bash
# Download all VMWare Fusion machines from Modern.IE Website to test your Website/Web Application in Microsoft Internet Explorer on Mac OSX. All VM's and other VM's for Windows and Linux and other Virtual Manager's such as VirtualBox can be found at
# Don't have cURL or want to learn more, visit are you really a Developer? First part of that sentence comes from the MS site.
read -p "--> Downloading Internet Explorer 6-10 on Windows XP/7/8 Appliances for VMWare Fusion. Large downloads ahead. (Press Enter to continue)."
echo "--> Download Internet Explorer 6 on Microsoft Windows XP Appliance for VMWare Fusion."
curl --progress-bar -O ""
echo "--> Download Internet Explorer 8 on Microsoft Windows XP Appliance for VMWare Fusion."
byymster / woocommerce-modal-variation.php
Created Dec 12, 2012
WooCommerce ajax modal add to cart for variable products NOTE: working with PrettyPhoto js plugin, folder name for plugin woocommerce-modal-variation
View woocommerce-modal-variation.php
Plugin Name: woocommerce modal variationn
Plugin URI: #
Description: show modal window with product variations after clicking -add to cart-.
Version: 0.1
Author: Maks Buriy
Author URI:
License: GPL2
rtorr / gist:2493270
Created Apr 25, 2012
Temporary fix for using symlinks with google drive (gdrive) on mac
View gist:2493270
Because gdrive will not actually sync symlinks from your computer to gdrive, you should temporarily do the opposite.
For example, I wanted to have a symlink from my ~/Sites directory to automatically sync with gdrive, so i did the simple command:
ln -s ~/Sites/drive ~/Google\ Drive/mSites/
That will not sync at the moment.
So instead I made a directory in gdrive and did a symlink back in my ~/Sites directory
You can’t perform that action at this time.