I hereby claim:
- I am jwrubel on github.
- I am jwrubel (https://keybase.io/jwrubel) on keybase.
- I have a public key whose fingerprint is BB3D 86D5 7D33 94A3 9F83 5006 2078 2369 5373 72B5
To claim this, I am signing this object:
/* | |
* Adding contacts to a box | |
* This step takes the email addresses on the To: line of the email | |
*. and sends each one to the 'Add Contact To A Box In Streak' action | |
*. This needs to be executed in javascript because Streak's Zaps do | |
* not support line items (https://zapier.com/help/create/basics/use-line-items-in-zaps) | |
*. Author: Jim Wrubel (jwrubel@innovationworks.org) | |
*/ | |
// Exclude internal staff who might be included on the email by filtering against |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"apigateway:*" | |
], | |
"Resource": "arn:aws:apigateway:*::/*" | |
}, |
classes_to_86 = [] | |
houston_schools = School.active.where(district_id: 1644) | |
houston_schools.each do |s| | |
s.classrooms.each do |c| | |
if (c.students.count == 0 && c.name.downcase.exclude?("math")) | |
c.deactivate! | |
end | |
end | |
end |
I hereby claim:
To claim this, I am signing this object:
license_key: <%= Integer(ENV["DYNO"].rpartition('.').last) % 3 == 0 ? ENV["NEW_RELIC_LICENSE_KEY"] : ENV["NEW_RELIC_LITE_KEY"] %> |
license_key: <%= ENV["SCALR_INSTANCE_INDEX"] % 3 == 0 ? ENV["NEW_RELIC_LICENSE_KEY"] : ENV["NEW_RELIC_LITE_KEY"] %> |
= swf_tag "name_of_swf", \ | |
options={:dom_id => "dom_element", \ | |
:size => "320x240", :version => "10.1", \ | |
:flashvars => {"a" => "test"}, \ | |
:params => {"menu" => "false", "wmode" => "direct"}, \ | |
:attributes => { "align" => "left", "class" => "flash_css_class" }} | |
div(id="dom_element") |
<%= swf_tag "name_of_swf", options={:dom_id => "dom_element", | |
:size => "320x240", :version => "10.1", | |
:flashvars => {"a" => "test"}, | |
:params => {"menu" => "false", "wmode" => "direct"}, | |
:attributes => { | |
"align" => "left", | |
"class" => "flash_css_class" | |
} | |
} %> | |
<div id="dom_element"></div> |