Skip to content

Instantly share code, notes, and snippets.

Blake Ferbla

Block or report user

Report or block Ferbla

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Ferbla
Ferbla / remotehintpoll.php
Last active Aug 23, 2017 — forked from lgaetz/remotehintpoll.php
Simple PHP script that checks the extension status at a remote PBX and updates a custom hint on the local pbx for proper BLF operation.
View remotehintpoll.php
<?php
/**** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
* remotehintpoll.php
*
* Created by Lorne Gaetz lgaetz@sangoma.com
*
* Licensed under GNU GPL version 2 or any later verison.
*
* Usage:
View snapshot_datacenter.py
import salt.client
import salt.cloud
import sys
import time
def usage():
print "Command Usage: python snapshot_datacenter.py <target> <form>"
print "Target: What vms you would like to target"
print "Form: What type your targeting, like Grains, Lists, Compounds, Etc."
You can’t perform that action at this time.