Skip to content

Instantly share code, notes, and snippets.

View getsource's full-sized avatar

Kira Schroder getsource

View GitHub Profile
@getsource
getsource / gutenberg_manual_release.md
Last active September 21, 2021 05:20
Resuming a failed Gutenberg ZIP build Notes

First, I re-ran the ZIP build. This doesn't bump the version number a second time (which is great), but it does fail with release draft creation.

Here's a message that I sent to Riad to check assumptions (Riad mentioned it was 👍, and this worked when we tried it):


Okay! I’ve been working on the release today.

I dug into the scripts a bit, and it looks like while build-plugin-zip does put new commits on top of the new (pending) Release Notes, it does not seem to handle tagging or updating the changelog following updates in the RC Release / Notes to reflect any changes during RC. So, my current hypothesis is to recreate these conditions:

@getsource
getsource / services-start.sh
Created September 21, 2020 11:37 — forked from Jimmy-Z/services-start.sh
multi SSID with VLAN script, for ASUS AC86U with merlin
#!/bin/sh
# multi SSID with VLAN script, for ASUS AC86U with merlin
#
# setup before hand:
# set "router" to "AP Mode"
# this will put all ports and wireless in br0
# create 2 guest network
# enable Administration => System => Enable JFFS custom scripts and configs
# put this script in /jffs/scripts/, name should be "services-start"
@getsource
getsource / junit.xml
Created March 31, 2020 09:38
Test WordPress phpunit `junit.xml` file with failures from PDF disable in `policy.xml`.
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="" tests="10279" assertions="51407" failures="3" errors="1" time="169.605525">
<testsuite name="default" tests="10254" assertions="51160" failures="3" errors="1" time="169.142043">
<testsuite name="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" tests="25" assertions="98" failures="0" errors="0" time="0.102243">
<testcase name="test_simple_action" class="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" line="10" assertions="3" time="0.003842"/>
<testcase name="test_remove_action" class="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" line="27" assertions="4" time="0.003248"/>
<testcase name="test_has_action" class="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" line="46" assertions="6" time="0.002852"/>
<testcase name="test_multiple_actions" class="Tests_Actions" file="/tmp/wp-current-test/tes
* Install VirtualBox
* Install Vagrant
* Copy VVV.zip to Local HD
* Pass Drive on
* Decompress ZIP, and from new VVV Folder:
* `vagrant box add ubuntu/trusty64 contributor.box`
* `vagrant plugin install vagrant-hostsupdater`
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 14">
<link id=Main-File rel=Main-File
@getsource
getsource / heartbeat-comments.php
Last active December 21, 2015 05:08
Heartbeat Sample plugin
<?php
/*
Plugin Name: Heartbeat Comment Update
Description: Updates Comment Count on Dashboard with Heartbeat.
Author: Andrew Ozz, Mike Schroder
Version: 0.2
Author URI: http://www.getsource.net
*/
add_filter( 'heartbeat_received', 'wc_heartbeat_comment_count', 10, 3 );
<?php
/*
Plugin Name: Bad Plugin
Plugin URI: http://github.com/wp-cli/wp-cli
Description: Creates a difficult to search-replace option
Author: Mike Schroder
Version: 0.1
Author URI: http://www.getsource.net/
*/
@getsource
getsource / secretplace.php
Created January 31, 2013 23:06
Make your dashboard your secret place.
<?php
/*
Plugin Name: Secret Place
Plugin URI: http://github.com/getsource
Description: Make your dashboard your secret place.
Author: Mike Schroder and Jason Cosper
Version: 0.1
Author URI: http://www.getsource.net/
*/
@getsource
getsource / pre-3.5.1-phpunit-single
Created January 24, 2013 20:35
Pre 3.5.1 PHPUnit tests - Single Site
Path: wordpress
URL: http://core.svn.wordpress.org/branches/3.5
Repository Root: http://core.svn.wordpress.org
Repository UUID: 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Revision: 23343
Node Kind: directory
Schedule: normal
Last Changed Author: nacin
Last Changed Rev: 23343
Last Changed Date: 2013-01-24 12:14:49 -0800 (Thu, 24 Jan 2013)