Skip to content

Instantly share code, notes, and snippets.

View boopathid's full-sized avatar

Boopathi Duraisamy boopathid

  • VMware
  • Palo Alto
View GitHub Profile
@andyvanee
andyvanee / .ssh_config
Last active November 30, 2023 04:19
Fix unix_listener too long for Unix domain socket
Host *
ControlPath ~/.ssh/control/%C
ControlMaster auto
@jessehu
jessehu / gist:2e28b2d8ab454e67712cd943a8500512
Created October 26, 2016 02:40
List linked mode vCenter Servers 6.0 or other Service Endpoints from PSC
from pyVim import connect
import requests
import sys, ssl
from xml.etree.ElementTree import XML, fromstring, tostring
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
server=sys.argv[1]
protocol='https'