This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (c) 2015 | |
# Author : Ajay Ahire, Mohan Bollu | |
# Permission is hereby granted, free of charge, to any person | |
# obtaining a copy of this software and associated documentation files | |
# (the "Software"), to deal in the Software without restriction, | |
# including without limitation the rights to use, copy, modify, merge, | |
# publish, distribute, sublicense, and/or sell copies of the Software, | |
# and to permit persons to whom the Software is furnished to do so, | |
# subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import getopt | |
import ldap | |
import re | |
issueFound = False | |
def Usage(name): | |
print "Usage: " + name + ''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
Used to extrac the source files which Developer has updated/created/modified | |
The branch and the related grep command determined what you are looking for | |
@Baoyin Qiao | |
Note: this script verified using python2.7. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.List; | |
import org.testng.IInvokedMethod; | |
import org.testng.IInvokedMethodListener; | |
import org.testng.ITestResult; | |
import org.testng.Reporter; | |
import org.testng.TestListenerAdapter; | |
import com.vmware.g11n.log.GLogger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import absolute_import, division, print_function, unicode_literals | |
import os | |
import sys | |
import inspect | |
import logging | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Hashtable; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/** | |
# Used to extract schema and data from racetrack to your local mysql. | |
# | |
#Created by [email protected] on 4/3/16/3/16 | |
#/ | |
# connection of Racetrack | |
racetrack_database_server_name==<racetrack server name> | |
racetrack_database_name==<racetrack database name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vmware.g11n; | |
/** | |
* Used to deploy a virtual machine of ova by ovftool. | |
* | |
* Created by [email protected] on 5/8/15 | |
*/ | |
import java.io.BufferedReader; | |
import java.io.IOException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set Args = wscript.Arguments | |
If Args.Count() < 2 Then | |
wscript.echo "Usage: RebootPredict_mainfest.vbs <Abs path to installed manifest> <Abs path to new manifest>" | |
Wscript.Quit 1 | |
End If | |
'Compare two values in format of x.x.x.x#x | |
'True if pre < pro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -u | |
import sys | |
import time | |
from pyVim.connect import GetSi, SmartConnect, Disconnect | |
from pyVim.task import WaitForTasks, WaitForTask | |
from pyVmomi import Vim | |
from vmware import vsi | |
from threading import Thread |