Skip to content

Instantly share code, notes, and snippets.

Andy quantumew

Block or report user

Report or block quantumew

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
cpswan /
Last active Feb 5, 2016
Get a VNS3 clientpack
command -v openvpn >/dev/null 2>&1 || { echo "OpenVPN should be installed first. Aborting." >&2; exit 1; }
command -v curl >/dev/null 2>&1 || { echo "This script requires curl, but it's not installed. Aborting." >&2; exit 1; }
if [ -e /etc/openvpn/clientpack.ip ]; then
echo "VNS3 Clientpack already installed"
CLIENTPACKJSON=`curl -k -X POST -u api:$APIPW -H 'Content-Type: application/json' https://$MGRIP:8000/api/clientpacks/next_available`
l15n /
Created Jul 13, 2012 — forked from jasonrudolph/
List remote Git branches and the last commit's author and author date for each branch. Sort by most recent commit's author date.
# Credit
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ai %ar by %an" $branch | head -n 1` \\t$branch; done | sort -r
You can’t perform that action at this time.