Skip to content

Instantly share code, notes, and snippets.

@alepulver
alepulver / rspec.log
Created May 4, 2013 16:03
jruby_support branch for parallel_tests, rspec failures
$ time rspec
[...]
Failures:
1) CLI runs faster with more processes
Failure/Error: (Time.now - t).should <= expected
expected: <= 10
got: 24.543
Run options: exclude {:not_jruby=>true, :deprecated=>true, :broken=>true}
./spec/models/editable_section/export_process_spec.rb:0
Run options: exclude {:not_jruby=>true, :deprecated=>true, :broken=>true}
./spec/bxml/account_balance_finder_spec.rb:15.820000000000002
./spec/bxml/client/login_shared_examples.rb:1.283
./spec/bxml/benefit_enroll_key_finder_spec.rb:1.983
./spec/bxml/client/bxml_shared_examples.rb:0.524
./spec/bxml/client/benefit_enroll_operation_spec.rb:3.538
./spec/bxml/client/delete_dependent_operation_spec.rb:0.28800000000000003
./spec/bxml/client/employee_authentication_service_spec.rb:1.2439999999999998
@alepulver
alepulver / blah-safe.har
Created November 11, 2013 13:35
HAR that can't be imported into gatling recorder
{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2013-11-11T12:53:59.304Z",
@alepulver
alepulver / encuesta.rb
Created July 28, 2014 19:27
Encuesta con Sinatra
require 'sinatra'
require 'haml'
require 'yaml'
# TODO
# - agregar promedio hasta el momento
# - verificar con JS que los forms al comienzo no estén vacíos
# - guardar id en forma incremental (contador)
Encuesta = Struct.new :persona, :paresPuntuados, :ip
@alepulver
alepulver / gbm_caret_issue.R
Created April 22, 2015 22:11
Data to reproduce gbm error with caret
issueDataframe <-
structure(list(relatedness_cottle = c(6L, 8L, 8L, 8L, 6L, 0L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 6L, 0L, 0L, 0L, 8L, 8L, 0L, 8L, 8L,
0L, 0L, 8L, 6L, 8L, 6L, 6L, 0L, 6L, 8L, 0L, 6L, 8L, 0L, 0L, 6L,
0L, 0L, 0L, 0L, 0L, 0L, 6L, 0L, 0L, 6L, 0L, 0L), dominance_cottle = c(6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 4L, 4L, 6L, 4L, 6L, 6L, 4L, 4L, 6L,
6L, 6L, 4L, 6L, 6L, 6L, 4L, 6L, 6L, 6L, 6L, 6L, 4L, 6L, 6L, 4L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 4L, 4L, 4L, 6L, 6L, 6L, 4L, 6L, 6L,
4L), time_spent = c(12340.3333333333, 26208.6666666667, 26208.6666666667,
26208.6666666667, 12340.3333333333, 20822, 20822, 20822, 26832.3333333333,