Permalink
Browse files

init

  • Loading branch information...
0 parents commit 8c665ccd9ce324ac287cf311876918fffbf27835 @adamwiggins committed Aug 24, 2008
Showing with 1,239 additions and 0 deletions.
  1. +30 −0 main.rb
  2. BIN public/amstock.swf
  3. +1,176 −0 public/amstock_settings.xml
  4. +8 −0 public/swfobject.js
  5. +25 −0 views/index.erb
30 main.rb
@@ -0,0 +1,30 @@
+require 'rubygems'
+require 'sinatra'
+
+get '/' do
+ erb :index
+end
+
+get '/data.csv' do
+ a = <<EOCSV
+2008-03-14,25473110,2212.49
+2008-03-13,24192210,2263.61
+2008-03-12,20771410,2243.87
+2008-03-11,25260410,2255.76
+2008-03-10,21010110,2169.34
+2008-03-07,23869810,2212.49
+2008-03-06,21650910,2220.50
+2008-03-05,22090910,2272.81
+2008-03-04,26699810,2260.28
+2008-03-03,21450710,2258.60
+2008-02-29,24053610,2271.48
+2008-02-28,20320410,2331.57
+2008-02-27,22165410,2353.78
+2008-02-26,22636510,2344.99
+2008-02-25,21528810,2327.48
+2008-02-22,23244510,2303.35
+2008-02-21,22775410,2299.78
+2008-02-20,22581810,2327.10
+EOCSV
+end
+
Binary file not shown.
Oops, something went wrong.

0 comments on commit 8c665cc

Please sign in to comment.