Skip to content

Instantly share code, notes, and snippets.

keesiemeijer /
Last active December 8, 2023 11:02
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 June 3, 2024 13:31
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 June 27, 2016 18:05
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
* 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 May 28, 2024 22:03
.gitignore file for a general web project - Bare Minimum Git
# -----------------------------------------------------------------
# .gitignore
# Bare Minimum Git
# ver 20221125
# From the root of your project run
# curl -O
# to download this file
luetkemj / wp-query-ref.php
Last active May 25, 2024 10:56
WP: Query $args
// This gist is now maintained on github at
* WordPress Query Comprehensive Reference
* Compiled by luetkemj -
* Source: