View this code at http://livecoding.io/3437951
This file contains 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
/* | |
* Minimal classList shim for IE 9 | |
* By Devon Govett | |
* MIT LICENSE | |
*/ | |
if (!("classList" in document.documentElement) && Object.defineProperty && typeof HTMLElement !== 'undefined') { | |
Object.defineProperty(HTMLElement.prototype, 'classList', { | |
get: function() { |
This file contains 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
{ | |
"temperature_control": false, | |
"epsilon": -0.4000000059604645, | |
"sigma": 0.14, | |
"lennard_jones_forces": true, | |
"coulomb_forces": false, | |
"width": 4.5, | |
"height": 3, | |
"atoms": { | |
"X": [ |
This file contains 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
On Mac OS X 10.6.8: | |
$ curl -O http://python-distribute.org/distribute_setup.py | |
$ sudo python distribute_setup.py | |
$ sudo easy_install pip | |
$ sudo pip install couchapp | |
$ sudo pip install --upgrade couchapp | |
$ couchapp --version | |
Couchapp (version 1.0.1) |
This file contains 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
http://lab.dev.concord.org/examples/interactives/interactives.html#interactives/oil-and-water-shake.json: | |
browser version cpu/os date molecules temperature 100 Steps (steps/s) 100 Steps w/graphics interactive | |
Safari 5.1.7/534.57.2 Intel Mac OS X 10_6_8 2012-09-17 14:32 44 300 84.0 65.1 /examples/interactives/interactives.html#interactives/oil-and-water-shake.json | |
Safari 5.1.7/534.57.2 Intel Mac OS X 10_6_8 2012-09-17 14:32 44 300 85.8 60.3 /examples/interactives/interactives.html#interactives/oil-and-water-shake.json | |
Safari 5.1.7/534.57.2 Intel Mac OS X 10_6_8 2012-09-17 14:32 44 300 88.3 66.1 /examples/interactives/interactives.html#interactives/oil-and-water-shake.json | |
Safari 5.1.7/534.57.2 Intel Mac OS X 10_6_8 2012-09-17 14:32 44 300 85.8 64.1 /examples/interactives/interactives.html#interactives/oil-and-water-shake.json | |
This file contains 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
npm http 304 https://registry.npmjs.org/difflet | |
npm ERR! Error: ENOENT, chmod '/Users/sfentress/projects/lab/src/vendor/jquery/node_modules/grunt/node_modules/nodeunit/node_modules/tap/node_modules/difflet/example/cmp_object.js' | |
npm ERR! If you need help, you may report this log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: | |
npm ERR! <npm-@googlegroups.com> | |
npm ERR! System Darwin 10.8.0 | |
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt@0.3.15" | |
npm ERR! cwd /Users/sfentress/projects/lab/src/vendor/jquery |
This file contains 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
$ npm cache clean | |
npm ERR! Error: EPERM, chmod '/Users/sfentress/.npm/buffer-equal/0.0.0/package' | |
npm ERR! { [Error: EPERM, chmod '/Users/sfentress/.npm/buffer-equal/0.0.0/package'] | |
npm ERR! errno: 50, | |
npm ERR! code: 'EPERM', | |
npm ERR! path: '/Users/sfentress/.npm/buffer-equal/0.0.0/package' } | |
npm ERR! | |
npm ERR! Please try running this command again as root/Administrator. | |
npm ERR! System Darwin 10.8.0 |
This file contains 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
$ make test | |
./script/generate-js-config.rb | |
./script/generate-js-version.rb | |
mkdir -p server/public/lab-amd | |
rsync -aq src/lab/* server/public/lab-amd | |
[...] | |
converting MML files...converted 0 MML files. | |
./node-bin/create-mml-html-index | |
Created index at /Users/sfentress/projects/lab/server/public/imports/legacy-mw-content/legacyMMLRunnables.html | |
[...] |
This file contains 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
// Stand-alone | |
fileManagerClient.init({ | |
showMenu: true, | |
services: [ | |
{ | |
service: "ConcordCloud", | |
open: true, | |
save: true, | |
autosave: true | |
}, |
This file contains 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
{ | |
"data": [ | |
{ | |
"session": "be8ecbed-a242-fc76-eb57-2ed6e4b343cc", | |
"time": 1435144215206, | |
"prettyTime": "Wed Jun 24 2015 07:10:15 GMT-0400 (EDT)", | |
"timeDrift": -14473417.5, | |
"event": "Started session" | |
}, | |
{ |