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
A NoMethodError occurred in periodic_bundle_contents_metal#create:
undefined method `periodic_bundle_parts' for nil:NilClass
app/models/dataservice/periodic_bundle_content.rb:82:in `block in copy_to_collaborators'
-------------------------------
Request:
-------------------------------
* URL : http://rites-investigations.staging.concord.org/dataservice/periodic_bundle_loggers/543/periodic_bundle_contents.bundle
A ActionView::Template::Error occurred in users#edit:
undefined method `image' for nil:NilClass
app/views/probe/vendor_interfaces/_vendor_interface.html.haml:1:in `_app_views_probe_vendor_interfaces__vendor_interface_html_haml___2422448654349395097_37983540'
-------------------------------
Request:
-------------------------------
* URL : http://nextgen.staging.concord.org/users/25/edit
A ActionView::Template::Error occurred in users#update:
undefined method `each' for nil:NilClass
app/views/users/_roles.html.haml:5:in `_app_views_users__roles_html_haml___4434211402688391642_57657860'
-------------------------------
Request:
-------------------------------
* URL : http://nextgen.staging.concord.org/users/43
A ActionView::Template::Error occurred in clazzes#show:
undefined method `last_run_string' for nil:NilClass
app/views/shared/_offering_for_student.html.haml:12:in `_app_views_shared__offering_for_student_html_haml___303450919951893833_92174520'
-------------------------------
Request:
-------------------------------
* URL : http://investigate.ritesproject.net/portal/classes/12928
A ActionView::Template::Error occurred in offerings#show:
undefined method `last_run_string' for nil:NilClass
app/views/shared/_offering_for_student.html.haml:12:in `_app_views_shared__offering_for_student_html_haml__3092328078506397292_97036260'
-------------------------------
Request:
-------------------------------
* URL : http://interactions.portal.concord.org/portal/offerings/359
@scytacki
scytacki / gist:6021887
Created July 17, 2013 15:54
Drupal OAuthConnector configuration for cross project protal
$provider = new stdClass();
$provider->disabled = FALSE; /* Edit this to true to make a default provider disabled initially */
$provider->api_version = 1;
$provider->name = 'nextgen_staging_portal';
$provider->title = 'NextGen Staging Portal';
$provider->url = 'http://nextgen.staging.concord.org';
$provider->consumer_advanced = array(
'oauth2' => 1,
'signature method' => 'PLAINTEXT',
'authentication realm' => '',
@scytacki
scytacki / readme.md
Last active December 22, 2015 11:59
sensor applet sequence

h3. Successful Startup sequence

  • test applet is added to the page
  • state: 'test applet appended'
  • polls testApplet.areYouLoaded() to see wait for it to be ready
  • real applet is added to the page _appendHTML( self.getHTML() )
  • state: 'appended'
  • polls appletInstance.getSensorRequest(this.measurementType)
  • test applet is removed from the page
  • state = 'applet ready'
@scytacki
scytacki / gist:6873680
Created October 7, 2013 19:39
lab lines of code in the src folder using cloc: http://cloc.sourceforge.net/
scottslaptop src (production)$ ~/Downloads/cloc-1.60.pl .
1678 text files.
1659 unique files.
1314 files ignored.
http://cloc.sourceforge.net v 1.60 T=5.64 s (64.5 files/s, 12278.1 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Javascript 225 7108 9025 40101
./node-bin/create-mml-html-index
*** [err :: lab.concord.org]
*** [err :: lab.concord.org] /var/www/app/node_modules/jade/lib/runtime.js:198
*** [err :: lab.concord.org] throw err;
*** [err :: lab.concord.org] ^
*** [err :: lab.concord.org] TypeError: Jade:20
*** [err :: lab.concord.org] 18| head
*** [err :: lab.concord.org] 19| title Legacy MML runnables
*** [err :: lab.concord.org] > 20| link(href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300italic,400,300,700&subset=latin,greek,latin-ext', rel='stylesheet', type='text/css')
*** [err :: lab.concord.org] 21| link(href='../../index.css', rel='stylesheet', type='text/css')
@scytacki
scytacki / gist:7285301
Created November 3, 2013 01:02
itsi activity 7 console, long delay on starting up
Java Web Start 1.6.0_65
Using JRE version 1.6.0_65-b14-462-10M4609 Java HotSpot(TM) Client VM
User home directory = /Users/scytacki
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging