This file contains 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
... | |
[alias] | |
... | |
up = !sh -c 'export bn=`git rev-parse --abbrev-ref HEAD` && git branch --set-upstream $bn origin/$bn' - | |
... |
This file contains 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
.check(status.is(200), | |
header("Set-cookie"). | |
transform((s: String) => "Segments match"). | |
is((s:Session) => { | |
var cookVal = ""; | |
for (cookie <- CookieHandling.getStoredCookies(s, urlBase)){ | |
println(cookie.getName()+" -> "+cookie.getValue()) | |
if(cookie.getName() == "aisakosSegs") | |
cookVal = cookie.getValue(); | |
} |
This file contains 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
Edit /etc/apt/sources.list | |
Add deb http://backports.debian.org/debian-backports squeeze-backports main | |
wget -O - http://debian.hyperdex.org/hyperdex.gpg.key \ | |
| apt-key add - | |
wget -O /etc/apt/sources.list.d/hyperdex.list \ | |
http://debian.hyperdex.org/hyperdex.list |
This file contains 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
# FOR CENTOS 6 | |
# Andrew Diller Jan 2012 | |
# Get EPEL Repo installed | |
rpm --httpproxy proxy --httpport 3128 --import https://fedoraproject.org/static/0608B895.txt | |
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm | |
vi /etc/yum.repos.d/epel.repo |
This file contains 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
Errno::ECONNRESET (Connection reset by peer): | |
/usr/lib/ruby/1.9.1/net/protocol.rb:141:in `read_nonblock' | |
/usr/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill' | |
/usr/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil' | |
/usr/lib/ruby/1.9.1/net/protocol.rb:132:in `readline' | |
/usr/lib/ruby/1.9.1/net/http.rb:2562:in `read_status_line' | |
/usr/lib/ruby/1.9.1/net/http.rb:2551:in `read_new' | |
/usr/lib/ruby/1.9.1/net/http.rb:1319:in `block in transport_request' | |
/usr/lib/ruby/1.9.1/net/http.rb:1316:in `catch' | |
/usr/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request' |
This file contains 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
62 CLOSE_WAIT | |
16 CLOSING | |
1 established) | |
1475 ESTABLISHED | |
41 FIN_WAIT1 | |
31 FIN_WAIT2 | |
1 Foreign | |
20 LAST_ACK | |
10 LISTEN | |
134 SYN_RECV |
This file contains 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
/** | |
* Web root | |
*/ | |
@Stateless | |
@Path("/") | |
public class Marker { | |
//webmethods ... |
This file contains 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
/** | |
* Web root | |
*/ | |
@Stateless | |
@Path("/") | |
public class Marker { | |
private static final Logger logger = Logger.getLogger("com.ezakus.api.marker"); | |
@Inject |
This file contains 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
DependencyResolvers | |
.use(MavenDependencyResolver.class) | |
.loadEffectivePom("pom.xml") | |
.up() | |
.artifact("com.ezakus.api:hit:jar:1.0.5") | |
.artifact("com.ezakus.core:cookie:jar:0.0.1-SNAPSHOT") | |
.resolveAs(GenericArchive.class)) |
This file contains 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
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.jboss.arquillian</groupId> | |
<artifactId>arquillian-bom</artifactId> | |
<version>1.0.0.CR7</version> | |
<scope>import</scope> | |
<type>pom</type> | |
</dependency> | |
</dependencies> |
NewerOlder