In the view you can do the following:
<%= f.time_select :start_time,
:combined => true,
:default => Time.now.change(:hour => 11, :min => 30),
:minute_interval => 15,
:time_separator => "",
:start_hour => 10,
:end_hour => 14 } %>
AdminUser.create :email => "bob@example.com" | |
AdminUser.create :email => "sally@example.com" | |
AdminUser.create :email => "jimbo@example.com" | |
AdminUser.create :email => "walter@example.com" | |
AdminUser.create :email => "angela@example.com" |
In the view you can do the following:
<%= f.time_select :start_time,
:combined => true,
:default => Time.now.change(:hour => 11, :min => 30),
:minute_interval => 15,
:time_separator => "",
:start_hour => 10,
:end_hour => 14 } %>
LogBot requires Python 2. It is NOT compatible with Python 3. Configuration is done inside logbot.py.
development: | |
adapter: mysql | |
database: discovrly_dev | |
pool: 5 | |
timeout: 5000 | |
username: root | |
password: | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". |
<!doctype html> | |
<!--[if lt IE 9]><html class="ie"><![endif]--> | |
<!--[if gte IE 9]><!--><html><!--<![endif]--> | |
<head> | |
<meta charset="utf-8"/> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<%= csrf_meta_tag %> |
if 0 <= i <= 15 then | |
f = (b & c) | ((!b) & d) | |
g = i | |
elsif if 16 <= i <= 31 | |
f = (d & b) || ((!d) & c) | |
g = (5*i + 1) % 16 | |
elsif 16 <= i <= 31 | |
Should be | |
if 0 <= i <= 15 |
require 'net/smtp' | |
SERVERS = ["excid3.com", "hahgay.com"] | |
GMAIL_USERNAME = "" | |
GMAIL_PASSWORD = "" | |
SENDING_EMAIL_ADDR = "barrett.coats@gmail.com" | |
RECEIVING_EMAIL_ADDR = "barrett.coats@gmail.com" | |
SERVERS.each do |s| | |
system "ping -c 5 #{s}" |
(function(){var a,c=null,b=null;for(a in turntable)if("object"===typeof turntable[a]&&null!==turntable[a]&&turntable[a].hasOwnProperty("selfId")){c=turntable[a];break}if(null!==c)for(a in c)if("object"===typeof c[a]&&null!==c[a]&&c[a].hasOwnProperty("myuserid")){b=c[a];break}if(null!==b){b.add_animation_to=function(){};$("#meterNeedle").hide();b.speak=function(){};for(a in b.djs_uid)b.djs_uid[a][0].stop();for(a in b.listeners)b.listeners[a].stop();$("#top-panel").next().children("div").first().hide()}})(); |
1.9.3p194 :004 > Date.today | |
=> Sun, 20 May 2012 | |
1.9.3p194 :005 > Date.tomorrow | |
=> Tue, 22 May 2012 |
.in-service { | |
color: #00FF00; | |
} | |
.en-route { | |
color: red; | |
} | |
.to-hospital { | |
color: blue; |