job.apply(:name => 'joe coder', :skills => 'mad rubyist', :salary => '200_000') etc...
Advertise here: Contact FM.
apply(
Employee(name = "joe coder", skills = (Skill("mad rubyist"),)),
Job(requirements = {:Skill("mad rubyist") => true), salary = AnnualSalary(USD(80000.0)), location = Cities::NewYork::Midtown
)
);
Kids these days think everything should be a member, god damn OOP.
def dec_rot13(ct):
pt = "" // plain text
for(c in ct) { pt.append(chr(asc(c) + 32)); }
return pt
from cgi import escapeThen just type
def format_for_mefi(str):
str = escape(str)
str = str.replace('\t', ' ')
str = '<br />'.join(str.splitlines())
str = '<pre>%s</pre>' % str
return str
print format_for_mefi(r''{paste code here}'') and paste the returned text into Mefi's text box.
Cute.
posted by null terminated at 11:22 PM on December 7, 2006 [1 favorite]