This file should be edited freely.
In this scenario, we want to see if the event "Score" ever happens with the property "{points_earned: 10}" in the properties hash. If we find one, we want to add a new event, "User scored max points".
$ RAILS_ENV=production bin/rake app:setup:new_app | |
Unable to load configuration from /Users/sfentress/projects/rigse/config/newrelic.yml | |
Problem processing key 'host' in config/mailer.yml | |
undefined method `host=' for ActionMailer::Base:Class | |
This task will: | |
1. create default users and roles | |
[...] |
This file should be edited freely.
In this scenario, we want to see if the event "Score" ever happens with the property "{points_earned: 10}" in the properties hash. If we find one, we want to add a new event, "User scored max points".
{ | |
"show_oscilloscope": "true", | |
"allow_move_yellow_probe": "true", | |
"circuit": [ | |
{ | |
"type": "function generator", | |
"UID": "source", | |
"frequencies": [ | |
"logarithmic", | |
100, |
<html> | |
<head> | |
<style> | |
@media all and (max-width: 1024px) { | |
h1 { font-family:"open sans"; font-size:40px; font-weight:300; color:white; transition:all 0.6s; -webkit-transition:all 0.6s;} | |
h2 { font-family:"open sans"; font-size:20px; font-weight:300; color:white; transition:all 0.6s; -webkit-transition:all 0.6s;} | |
} |
package org.concord.otrunknl4.test; | |
import java.awt.Dimension; | |
import java.awt.EventQueue; | |
import java.io.IOException; | |
import javax.swing.JFrame; | |
import javax.swing.JScrollPane; | |
import org.nlogo.app.InterfaceComponent; |
/** | |
* This test was created to test out the new features in NetLogo 4.1 pre 6. Specifically, it | |
* was designed to test embedding, controlling and logging of applet-like NetLogo models. | |
* | |
* @author sfentress | |
* | |
*/ | |
public class NetLogoLogTest | |
{ | |
dhcp155:rigse sfentress$ jruby -S gem env | |
RubyGems Environment: | |
- RUBYGEMS VERSION: 1.3.3 | |
- RUBY VERSION: 1.8.6 (2009-05-19 patchlevel 287) [java] | |
- INSTALLATION DIRECTORY: /Users/sfentress/git/jruby/lib/ruby/gems/1.8 | |
- RUBY EXECUTABLE: /Users/sfentress/git/jruby/bin/jruby | |
- EXECUTABLE DIRECTORY: /Users/sfentress/git/jruby/bin | |
- RUBYGEMS PLATFORMS: | |
- ruby | |
- universal-java-1.5 |
load('./spec/support/env.rhino.js') | |
load('./spec/support/jquery.js') | |
load('./spec/lib/jspec.js') | |
load('./spec/lib/jspec.xhr.js') | |
load('./spec/lib/jspec.jquery.js') | |
load('lib/etorki.js') | |
load('spec/unit/spec.helper.js') | |
function reporter(results, options) { | |
var w = new java.io.FileWriter('test-reports/jspec.xml'); |
textView: SC.ScrollView.design({ | |
hasHorizontalScroller: NO, | |
layout: { left: 0, top: 0, right: 0, height: 180 }, | |
contentView: SC.LabelView.design({ | |
layout: { left: 0, top: 0, right: 0, bottom: 0 }, | |
isEditable: NO, | |
escapeHTML: NO, | |
valueBinding: 'Geniverse.articleController.combinedArticle', | |
// only check after user flips back to static (non-editing) view |
import java.io.*; | |
import java.net.*; | |
import javax.swing.*; | |
import org.nlogo.lite.InterfaceComponent; | |
/** | |
* This is an example which tries to load a model from a URL, using InterfaceComponent.openFromSource(). | |
* This model will fail to work correctly because it references an image that it cannot find. | |
* |