Skip to content

Instantly share code, notes, and snippets.

<?php
// ./src/schemas/schemas.json
// {
// "post": {
// "title": "Blog Post",
// "fields": {
// "date": {
// "type": Date",
// "description": "date of the post",
diff --git i/packages/playground/data-liberation/blueprints-library w/packages/playground/data-liberation/blueprints-library
index 32b937d7..d7b184aa 160000
--- i/packages/playground/data-liberation/blueprints-library
+++ w/packages/playground/data-liberation/blueprints-library
@@ -1 +1 @@
-Subproject commit 32b937d775b3df72997393b81efa068370ec81ca
+Subproject commit d7b184aa514bfde2ada499c78e9b7a54ba4352b2
diff --git i/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx w/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx
index 9d8cc329..b315d232 100644
--- i/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx
diff --git i/packages/playground/data-liberation/blueprints-library w/packages/playground/data-liberation/blueprints-library
index 32b937d7..d7b184aa 160000
--- i/packages/playground/data-liberation/blueprints-library
+++ w/packages/playground/data-liberation/blueprints-library
@@ -1 +1 @@
-Subproject commit 32b937d775b3df72997393b81efa068370ec81ca
+Subproject commit d7b184aa514bfde2ada499c78e9b7a54ba4352b2
diff --git i/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx w/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx
index 9d8cc329..b315d232 100644
--- i/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx
diff --git i/packages/playground/data-liberation/blueprints-library w/packages/playground/data-liberation/blueprints-library
index 32b937d7..d7b184aa 160000
--- i/packages/playground/data-liberation/blueprints-library
+++ w/packages/playground/data-liberation/blueprints-library
@@ -1 +1 @@
-Subproject commit 32b937d775b3df72997393b81efa068370ec81ca
+Subproject commit d7b184aa514bfde2ada499c78e9b7a54ba4352b2
diff --git i/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx w/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx
index 9d8cc329..b315d232 100644
--- i/packages/playground/website/src/components/ensure-playground-site/ensure-playground-site-is-selected.tsx
@akirk
akirk / new-rotations.php
Created November 4, 2024 05:11
Script to generate new rotations
<?php
echo 'Please paste previous lines:' . PHP_EOL;
$input = file_get_contents( 'php://stdin' );
echo PHP_EOL . '--------------------------------' . PHP_EOL;
$weeks = intval( $_SERVER['argv'][1] ?? 12 );
$lines = explode( PHP_EOL, trim( $input ) );
$ts = 0;
$i = 0;
$users = array();
foreach ( $lines as $line ) {
{
"landingPage": "/wp-admin/",
"preferredVersions": {
"php": "8.0",
"wp": "6.6.2"
},
"phpExtensionBundles": [
"kitchen-sink"
],
"features": {
{
"landingPage": "/wp-admin/",
"preferredVersions": {
"php": "8.0",
"wp": "6.6.2"
},
"phpExtensionBundles": [
"kitchen-sink"
],
"features": {
{
"landingPage": "/friends/?refresh&welcome",
"features": {
"networking": true
},
"steps": [
{
"step": "mkdir",
"path": "wordpress/wp-content/mu-plugins"
},
{
"landingPage": "/wp-admin/",
"steps": [
{
"step": "setSiteOptions",
"options": {
"permalink_structure": "/%postname%/"
}
},
{
{
"landingPage": "/friends/",
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "setSiteOptions",