My Recent Pastes (234 and counting)

Recent Pasties by brixen (234 and counting)

Pages: 1 3 4 5 16

Below are summaries of the 15 most recent pasties by brixen.

November 14, 2008
12:33PM EDT
by brixen

1
2
3
4
5
euler:rubinius brian$ echo "p 1" > call.rb
euler:rubinius brian$ bin/rbx describe call.rb 
File: call.rb
Sexp:
s(:call, nil, :p, s(:arglist, s(:fixnum, 1)))

November 13, 2008
4:47PM EDT
by brixen

1
2
3
4
5
euler:rubinius brian$ SYDNEY=1 bin/mspec ci spec/frozen/1.8/core/array/append_spec.rb
rubinius 0.10.0 (ruby 1.8.6 compatible) (5dd18fe75) (12/31/2009) [i686-apple-darwin9.5.0]
..

Finished in 0.066001 seconds

November 13, 2008
4:39PM EDT
by brixen

1
2
3
4
5
euler:rubinius brian$ bin/mspec -fs spec/frozen/1.8/core/array/append_spec.rb
rubinius 0.10.0 (ruby 1.8.6 compatible) (5dd18fe75) (12/31/2009) [i686-apple-darwin9.5.0]

Array#<<
- pushes the object onto the end of the array

November 07, 2008
11:32AM EDT
by brixen

1
2
3
4
5
$ bin/rbx gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.1.1.1780
  - RUBY VERSION: 1.8.6 (12/31/2009 patchlevel 111) [i686-apple-darwin9.5.0]
  - INSTALLATION DIRECTORY: /usr/local/lib/rubinius/gems/1.8

November 03, 2008
5:14PM EDT
by brixen

1
2
3
4
5
## the code
class MilitaryBase
  def say(arg)
    p arg
  end

November 03, 2008
5:12PM EDT
by brixen

1
2
3
4
5
## the code
class MilitaryBase
  def say(arg)
    p arg
  end

November 03, 2008
5:11PM EDT
by brixen

1
2
3
4
5
## the code
class MilitaryBase
  def say(arg)
    p arg
  end

November 03, 2008
2:31PM EDT
by brixen

1
2
3
4
5
## ruby_parser
euler:rubinius brian$ SYDNEY=1 echo "super(*[1])" | bin/rbx spec/parser/run.rb -d -R         
s(:super, s(:array, s(:splat, s(:array, s(:lit, 1)))))
euler:rubinius brian$ SYDNEY=1 echo "super([*[1]])" | bin/rbx spec/parser/run.rb -d -R
s(:super, s(:array, s(:splat, s(:array, s(:lit, 1)))))

October 31, 2008
6:45PM EDT
by brixen

1
2
3
4
5
diff --git a/kernel/bootstrap/hash.rb b/kernel/bootstrap/hash.rb
index ca1a696..0ee3fd5 100644
--- a/kernel/bootstrap/hash.rb
+++ b/kernel/bootstrap/hash.rb
@@ -106,7 +106,7 @@ class Hash

October 31, 2008
11:31AM EDT
by brixen

1
2
3
4
5
Fri Oct 31 09:26:30 -0700 2008: Read error: #<NoMethodError: undefined method `last' for #<Hash:0xb7b1c1ac>>
/var/lib/gems/1.8/gems/irc_cat-0.2.0/lib/irc_cat/http_server/github.rb:14:in `process'
/var/lib/gems/1.8/gems/irc_cat-0.2.0/lib/irc_cat/http_server/github.rb:13:in `each'
/var/lib/gems/1.8/gems/irc_cat-0.2.0/lib/irc_cat/http_server/github.rb:13:in `process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/http_response.rb:65:in `start'

October 31, 2008
1:06AM EDT
by brixen

1
2
3
4
5
# IRC connection 
irc:
  host: 'irc.freenode.org'
  port: '6667'
  nick: spec_neko

October 29, 2008
8:06PM EDT
by brixen

1
2
3
4
5
VERSION = mri_rel_1_9
CMD     = ~/.multiruby/install/mri_rel_1_9/bin/ruby /usr/bin/mspec-run rubyspec/1.8/core/string/modulo_spec.rb

.....................E...F.EEEE...F.FF...F.......FFFFE.E.E.E.E.E.E.EE.EE.EE.EE.EE.

October 29, 2008
5:51PM EDT
by brixen

1
2
3
4
5
## ruby

class RealMcCoy
  def to_f
    3.14

October 29, 2008
2:25PM EDT
by brixen

1
2
3
4
5
## running a simple spec with RP
euler:rubinius brian$ time bin/mspec spec/frozen/1.8/core/array/append_spec.rb
rubinius 0.10.0 (ruby 1.8.6 compatible) (6c295735c) (12/31/2009) [i686-apple-darwin9.5.0]
...

October 29, 2008
2:17PM EDT
by brixen

1
2
3
4
5
euler:rubinius brian$ time bin/mspec spec/frozen/1.8/core/array/append_spec.rb
rubinius 0.10.0 (ruby 1.8.6 compatible) (6c295735c) (12/31/2009) [i686-apple-darwin9.5.0]
...

Finished in 0.027495 seconds

Next page