Skip to content
View omg.diff
diff --git a/Gemfile b/Gemfile
index 97406be..96dc4fc 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,7 +11,7 @@ gem 'concurrent-ruby', '~> 1.0.0.pre3', github: 'ruby-concurrency/concurrent-rub
# Active Job depends on the URI::GID::MissingModelIDError, which isn't released yet.
gem 'globalid', github: 'rails/globalid', branch: 'master'
-gem 'rack', github: 'rack/rack', branch: 'master'
+gem 'rack', path: '/Users/aaron/git/rack'
View bm.rb
require 'benchmark'
require 'csv'
GEM_REPO = 'many_gems'
ENV['GEM_HOME'] = GEM_REPO
ENV['GEM_PATH'] = GEM_REPO
N = 15
MEDIAN = N / 2
Gem.clear_paths # clear all of rubygems cache
View blah.diff
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb
index d68fa16..fe4f7a6 100644
--- a/actionpack/lib/action_controller/metal.rb
+++ b/actionpack/lib/action_controller/metal.rb
@@ -259,5 +259,13 @@ module ActionController
lambda { |env| new.dispatch(name, ActionDispatch::Request.new(env)) }
end
end
+
+ def self.dispatch(name, req)
View lisp.jl
type Null
end
nil = Null()
cons = function(x, y)
(m) -> m(x, y)
end
car = function(z)
View bf.rb
l={};s=m=[];i=pc=mc=0
alias p proc
h={'>':p{mc+=1},'<':p{mc-=1},'+':p{m[mc]+=1},'-':p{m[mc]-=1},'.':p{putc m[mc]}}
j={'[':->(i){s<<i;->(){pc=l[pc-1]+1 if m[mc]==0}},']':->(i){o=s.pop;l[o]=i;p{pc=o}}}
ins=DATA.each_char.map{|c|c=:"#{c}";x=(j[c]||->(_){h[c]||p{}}).(i);i+=1;x}
while k=ins[pc];pc+=1;m[mc]||=0;k.();end
__END__
[ This program prints "Hello World!" and a newline to the screen, its
length is 106 active command characters. [It is not the shortest.]
View meeting.markdown
View ssltoruby.diff
diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb
index e1b557c..20dd747 100644
--- a/ext/openssl/lib/openssl/ssl.rb
+++ b/ext/openssl/lib/openssl/ssl.rb
@@ -246,6 +246,43 @@ module OpenSSL
include SocketForwarder
include Nonblock
+ if ENABLED
+ attr_reader :io, :context
View webrickhttp2.rb
require 'webrick'
require 'webrick/https'
require 'ds9'
class HTTP2Server < WEBrick::HTTPServer
SETTINGS = [ [DS9::Settings::MAX_CONCURRENT_STREAMS, 100] ]
class HTTP2Response < WEBrick::HTTPResponse
def initialize config, ctx, stream_id
@ctx = ctx
View h2_puma.rb
require 'socket'
require 'openssl'
require 'puma/server'
require 'ds9'
class Server < DS9::Server
def initialize socket, app
@app = app
@read_streams = {}
@write_streams = {}
View ssl.diff
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 4496d46..89a0ab1 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -660,6 +660,21 @@ ssl_info_cb(const SSL *ssl, int where, int val)
}
}
+static VALUE ossl_sslctx_set_tmp_ecdh(VALUE self, VALUE ecdh)
+{
Something went wrong with that request. Please try again.