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 ActionView::Template::Error occurred in imports#import_school_district_status:
undefined local variable or method `file' for #<#<Class:0x000000082a1bd0>:0x000000082e5e48>
app/views/imports/import_status.html.haml:149:in `_app_views_imports_import_status_html_haml___96091925585943741_68738520'
-------------------------------
Request:
-------------------------------
* URL : https://learn.staging.concord.org/imports/import_school_district_status
{
"description": "",
"editor_mode": 1,
"layout": 1,
"name": "ITSI Activity",
"notes": "",
"project_id": 6,
"related": null,
"theme_id": 12,
"thumbnail_url": "",
@scytacki
scytacki / gist:9b713b4a2e9b514cb284
Created June 22, 2015 18:01
ITSI activities that have both a sensor and model enabled - 224
198: Test
212: Wind generator - Jason
217: Virtual Greenhouse (2)
218: Voltage in a Simple Circuit (2)
238: Trial Act
374: Brine Shrimp
414: States of Matter (2)
416: Latent Heat (2)
454: Latent Heat (3)
463: Up and Down Heartbeats
@scytacki
scytacki / custom_name.ino
Last active August 29, 2015 14:23
customized name sketch
/*
Copyright (c) 2014 OpenSourceRF.com. All right reserved.
Copyright (c) 2015 Concord Consortium. All right reserved.
LGPL v 2.1 or later
*/
#include <RFduinoBLE.h>
// advertisement data, cannot be longer than 31 bytes
http://itsi.portal.concord.org/activities/10
Will the light glow if the test material is an insulator?
Will the light glow if the test material is a conductor?
default_response: insulator: conductor:
http://itsi.portal.concord.org/activities/215
Study the graph and determine the average force you used to lift the block up to the chair.
Enter the value of that force in the box below. Call it the "average force to lift the block straight up."
default_response: average force to lift the block straight up =
@scytacki
scytacki / gist:479f186826dcb1c7322a
Created May 23, 2015 13:10
ConsoleAppliction2
// ConsoleApplication2.cpp : Defines the entry point for the console application.
//
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <strsafe.h>
#define BUFSIZE 4096
// ConsoleApplication2.cpp : Defines the entry point for the console application.
//
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <strsafe.h>
#define BUFSIZE 4096
void QlmLicenseWizardDlg::LaunchApplicationAndWait(CString strCmdLine, CString strArgs, CString strRunningDir){
SHELLEXECUTEINFO ShExecInfo;
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = strCmdLine.GetBuffer();
ShExecInfo.lpParameters = strArgs.GetBuffer();
ShExecInfo.lpDirectory = strRunningDir.GetBuffer();
ShExecInfo.nShow = SW_SHOW;
@scytacki
scytacki / gist:75f108b73101f7c86fea
Created May 11, 2015 15:14
Error with new LARA theme
An ActionView::Template::Error occurred in themes#index:
theme-itsi-survey.css isn't precompiled
actionpack (3.2.19) lib/sprockets/helpers/rails_helper.rb:142:in `digest_for'
-------------------------------
Request:
-------------------------------
<!-- I'm not sure if these data properties would continue to be need -->
<div class="material_list_item" data-material_id="{item.id}" data-material_name="{item.name}" id="{item.domId}">
<div class="main-part">
<div class="material_icon">
</div>
<div>
<div style="overflow:hidden">
<table width="100%">
<tbody><tr>