View gist:7127853
$ openssl s_client -connect rubygems.org:443 -debug -msg
CONNECTED(00000003)
write to 0xb92060 [0xbb2f30] (309 bytes => 309 (0x135))
0000 - 16 03 01 01 30 01 00 01-2c 03 03 52 68 4c 7f bb ....0...,..RhL..
0010 - 25 c9 a9 52 57 c5 34 f2-c3 b9 94 a7 ce a9 8b 8d %..RW.4.........
0020 - a8 5e fc b5 6f e4 87 5f-98 22 3a 00 00 94 c0 30 .^..o.._.":....0
0030 - c0 2c c0 28 c0 24 c0 14-c0 0a 00 a3 00 9f 00 6b .,.(.$.........k
0040 - 00 6a 00 39 00 38 00 88-00 87 c0 32 c0 2e c0 2a .j.9.8.....2...*
0050 - c0 26 c0 0f c0 05 00 9d-00 3d 00 35 00 84 c0 12 .&.......=.5....
0060 - c0 08 00 16 00 13 c0 0d-c0 03 00 0a c0 2f c0 2b ............./.+
View gist:7127720
$ openssl s_client -connect rubygems.org:443 -debug -msg
CONNECTED(00000003)
write to 0xcb8060 [0xcd8f30] (309 bytes => 309 (0x135))
0000 - 16 03 01 01 30 01 00 01-2c 03 03 52 68 47 d9 e4 ....0...,..RhG..
0010 - 39 d3 25 3a a8 e5 36 90-4b 63 9a f1 bf 55 57 a0 9.%:..6.Kc...UW.
0020 - a8 28 66 f2 b1 42 92 5f-2e 5b f2 00 00 94 c0 30 .(f..B._.[.....0
0030 - c0 2c c0 28 c0 24 c0 14-c0 0a 00 a3 00 9f 00 6b .,.(.$.........k
0040 - 00 6a 00 39 00 38 00 88-00 87 c0 32 c0 2e c0 2a .j.9.8.....2...*
0050 - c0 26 c0 0f c0 05 00 9d-00 3d 00 35 00 84 c0 12 .&.......=.5....
0060 - c0 08 00 16 00 13 c0 0d-c0 03 00 0a c0 2f c0 2b ............./.+
View gist:7126877
$ openssl s_client -connect s3.amazonaws.com:443
CONNECTED(00000003)
depth=3 C = US, O = "VeriSign, Inc.", OU = Class 3 Public Primary Certification Authority
verify return:1
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 2006 VeriSign, Inc. - For authorized use only", CN = VeriSign Class 3 Public Primary Certification Authority - G5
verify return:1
depth=1 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = Terms of use at https://www.verisign.com/rpa (c)10, CN = VeriSign Class 3 Secure Server CA - G3
verify return:1
depth=0 C = US, ST = Washington, L = Seattle, O = Amazon.com Inc., CN = s3.amazonaws.com
verify return:1
View gist:7122210
ActiveSupport::Notifications.subscribe('deprecation.rails') do |name, start, finish, id, payload|
Honeybadger.notify(
error_class: "DEPRECATION WARNING",
error_message: payload[:message],
backtrace: payload[:callstack]
)
end
View gist:7099162
<- "GET /quick/Marshal.4.8/stackable_flash-0.0.7.gemspec.rz HTTP/1.1\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nUser-Agent: Ruby\r\nConnection: keep-alive\r\nKeep-Alive: 30\r\nHost: rubygems.org\r\n\r\n"
-> "HTTP/1.1 302 Moved Temporarily\r\n"
-> "Server: nginx\r\n"
-> "Date: Tue, 22 Oct 2013 11:37:03 GMT\r\n"
-> "Content-Type: text/html\r\n"
-> "Content-Length: 154\r\n"
-> "Connection: keep-alive\r\n"
-> "Location: https://s3.amazonaws.com/production.s3.rubygems.org/quick/Marshal.4.8/stackable_flash-0.0.7.gemspec.rz\r\n"
-> "\r\n"
reading 154 bytes...
View rubygems ssl
$ openssl s_client -connect rubygems.org:443
CONNECTED(00000003)
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify return:1
depth=1 C = US, O = "GeoTrust, Inc.", CN = RapidSSL CA
verify return:1
depth=0 serialNumber = RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD, OU = GT35895174, OU = See www.rapidssl.com/resources/cps (c)13, OU = Domain Control Validated - RapidSSL(R), CN = *.rubygems.org
verify return:1
---
Certificate chain
View issue5717.rb
gem "rails", "~> 3.2.0"
require "active_record"
require "logger"
ActiveRecord::Base.establish_connection(
adapter: "sqlite3",
database: ":memory:"
)
puts ActiveRecord::VERSION::STRING
View test.rb
class Foo
def to_io
puts "to_io"
IO.pipe.first
end
end
IO.select([Foo.new])
View 3-2-stable.txt
Generating data...
Inserting 20000 users and exhibits...
Calculating -------------------------------------
Model#id 6634 i/100ms
Model.new (instantiation)
1592 i/100ms
Model.new (setting attributes)
764 i/100ms
Model.first 147 i/100ms
Model.all limit(100) 4 i/100ms
View gist:5147785
.*** buffer overflow detected ***: spring app | rails-3-2 | started 2 secs ago | test mode terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7faab4882807]
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7faab4881700]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a7be)[0x7faab48827be]
/home/travis/.rvm/rubies/ruby-2.0.0-p0/bin/../lib/libruby.so.2.0(rb_fd_set+0x7b)[0x7faab4cdf2eb]
/home/travis/.rvm/rubies/ruby-2.0.0-p0/bin/../lib/libruby.so.2.0(+0x8f0de)[0x7faab4bc70de]
/home/travis/.rvm/rubies/ruby-2.0.0-p0/bin/../lib/libruby.so.2.0(rb_ensure+0xdb)[0x7faab4ba508b]
/home/travis/.rvm/rubies/ruby-2.0.0-p0/bin/../lib/libruby.so.2.0(+0x8be7d)[0x7faab4bc3e7d]