- Ruby 1.9.2
- Rails 3.1.0
- Ubuntu Server 11.04
apt-get update
apt-get upgrade -y
class Datum < ActiveRecord::Base | |
has_many :repetition_intervals | |
has_many :difficulty_factors | |
has_many :datum_responses | |
after_create :initial_datum_setup | |
def recent_repetition_interval | |
repetition_intervals.last | |
end |
ISOTOPE_SUBSCRIPTIONS_BRAINTREE_ENVIRONMENT=development | |
ISOTOPE_SUBSCRIPTIONS_BRAINTREE_MERCHANT_ID=<id> | |
ISOTOPE_SUBSCRIPTIONS_BRAINTREE_PUBLIC_KEY=<key> | |
ISOTOPE_SUBSCRIPTIONS_BRAINTREE_PRIVATE_KEY=<key> |
clear Lock | |
keycode 0x42 = Escape |
require 'sinatra' | |
set :public, Proc.new { File.join(root, '_site')} | |
# This before filter ensures that your pages are only ever served | |
# once (per deploy) by Sinatra, and then by Varnish after that | |
before do | |
response.headers['Cache-Control'] = 'public, max-age=31557600' # 1 year | |
end |
# default.gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator | |
actionmailer -v2.1.0 | |
actionpack -v2.1.0 | |
activerecord -v2.1.0 | |
activeresource -v2.1.0 | |
activesupport -v2.1.0 | |
Ascii85 -v1.0.1 | |
builder -v3.0.0 | |
collectiveidea-delayed_job -v1.8.2 | |
columnize -v0.3.4 |
multi_naics | |
[{"x":0.0,"y":"0.844013892896046346","z":2.7594196737383005,"label":{"color":"#4bb2c5","label":"32 - Manufacturing","actual_count":"7.6143969358139902"},"tick":[],"title":"Birmingham-Hoover, AL "},{"x":0.0,"y":"0.823497972850027981","z":1.782890382445083,"label":{"color":"#c5b47f","label":"48 - Transportation and Warehousing","actual_count":"3.1786981158151748"},"tick":[]},{"x":4.864625595813935,"y":"2.790389525082433877","z":1.327731972864289,"label":{"color":"#33CC99","label":"22 - Utilities","actual_count":"1.762872191766097"},"tick":[]},{"x":0.0,"y":"0.823497972850027981","z":1.782890382445083,"label":{"color":"#EAA228","label":"49 - Transportation and Warehousing","actual_count":"3.1786981158151748"},"tick":[]},{"x":0.3889720180320601,"y":"1.086846281536545067","z":2.1961079518966002,"label":{"color":"#579575","label":"23 - Construction","actual_count":"4.8228901363834795"},"tick":[]}] |
[{"title":"Los Angeles County","points":[[0,1549,3,3027,48,13481,22],[101,2271,5,1878,44,64973,23]],"ticks":["Veterans Affairs","Small Business Administration","Social Security Administration","Health and Human Services","Transportation","Education","Homeland Security"],"colors":["#4bb2c5","#c5b47f","#33CC99"],"labels":[2009,2010],"series":[{"label":2009},{"label":2010}]},{"title":"San Francisco County","points":[[0,124,0,1694,10,1765,6],[20,219,0,1051,9,7631,3]],"ticks":["Veterans Affairs","Small Business Administration","Social Security Administration","Health and Human Services","Transportation","Education","Homeland Security"],"colors":["#4bb2c5","#c5b47f","#33CC99"],"labels":[2009,2010],"series":[{"label":2009},{"label":2010}]}] |
<ul> | |
<% @orders.each do |order| %> | |
<li> | |
<!-- Show order stuff --> | |
</li> | |
<% end %> | |
</ul> | |
<%= will_paginate @orders %> |
kml: | |
- ["Zone 1", "~/code/alabama-beach-pool/public/zones/aiua_zone_1_2009.kml"] | |
- ["Zone 2", "~/code/alabama-beach-pool/public/zones/aiua_zone_2_2009.kml"] | |
- ["Zone 3", "~/code/alabama-beach-pool/public/zones/aiua_zone_3_2009.kml"] | |
- ["Zone 4", "~/code/alabama-beach-pool/public/zones/aiua_zone_4_2009.kml"] |