Skip to content

Instantly share code, notes, and snippets.

@brianoz
brianoz / lockemailpass
Created April 24, 2014 02:11
cpanel lock email account via email address - very basic
#! /bin/sh
# lock email account password
# usage: lockemailpass [email protected]
# arg taken is [email protected]
# lock email password for account
for email
do
user=${email%%@*} # extract user
@brianoz
brianoz / class-virtualthemedpage-bc.php
Created February 20, 2014 01:10
WordPress Virtual page with theme
<?php
/*
* Virtual Themed Page class
*
* This class implements virtual pages for a plugin.
*
* It is designed to be included then called for each part of the plugin
* that wants virtual pages.
*
* It supports multiple virtual pages and content generation functions.