Skip to content

Instantly share code, notes, and snippets.

View stevenschlansker's full-sized avatar

Steven Schlansker stevenschlansker

  • Wholesail
  • San Francisco, CA
View GitHub Profile
import java.util.Collections;
import java.util.UUID;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.ProvisionException;
import org.junit.Test;
http://www.hootjudkins.com/furniture/dining/chairs/solid-oak-zahara-side-chair
http://www.hootjudkins.com/furniture/dining/chairs/solid-cherry-fergus-county-side-chair-coffee-finish
http://www.hootjudkins.com/furniture/dining/chairs/solid-alder-bistro-side-chair-antique-cherry-finish
http://www.hootjudkins.com/furniture/dining/chairs/solid-parawood-san-remo-side-chair-cinnamon-and-espresso-finish
import org.apache.http.client.params.ClientPNames;
import org.apache.http.params.HttpParams;
@SuppressWarnings("deprecation")
class AllowRedirectHttpParams implements HttpParams
{
private final HttpParams delegate;
AllowRedirectHttpParams(HttpParams delegate)
{
diff --git a/graph/pull.go b/graph/pull.go
index 716a27c..29eb232 100644
--- a/graph/pull.go
+++ b/graph/pull.go
@@ -158,7 +158,7 @@ func (s *TagStore) CmdPull(job *engine.Job) engine.Status {
}
}
- if err = s.pullRepository(r, job.Stdout, localName, remoteName, tag, sf, job.GetenvBool("parallel"), mirrors); err != nil {
+ if err = s.pullRepository(r, job.Stdout, localName, remoteName, tag, sf, job.GetenvBool("parallel"), s.mirrors); err != nil {
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.Array;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Collection;
import com.google.common.base.Functions;
{
"responseCode": 200,
"requestUri": "http://localhost:8080/json-api/v3/user/904955/feed?euidOverride=904955",
"requestStart": 1309543645803,
"responseEnd": 1309543672717,
"requests": [
{
"requestUri": "client:RatingsStorage#getFirstRatings",
"requestStart": 1309543663146,
"responseEnd": 1309543663204,
<profiles>
<profile>
<id>verify-lessio</id>
<dependencies>
<dependency>
<groupId>com.kaching.platform</groupId>
<artifactId>kawala-testing</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>test</scope>
for machine in db6 s00{10,11,12,13}
do
for slot in s{0,1,2,3,4}
do
rsync -azvP $machine:/home/deploy/$machine-$slot/current/launcher.log $machine-$slot.log
done
done
from ness.rating import RatingClient, RatingClientModule
from ness.user import UserClient, UserClientModule
shell.setEnvironment("staging/DEPLOY-83/json-api")
shell.registerModule(UserClientModule())
shell.registerModule(RatingClientModule())
shell.reload()
uc = injector.getInstance(UserClient)
rc = injector.getInstance(RatingClient)
from ness.query.util import CallbackCollector
from ness.user.query import AccountQuery
CREATE TEMPORARY TABLE foo (a BIGINT);
INSERT INTO foo VALUES(null);
INSERT INTO foo VALUES(null);
INSERT INTO foo VALUES(null);
INSERT INTO foo VALUES(null);
SELECT * FROM foo;