Skip to content

Instantly share code, notes, and snippets.

keesiemeijer /
Last active May 22, 2022
Setup PHPUnit for use in the Local by Flywheel app
#!/usr/bin/env bash
# ===============================================================================
# Script to install PHPUnit in the Local by Flywheel Mac app
# These packages are installed
# PHPUnit, curl wget, rsync, git, subversion and composer.
# WordPress is installed in the `/tmp/wordpress` directory for use by PHPUnit.
# The WordPress test suite is installed in the `/tmp/wordpress-tests-lib` directory.
johnbillion /
Last active Nov 3, 2022
WordPress Emails

WordPress Emails

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

This documentation has moved here:

salcode / wp-overlay-dev.php
Last active Jun 27, 2016
WordPress code to overlay an image on the webpage I'm working on. This should only be used on a development site. This can be used as an mu-plugin
View wp-overlay-dev.php
* Plugin Name: Overlay Dev
* Description: Overlay an image on the website to assist with development. Please add overlay-dev.png to the same directory as this file. This works as an mu-plugin.
* Version: 1.0.0
* Author: Sal Ferrarello
* Author URI:
* This file can be copied from the gist with
* curl -O
salcode / .gitignore
Last active Jan 20, 2023
.gitignore file for a general web project - Bare Minimum Git
View .gitignore
# -----------------------------------------------------------------
# .gitignore
# Bare Minimum Git
# ver 20221125
# From the root of your project run
# curl -O
# to download this file
View wp-query-ref.php
// This gist is now maintained on github at
* WordPress Query Comprehensive Reference
* Compiled by luetkemj -
* Source: