Skip to content

Instantly share code, notes, and snippets.

View heavygale's full-sized avatar

Max heavygale

View GitHub Profile
// replace everything that's written in uppercase with your own values
// USERNAME@DOMAIN.TLD needs to be a user who has administrative privileges
function jabber_add_user($username, $password)
{
$data = json_encode(array('password' => $password));
curl_setopt_array(
$ch = curl_init(),
array(
CURLOPT_RETURNTRANSFER => true,
### Keybase proof
I hereby claim:
* I am heavygale on github.
* I am heavygale (https://keybase.io/heavygale) on keybase.
* I have a public key whose fingerprint is B036 3FD8 3482 2B06 97BC 3CF6 FF44 AF36 EEDD E09C
To claim this, I am signing this object: