Skip to content

Instantly share code, notes, and snippets.

View scytacki's full-sized avatar

Scott Cytacki scytacki

  • Concord Consortium
  • Medford, MA
View GitHub Profile
@scytacki
scytacki / java_client_launcher.log
Created September 17, 2012 16:11
too long log output
Succeeded! Saved and loaded jar.
=================================================
START ACTUAL INSTALL
=================================================
Trying system folder.
Trying folder: C:\Documents and Settings\All Users\Application Data\ConcordConsortium\General-1.0
C:\Documents and Settings\All Users\Application Data\ConcordConsortium\General-1.0 NT AUTHORITY\SYSTEM:(OI)(CI)F
BUILTIN\Administrators:(OI)(CI)F
ETIWANDA\regan_gossage:F
[#<Probe::VendorInterface id: 1, user_id: 2, name: "Fourier Ecolog", short_name: "fourier_ecolog", description: "The Fourier EcoLog has several built-in sensors, ca...", communication_protocol: "usb", image: "SensorImages/EcoLogXL_sm.png", uuid: "d3db28e2-1820-11de-860a-001ec94098a1", device_id: 30, created_at: nil, updated_at: nil, driver_short_name: nil>,
#<Probe::VendorInterface id: 2, user_id: 2, name: "Data Harvest Easysense Q", short_name: "dataharvest_easysense_q", description: "The Data Harvest EasySense Q is a USB interface wit...", communication_protocol: "usb", image: "SensorImages/EasysenseQ_sm.png", uuid: "d3dbb032-1820-11de-860a-001ec94098a1", device_id: 40, created_at: nil, updated_at: nil, driver_short_name: nil>,
#<Probe::VendorInterface id: 3, user_id: 2, name: "Pasco Science Workshop 500", short_name: "pasco_sw500", description: "The Pasco Science Workshop 500 has four input ports...", communication_protocol: "serial", image: "SensorImages/Pasco500_sm.png", uuid: "d3dc1c98-1820-11de-860a-
@scytacki
scytacki / local
Created July 10, 2012 21:04
rds db:migrate:status
database: xproject_new_master_production
Status Migration ID Migration Name
--------------------------------------------------
up 20080929171348 Bort migration
up 20090127214650 Create investigations
up 20090127220427 Rigse
up 20090130033823 Create images
up 20090202222045 Redo expectation to grade span exp
up 20090206192051 Redo gse tables
class Hash
def method_missing(m,*a)
if m.to_s =~ /=$/
self[$`] = a[0]
elsif a.empty?
self[m]
else
raise NoMethodError, "#{m}"
end
end
Could not launch from cache. Will try online mode. [Some of required resources are not cached.]
Jan 23, 2012 3:24:22 PM net.sf.sail.core.net.SailResourceLoader getInputStream
INFO: loading: http://itsisu.new.portal.concord.org/activities/1372.config?_bort_session=309a4c4bb62e3aa03ae76a4509748ee7, Thread: javawsApplicationMain
Jan 23, 2012 3:24:23 PM net.sf.sail.emf.launch.HttpCookieServiceImpl initializeBundle
INFO: done setting up http cookie service.
Jan 23, 2012 3:24:23 PM net.sf.sail.emf.launch.ConsoleLogServiceImpl setUpEMFFoundation
INFO: local console data: /Users/scytacki/Library/Application Support/SailUserData/v375/console3276766485058922752.xml
Jan 23, 2012 3:24:23 PM net.sf.sail.emf.launch.ConsoleLogServiceImpl setUpCustomLogging
INFO: Setting up logging console.
0.026 INFO ConsoleLogServiceImpl.initializeBundle: done setting up console log service.
@scytacki
scytacki / 0-request.log
Created December 1, 2011 14:56
Miss matched jnlp and config request
Completed in 357ms (View: 331, DB: 22) | 200 OK [http://itsisu.portal.concord.org/activities/122.jnlp?teacher_mode=true]
Processing HomeController#index (for 63.138.119.209 at 2011-11-30 14:32:17) [GET]
Parameters: {"action"=>"index", "controller"=>"home"}
Rendering template within layouts/application
Rendering home/index
Completed in 445ms (View: 336, DB: 107) | 200 OK [http://itsisu.portal.concord.org/]
@scytacki
scytacki / index.html
Created November 18, 2011 17:06
innerHTML test
<html>
<head>
<script>
var tagSoup = [
"A", "<B>1<\/B>",
"ABBR", "<B>1<\/B>",
"ACRONYM", "<B>1<\/B>",
"ADDRESS", "<B>1<\/B>",
"APPLET", "<B>1<\/B>",
"B", "<B>1<\/B>",
title: Maria's Run
pages:
- title: Introduction
text: Have you ever tried to to tell...
steps:
- type: text
text: In this activity...
panes:
- type: image
url: http://shoes.jpg
@scytacki
scytacki / formated.js
Created September 29, 2011 14:14
example of using mysystem formatter
{
"nodeId": "node_181.my2",
"nodeType": "Mysystem2Node",
"hintStates": [
],
"nodeStates": [
{
"type": "MySystem2",
"response": {
@scytacki
scytacki / photosynthesis-rules.js
Created August 31, 2011 15:39
Custom rules for photosynthesis
/*globals MySystem rules nodes suggestions*/
// sun is connected to chloroplast and/or sun is connected to plant then chloroplast
if(!(rules.objectAt(0).check(nodes) ||
(rules.objectAt(2).check(nodes) &&
rules.objectAt(3).check(nodes) &&
rules.objectAt(4).check(nodes)))){
suggestions.pushObject(rules.objectAt(0).get('suggestion'));
}