Skip to content

Commit

Permalink
Update everything to make it ready for public consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
olabini committed Apr 6, 2009
1 parent d428cc6 commit c66c74b
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 45 deletions.
11 changes: 11 additions & 0 deletions TIMES
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- /
Rails: 500ms
Cpu: 700ms

- /blog/2010
Rails: 150ms
Cpu: 616ms

- /blog/2010/4001
Rails: 120ms
Cpu: 290ms
42 changes: 21 additions & 21 deletions app/controllers/test_controller.rb
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
class TestController < ApplicationController
layout 'blog'

def index
render :text => "Hello world! Current date and time is: #{Time.now}"
end
# def index
# render :text => "Hello world! Current date and time is: #{Time.now}"
# end

def foo
@blarg = Time.now
end
# def foo
# @blarg = Time.now
# end

def ruby
if request.post?
@query = params[:query]
begin
@result = Object.new.instance_eval(@query)
rescue Exception => e
@result = e
end
end
end
# def ruby
# if request.post?
# @query = params[:query]
# begin
# @result = Object.new.instance_eval(@query)
# rescue Exception => e
# @result = e
# end
# end
# end

def run_tests
require 'yak_test'
render :text => YAKTest.run_tests(params[:yak])
headers['Content-type'] = 'text/plain'
end
# def run_tests
# require 'yak_test'
# render :text => YAKTest.run_tests(params[:yak])
# headers['Content-type'] = 'text/plain'
# end
end
Binary file removed lib/test/TrySimpleMethod.class
Binary file not shown.
15 changes: 0 additions & 15 deletions lib/test/TrySimpleMethod.java

This file was deleted.

Binary file removed lib/try_simple.jar
Binary file not shown.
9 changes: 0 additions & 9 deletions test_script1.rb

This file was deleted.

0 comments on commit c66c74b

Please sign in to comment.