Skip to content

Instantly share code, notes, and snippets.

and here is the same request from 208.43.121.200 (and it fails validation because request chain is terminated with content-type text/html ):
curl -i -c poker_cookies.txt -L -H'User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729)' 'http://api.bizographics.com/v2/getuid?api_key=3d2e5d0fe63241629dab1e775752758a&redirect_url=http%3A%2F%2Ftags.bluekai.com%2Fsite%2F23060%3Fid%3D%24UID%26kid%3D0'
HTTP/1.1 302 Found
Date: Thu, 09 Jul 2015 01:02:31 GMT
Location: http://api.bizographics.com/v2/getuid?api_key=3d2e5d0fe63241629dab1e775752758a&redirect_url=http%3A%2F%2Ftags.bluekai.com%2Fsite%2F23060%3Fid%3D%24UID%26kid%3D0&3pc=true
Server: nginx
Set-Cookie: BizoID=9993950c-83c6-4b58-bf74-b7315e663a2f; Domain=.bizographics.com; Expires=Thu, 07-Jan-2016 13:02:31 GMT; Path=/
Content-Length: 0
Connection: keep-alive
// with 2.6.0
function com_google_gwt_dom_client_StyleInjector_StyleInjectorImpl(){
switch (permutationId) {
case 0:
case 4:
return new StyleInjector$StyleInjectorImpl_0;
}
return new StyleInjector$StyleInjectorImplIE_0;
}
import scala.collection.mutable.Buffer
/**
* An object into a process under to test to, at test time, purposefully cause it to fail.
*
* A typical usage might be:
*
* class SomeProcess(..., testBaton = NoopBaton() {
* def run() {
* val items = findSomeWorkItems()
@stephenh
stephenh / font-awesome.css
Created May 8, 2015 15:35
font awesome stub
@external *;
.fa {}
.fa-2x {}
.fa-3x {}
.fa-4x {}
.fa-5x {}
.fa-adjust {}
.fa-adn {}
.fa-align-center {}
[stephen@sh7 bindgen]$ ant jar compile-example
Buildfile: build.xml
compile:
jar:
[jar] Building jar: c:\svn\exigence\bindgen\bin\bindgen.jar
[copy] Copying 1 file to C:\Users\stephen\.bd
compile-example:
import java.util.ArrayList;
import java.util.List;
import junit.framework.Assert;
import junit.framework.TestCase;
public class MapTest2 extends TestCase {
private static final FilterImpl staticFilter = new FilterImpl();
import scala.collection.mutable.ListBuffer
object PropertyObjectsTest {
def main(args: Array[String]): Unit = {
// First using explicit get/set methods
val p1 = new Parent
p1.name.set("Bob")
println(p1.name.get)
val c1 = new Child
<html>
<body>
Tables (desired):
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<div>AAA</div>
@stephenh
stephenh / Foo.scala
Created July 23, 2011 18:19
handlers eagerly invoked
package foo
trait SAM {
def onSam(): Unit
}
object Foo {
def main(args: Array[String]): Unit = {
doFunction { println("1"); println("2") }
// got <function0>
@stephenh
stephenh / sp1
Created July 31, 2011 18:43
DefaultKeySet bug
// Debug output from inside of visit(JClassType type, Context cxt) in ControlFlowAnalyzer.java
On split point 20
Visiting final class LinkedHashMap$$anon$1 extends Object implements Iterator
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel$$anon$4::onSuccess
com.google.gwt.sample.showcase.client.content.panels.CwAbsolutePanel::$onInitialize
scala.collection.mutable.LinkedHashMap::addString
scala.collection.MapLike$class::addString
scala.collection.mutable.LinkedHashMap::iterator
Visiting class MapLike$DefaultKeySet extends Object implements Set, ScalaObject