Skip to content

Instantly share code, notes, and snippets.

View thomaspouncy's full-sized avatar

Thomas Pouncy thomaspouncy

View GitHub Profile
@thomaspouncy
thomaspouncy / gist:e620d32d636f764df261
Created January 5, 2016 20:35
Natural Language Processing with Spark Code
import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
import org.apache.spark.SparkConf
import org.apache.spark.sql._
import org.apache.spark.sql.types._
/* We use this to pass configuration properties to Vertica and CoreNLP */
import java.util.{Properties, UUID}
@thomaspouncy
thomaspouncy / Sauce Capybara trace
Created March 7, 2011 19:38
Sauce Capybara trace
Timeout::Error (Timeout::Error)
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:2200:in `read_new'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request'
/Users/thomaspouncy/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:1169:in `request'
/Users/thomaspouncy/.rvm/gems/ruby-1.9.2-p0/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb:17:in `request'