Skip to content

Instantly share code, notes, and snippets.

View vcsjones's full-sized avatar
㊙️

Kevin Jones vcsjones

㊙️
View GitHub Profile
SELECT
up.UserId
,XOR(up.Flags)
FROM
UserPermissions up
GROUP BY
up.UserId
@vcsjones
vcsjones / updatesauceLabsresults
Created January 3, 2012 19:48 — forked from tarun3kumar/updatesauceLabsresults.java
Update SauceLabs Results
```java
@AfterMethod(alwaysRun = true)
public void shutDownDriver(ITestResult result) throws IOException {
}@AfterMethod(alwaysRun = true)
public void shutDownDriver(ITestResult result) throws IOException {
// Update SauceLabs result
if(testbed.equals("saucelab")) {
String jobID = ((RemoteWebDriver)driver).getSessionId().toString();
SauceREST client = new SauceREST("username", "key");