My Recent Pastes (7 and counting)
Pastes by Evan Phoenix (7 and counting)
Below are the 7 most recent pasties by Evan Phoenix.
May 08, 2008
6:29PM EDT
by Evan Phoenix
View all 17 lines
def common_sub(*strings) reg = Regexp.new strings.shift.split(//).map { |i| "#{i}?" }.join("") c = nil strings.each do |s| next unless m = reg.match(s)
April 17, 2008
3:17AM EDT
by Evan Phoenix
View all 35 lines
class Class def virtual cls = Class.new(self) name = self.name Object.send :remove_const, name
January 05, 2008
4:55PM EDT
by Evan Phoenix
View all 42 lines
TEST = "OUT" class A; end class StaticScope
December 13, 2007
9:10PM EDT
by Evan Phoenix
View all 161 lines
require 'time' git = ARGV.shift svn = ARGV.shift
December 10, 2007
4:39PM EDT
by Evan Phoenix
View all 7 lines
def kind_of?(cls) Rubinius.asm(cls) do |c| c.bytecode(self) push :self kind_of
October 29, 2007
11:32PM EDT
by Evan Phoenix
View all 84 lines
/* * Arguments passed: %rdi, %rsi, %rdx, %rcx, %r8, %r9, stack (r-to-l) * Return: %rax, %rdx, %xmm0, %xmm1, %st0, %st1 * * Caller saved: r10-r11, xmm4-5, xmm6-15 (high 64)
