Skip to content
View wordcamp_brisbane_jetpack_SCSS.scss
/*
Welcome to Custom CSS!
CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.
By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
View gist:5185918001f4df5c5d15
wp comment list --field=comment_ID --'post_author'='ActionScheduler' --number=1000 | xargs wp comment delete --force
wp post list --field=ID --post_type=scheduled-action --posts_per_page=1000 | xargs wp post delete --force
wp post list --field=ID --post_type=scheduled-action --posts_per_page=1000 --post_status=trash | xargs wp post delete --force
View gist:8fc49236e57d94abf7cc
wp post list --field=ID --post_type=shop_order --post_status='wc-completed' --posts_per_page=1000 | xargs wp post delete --force
View gist:3cb9ef7017627fb08d7c
wp post list --field=ID --post_type=product | xargs wp post delete --force
View gist:464176027140c8170cc2
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Foundation Mega Menu</title>
<link rel="stylesheet" href="css/app.css" />
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css" rel="stylesheet">
<script src="bower_components/modernizr/modernizr.js"></script>
</head>
View delete_all_woocommerce_subscriptions.php
<?php
/*
Plugin Name: Delete All Subscriptions
Plugin URI:
Description: Delete all of those bad boys
Author:
Author URI:
Version: 1.0
*/
function mystic_delete_all_subscriptions() {
View wp_cli_command_to_delete_all_woocommerce_users
wp user list --field=ID --role=customer | xargs wp user delete --yes
View setup-new-mac.sh
#!/bin/bash
# (not really -- run these commands by hand & pay attention to the comments)
# Homebrew: The missing package manager for OS X
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Git
brew install git
git config --global --add merge.ff false
Something went wrong with that request. Please try again.