Skip to content

Instantly share code, notes, and snippets.

View rainerborene's full-sized avatar

Rainer Borene rainerborene

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.032740931957960129</real>
<key>Green Component</key>
<real>0.032747700810432434</real>
package rookie
import (
"bufio"
"bytes"
"errors"
"io"
"reflect"
)
2013/08/31 17:12:15 listening on 5572, balancing localhost
2013/08/31 17:12:15 &{{0xc200088090}}
2013/08/31 17:12:16 &{{0xc200088120}}
2013/08/31 17:12:16 &{{0xc2000881b0}}
2013/08/31 17:12:16 &{{0xc200088240}}
2013/08/31 17:12:16 &{{0xc2000882d0}}
2013/08/31 17:12:16 &{{0xc200088360}}
2013/08/31 17:12:16 &{{0xc2000883f0}}
2013/08/31 17:12:16 &{{0xc200088480}}
2013/08/31 17:12:16 &{{0xc200088510}}
2013/08/31 17:06:05 listening on 5572, balancing localhost
2013/08/31 17:06:05 &{{0xc200088090}}
2013/08/31 17:06:05 &{{0xc200088120}}
2013/08/31 17:06:05 &{{0xc2000881b0}}
2013/08/31 17:06:05 &{{0xc200088240}}
2013/08/31 17:06:05 &{{0xc2000882d0}}
2013/08/31 17:06:05 &{{0xc200088360}}
2013/08/31 17:06:05 &{{0xc2000883f0}}
2013/08/31 17:06:05 &{{0xc200088480}}
2013/08/31 17:06:05 &{{0xc200088510}}
package main
import (
"io"
"log"
"net"
"net/url"
"os"
"strings"
"sync"
Stacktrace (most recent call first):
File "active_record/associations/preloader/association.rb", line 88, in block in associated_records_by_owner
owners_map[owner_key].each do |owner|
File "active_record/associations/preloader/association.rb", line 85, in each
records.each do |record|
File "active_record/associations/preloader/association.rb", line 85, in associated_records_by_owner
records.each do |record|
File "active_record/associations/preloader/collection_association.rb", line 13, in preload
associated_records_by_owner.each do |owner, records|
@rainerborene
rainerborene / gist:5764865
Created June 12, 2013 12:35
active_record/connection_adapters/postgresql_adapter.rb in block in exec_query at line 663 NoMethodError: undefined method `fields' for nil:NilClass
Stacktrace (most recent call first):
File "active_record/connection_adapters/postgresql_adapter.rb", line 663, in block in exec_query
ret = ActiveRecord::Result.new(result.fields, result_as_array(result))
File "active_record/connection_adapters/abstract_adapter.rb", line 280, in block in log
:binds => binds) { yield }
File "active_support/notifications/instrumenter.rb", line 20, in instrument
yield
File "active_record/connection_adapters/abstract_adapter.rb", line 275, in log
@instrumenter.instrument(
module ActiveRecord
module ConnectionAdapters
class PostgreSQLAdapter < AbstractAdapter
alias_method :old_translate_exception, :translate_exception
def translate_exception(exception, message)
return exception unless exception.respond_to?(:result)
old_translate_exception(exception, message)
end
end
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
tar xf /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc
perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc
Configuring for darwin64-x86_64-cc
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
tar xf /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
Configuring for darwin64-x86_64-cc
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-md2 [default] OPENSSL_NO_MD2 (skip dir)