Skip to content

Instantly share code, notes, and snippets.

View tgeorgiev's full-sized avatar

Tony tgeorgiev

View GitHub Profile
@tgeorgiev
tgeorgiev / network-overlay-active-endpoints.sh
Created September 12, 2016 11:36
Script to reproduce docker network removal issue: network has active endpoints
#!/bin/sh
# for more info see https://github.com/docker/docker/issues/19261
# Provide values to connect to nodes
cert="client.pem"
key="client-key.pem"
connectionstringnode1="-H=node1:2376 --tls --tlscert=$cert --tlskey=$key"
connectionstringnode2="-H=node2:2376 --tls --tlscert=$cert --tlskey=$key"
@tgeorgiev
tgeorgiev / app.js
Created November 26, 2013 22:43
Animate ngView transitions in AngularJS
var resolve = {
delay: function($q, $timeout) {
console.log("delay");
var delay = $q.defer();
$timeout(delay.resolve, 0, false);
return delay.promise;
}
};
angular.module('viewTransitionApp', ['ngRoute', 'ngAnimate'])
@tgeorgiev
tgeorgiev / vCO SSO basic authentication
Last active December 18, 2015 04:59
vCO property to enable basic authentication in sso mode
com.vmware.o11n.sso.basic-authentication.enabled=true