Skip to content

Instantly share code, notes, and snippets.

View dwatts1772's full-sized avatar

David dwatts1772

View GitHub Profile
@dwatts1772
dwatts1772 / wpinstall.sh
Created October 27, 2017 12:44 — forked from rutger1140/wpinstall.sh
WordPress install script bases on wp-cli - work in progress
#!/bin/bash
# Input database name
echo "---"
echo "wpinstall.sh - A WordPress installation shell script"
echo "by Rutger Laurman"
echo "---"
echo "- Requires WP-CLI, make sure you install that first (http://wp-cli.org/)"
echo "- Check file for configurations"
echo "- Downloads, configures, installs WordPress, default theme and plugins"
@dwatts1772
dwatts1772 / echoHttpRequest.js
Last active August 29, 2015 14:21 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);