This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'csv' | |
csv = CSV.open("teachers4.csv","w") | |
ts = Portal::Teacher.includes(:user).all | |
data = ts.map do |t| | |
students = 0 | |
[ | |
t.first_name, | |
t.last_name, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notice: register_uninstall_hook was called <strong>incorrectly</strong>. Only a static class method or function can be used in an uninstall hook. (This message was added in version 3.1.) in /web/static/journal/wp-includes/functions.php on line 3422 | |
Notice: Constant MORE_PLUGINS_SPUTNIK_7 already defined in /web/static/journal/wp-content/plugins/more-types/more-plugins/more-plugins.php on line 203 | |
Notice: Undefined property: stdClass::$siteurl in /web/static/journal/wp-content/plugins/safe-report-comments/safe-report-comments.php on line 91 | |
Notice: Use of undefined constant SITECOOKIEPATH - assumed 'SITECOOKIEPATH' in /web/static/journal/wp-content/plugins/safe-report-comments/safe-report-comments.php on line 98 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
help_requests GET /help_requests(.:format) {:action=>"index", :controller=>"help_requests"} | |
new_help_request GET /help_requests/new(.:format) {:action=>"new", :controller=>"help_requests"} | |
edit_help_request GET /help_requests/:id/edit(.:format) {:action=>"edit", :controller=>"help_requests"} | |
help_request GET /help_requests/:id(.:format) {:action=>"show", :controller=>"help_requests"} | |
saveable_sparks_measuring_resistances GET /saveable/sparks/measuring_resistances(.:format) {:action=>"index", :control |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"agentProperties": { | |
"rain": ["breed","y","x","heading"], | |
"evap": ["breed","y","x","heading"] | |
}, | |
"agents": [ | |
["rain",86,-15,3.141592653589793], | |
["rain",86,-247,0], | |
["rain",86,-260,0], | |
["rain",87,201,3.141592653589793], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: External Activities can support a REST publishing api | |
Background: | |
Given an external activity named "Fun Stuff" with the definition | |
""" | |
{ | |
"name": "Cool Activity", | |
"url": "http://activity.com/activity/1", | |
"create_url": "http://activity.com/activity/1/sessions/", | |
"description": "This activity does fun stuff.", | |
"sections": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running Mocha tests ... | |
․ | |
✖ 1 of 310 tests failed: | |
1) "before all" hook: | |
TypeError: undefined is not a function | |
at /home/aunger/git/lab/test/mocha/md2d/units-translation-spec.coffee:108:21 | |
at Object.context.execCb (/home/aunger/git/lab/node_modules/requirejs/bin/r.js:1849:33) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'daemon_controller' | |
require 'socket' | |
ROOT = File.expand_path(File.dirname(__FILE__)) | |
d = DaemonController.new( | |
:identifier => "Rails Backend", | |
:start_command => "passenger start -d -e test -p 3000", | |
:ping_command => lambda { TCPSocket.new('localhost', 3000)}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<viewEntries> | |
<OTChoiceViewConfig objectClass="org.concord.otrunk.ui.OTChoice" | |
viewClass="org.concord.otrunk.ui.swing.OTChoiceView" | |
useViewsAsChoices="true"> | |
<radioButtonViewEntry> | |
<OTViewEntry objectClass="org.concord.otrunk.ui.OTChoice" viewClass="org.concord.otrunk.ui.swing.OTChoiceRadioButtonView" /> | |
</radioButtonViewEntry> | |
<menuViewEntry> | |
<OTViewEntry objectClass="org.concord.otrunk.ui.OTChoice" viewClass="org.concord.otrunk.ui.swing.OTChoiceMenuView" /> | |
</menuViewEntry> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'java' | |
require 'jnlp' | |
require 'open-uri' | |
require 'hpricot' | |
require 'activesupport' | |
@@java_type_to_activerecord_type = { | |
"java.lang.String" => "string", | |
"java.lang.Boolean" => "boolean", |