Skip to content

Instantly share code, notes, and snippets.

<?php
require_once __DIR__ . "/../plugins/grabwp-tenancy/grabwp-tenancy.php";
?>
<?php
// This code is released into the public domain.
// I will not be held responsible for what this code does.
// I release myself of all legal responsibilites to this code.
/** These links helped in figuring this all out :)
* wp_xmlrpc_server::login
* https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-includes/class-wp-xmlrpc-server.php#L182
*
* Support Forum link
@taicv
taicv / bingart-api.md
Created March 1, 2025 08:37 — forked from hoangdh/bingart-api.md
Tạo hình ảnh bằng Bing Art thông qua API.

Tạo hình ảnh bằng Bing Art AI của Microsoft thông qua API

Script API

from flask import Flask, request, jsonify, render_template
from bingart import BingArt

# Replace your cookie
myCookie = ''
@taicv
taicv / wp-cli-oneclick-install.sh
Created April 7, 2020 16:05 — forked from petertwise/wp-cli-oneclick-install.sh
Customized wordpress install script with WP CLI
#!/bin/bash
# Install Wordpress with Square Candy default using WP CLI
read -p 'Site URL (example.com): ' url
read -p 'Site Title: ' title
read -p 'WP Admin username: ' admin_user
read -sp 'WP Admin password: ' admin_password
read -p '
WP Admin email: ' admin_email
read -p 'Database name: ' dbname
read -p 'Database user: ' dbuser

Keybase proof

I hereby claim:

  • I am taicv on github.
  • I am taicv (https://keybase.io/taicv) on keybase.
  • I have a public key ASBPjDh9vD5QcJszsw92xAd1nmsLCZDduUElZLeKTPG76wo

To claim this, I am signing this object: