Skip to content

Instantly share code, notes, and snippets.

View ryan-allen's full-sized avatar
🐢
Turtles

Ryan Allen ryan-allen

🐢
Turtles
View GitHub Profile
@ryan-allen
ryan-allen / 1_pi.rb
Created November 16, 2010 02:16 — forked from geelen/1_pi.rb
def poop1(x,y)
Math.sqrt(x * x + y * y)
end
def poop2(x,y)
poop1(x,y) < 1
end
def random_poop
rand * 2 - 1
# I want to say all four tabs have the same set of fields
has_dialog :add_reagent_dialog do
@common_bits = lambda do
has_drop_down :default_staining_protocol1
has_drop_down :default_staining_protocol2
has_drop_down :default_staining_protocol3
has_drop_down :default_staining_protocol4
end
@ryan-allen
ryan-allen / gist:7230
Created August 26, 2008 07:43 — forked from adzap/gist:7229
~. ..~..
/´¯/) CHOO CHOO!
,/¯ /
/ /´¯/'¯¯'/´¯¯¯`·¸
________ / / / / /¨¯\________________
\ ('( ´ ´ ¯~/' ') /
\ O O O \ O O O O O O O O O O O / O O O O O O /
\ '' \ _ ·´ /
~~~\ \ ( /~~~~~~~~~~~~~~~~~~~~
\________\______________\________________/