Skip to content

Instantly share code, notes, and snippets.

View dutchmichael's full-sized avatar
🎯
Learning PHP, Javascript. and Laravel

Michael Van Voorhis dutchmichael

🎯
Learning PHP, Javascript. and Laravel
View GitHub Profile
@dutchmichael
dutchmichael / wp-install-core-sub-dir.sh
Created May 5, 2020 17:04 — forked from polevaultweb/wp-install-core-sub-dir.sh
This script installs WordPress inside a sub directory
#!/bin/bash
# Installation:
# Install the script in one of the folders in your PATH. Make sure it has execute permissions (i.e. chmod +x wp-install-core-sub-dir).
#Usage:
# $ mkdir mysite
# $ cd mysite
@dutchmichael
dutchmichael / plugin.php
Created June 5, 2016 18:25 — forked from logoscreative/plugin.php
Friendlier, Safer WordPress Admin Areas
<?php
/**
* "Friendlier, Safer WordPress Admin Areas"
* Presented by Cliff Seal at WordCamp Atlanta 2015 and Asheville 2016
* Slides: http://www.slideshare.net/cliffseal/wp-admin
*
* Plugin Name: A Better Admin Experience
* Plugin URI: http://evermoresites.com
* Description: Cleans up and sanitizes the WordPress admin area
* Version: 1.0
@dutchmichael
dutchmichael / pedantically_commented_playbook.yml
Created November 28, 2015 06:05 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.