Skip to content

Instantly share code, notes, and snippets.

Eric J wormeyman

Block or report user

Report or block wormeyman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:9 JQMIGRATE: Migrate is installed, version 1.4.1
load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,wp-backbone,media-models,wp-p&load[]=lupload,wp-mediaelement,media-views&ver=5.0.3:43 Uncaught TypeError: this.activateMode is not a function
at load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,wp-backbone,media-models,wp-p&load[]=lupload,wp-mediaelement,media-views&ver=5.0.3:43
at s (
at (
at n._createModes (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,wp-backbone,media-models,wp-p&load[]=lupload,wp-mediaelement,media-views&ver=5.0.3:43)
at n.initialize (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,he
View Staging_Site_Alert.php
// Alert on Staging Site
$host = $_SERVER['HTTP_HOST'];
if ($host != '') {
function staging_admin_error_notice()
$class = "error";
$message = "You are on the staging site.";
echo"<div class=\"$class\"> <h1>$message</h1></div>";
View red_buttons.css
/* #Custom Styles
================================================== */
/* Change to red buttons. */
.swatch_options {
border: 1px solid #e83e31;
background-color: #e83e31;
color: #ffffff;
wormeyman / settings.json
Last active Nov 8, 2017
settings.json for VSCODE
View settings.json
"editor.rulers": [
"editor.tabSize": 2,
"editor.multiCursorModifier": "alt",
"editor.renderWhitespace": "all",
"editor.insertSpaces": true,
"editor.trimAutoWhitespace": true,
"files.trimFinalNewlines": true,
View kale-child-theme-functions.php
add_action( 'wp_enqueue_scripts', 'kale_child_enqueue_styles' );
function kale_child_enqueue_styles() {
$parent_style = 'kale-style';
$deps = array('bootstrap', 'bootstrap-select', 'font-awesome', 'owl-carousel');
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' , $deps);
wp_enqueue_style( 'kale-style-child', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') );
View mcm.html
<h3 style="text-align: left;"><strong>I am hosting Mini Chef Mondays along with 4 fabulous bloggers, find out more about the <a href="" target="_blank">Mini Chef Mondays Team</a>!</strong>
<strong>Join our <a href="" target="_blank" rel="nofollow">facebook group</a> to find even more recipes and share recipes too!</strong></h3>
<div><strong><span>Get featured and follow us too!</span></strong></div>
<li><span><a href="" target="_blank" rel="nofollow">Pinterest</a>: Check out our Mini Chef Mondays board</span></li>
<li><span><a href="" target="_blank" rel="nofollow">Instagram</a>: Use our hashtag #MiniChefMondays so we can repost your mini chef</span></li>
<li><span><a href="" target="_blank" rel="nofollow">Twitter
View GCCMailChimpCard.html
<span style="color:#cf1f28">THE TITLE ALL CAPS</span><br />
<span style="color:#cf1f28">Sunday &bull; Month DD &bull; 9:00 &amp; 10:45am</span><br />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vel finibus felis.
View Install.ps1
$source = ""
$Filename = [System.IO.Path]::GetFileName($source)
$dest = "$env:TEMP\$Filename"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($source, $dest)
Start-Process cinst.exe -FilePath $dest -ArgumentList -y
wormeyman / enableAdmin.ps1
Last active Aug 29, 2015
Enable Local Administrator account on Vista/7/8/10
View enableAdmin.ps1
# Run this command in an elevated (PowerShell) prompt.
# You may have to run the commands in reverse order.
# The first command activates the admin account
net user administrator /active:yes
# The second command gives it the password of "pass" without the quotes
net user administrator pass
You can’t perform that action at this time.