Skip to content

Instantly share code, notes, and snippets.

{
"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",
<?php
//
// Project: phpLiteAdmin (https://www.phpliteadmin.org/)
// Version: 1.9.8.2
// Summary: PHP-based admin tool to manage SQLite2 and SQLite3 databases on the web
// Last updated: 2019-09-05
// Developers:
// Dane Iracleous (daneiracleous@gmail.com)
// Ian Aldrighetti (ian.aldrighetti@gmail.com)
// George Flanagin & Digital Gaslight, Inc (george@digitalgaslight.com)
<?php
$json = json_decode('[{
"step": "runSql",
"sql": {
"resource": "literal",
"name": "schema.sql",
"contents": ""
}
}]');
$files = glob( './friends-demo*.sql' );
# Run this script inside a git directory and have Githubs gh command in the path.
import subprocess
import json
from datetime import datetime
import statistics
def run_command(command):
result = subprocess.run(command, shell=True, text=True, capture_output=True)
if result.returncode != 0:
{
"landingPage": "/wp-admin/?welcome=0",
"preferredVersions": {
"php": "8.0",
"wp": "latest"
},
"steps": [
{
"step": "login",
"username": "admin",
{
"landingPage": "/wp-admin/?welcome=0",
"preferredVersions": {
"php": "8.0",
"wp": "latest"
},
"steps": [
{
"step": "login",
"username": "admin",