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
### | |
Stubs. Assume 'box', 'piston' and 'wrap' would be defined for you in the environment: | |
### | |
# Helper function so that a callback-accepting computed property can be defined simply | |
wrap = (f, cb) -> | |
(cb2) -> | |
if cb2 | |
f (args...) -> cb2 cb args... |
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
nodes[0][0] = 1.6720000505447388; | |
nodes[0][1] = 1.6720000505447388; | |
nodes[0][2] = 1.6720000505447388; | |
nodes[0][3] = 1.6720000505447388; | |
nodes[0][4] = 1.6720000505447388; | |
nodes[0][5] = 1.6720000505447388; | |
nodes[0][6] = 1.6720000505447388; | |
nodes[0][7] = 1.6720000505447388; | |
nodes[0][8] = 1.6720000505447388; | |
nodes[0][9] = 1.6720000505447388; |
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
// prevent a console.log from blowing things up if we are on a browser that | |
// does not support it | |
if (typeof console === 'undefined') { | |
window.console = {} ; | |
console.log = console.info = console.warn = console.error = 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
# in my otherwise-working app: | |
GG.tasksController = Ember.ArrayController.create | |
content : [] | |
currentTask: null | |
GG.Drake = Ember.Object.extend | |
# (...) | |
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
{ | |
"_id": "_design/app", | |
"updates": { | |
"bump": "function(doc, req) { doc.value = doc.value + 1; return [doc, ''+doc.value]; }" | |
} | |
} | |
{ | |
"_id": "counter", | |
"value": 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
bash -O extglob -c 'rm -rf server/public/!(.git|jnlp)' | |
rm -rf lab | |
rm -rf node_modules | |
git submodule update --init --recursive | |
Submodule 'config/littlechef' () registered for path 'config/littlechef' | |
Submodule 'src/vendor/almond' () registered for path 'src/vendor/almond' | |
Submodule 'src/vendor/codemirror' () registered for path 'src/vendor/codemirror' | |
Submodule 'src/vendor/d3' () registered for path 'src/vendor/d3' | |
Submodule 'src/vendor/d3-plugins' () registered for path 'src/vendor/d3-plugins' | |
Submodule 'src/vendor/domReady' () registered for path 'src/vendor/domReady' |
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
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 665, col 13, Missing semicolon. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 835, col 25, Expected '===' and instead saw '=='. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 855, col 10, Don't make functions within a loop. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 1079, col 21, Expected '===' and instead saw '=='. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 1081, col 142, Don't make functions within a loop. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 1082, col 143, Don't make functions within a loop. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 1085, col 144, Don't make functions within a loop. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 1086, col 145, Don't make functions within a loop. | |
/Users/rklancer/dev/lab/src/lab/views/molecule-container.js: line 7, col 36, 'layout' is not defined. | |
/Users/r |
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
Files we definitely need: | |
--- | |
src/lab/start.js | |
src/lab/end.js | |
src/lab/lab-module.js | |
src/lab/benchmark/benchmark.js | |
src/lab/components/button.coffee |
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
lab (inquiry-space)$ cap lab2-dev deploy:clean_and_update_all | |
triggering load callbacks | |
* executing `lab2-dev' | |
triggering start callbacks for `deploy:clean_and_update_all' | |
* executing `multistage:ensure' | |
* executing `deploy:clean_and_update_all' | |
* executing `deploy:clean_and_update' | |
* executing "cd /var/www/app; git checkout inquiry-space; git pull origin inquiry-space" | |
servers: ["lab2.dev.concord.org"] | |
[lab2.dev.concord.org] executing command |
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
Lives at https://www.dropbox.com/s/nrnwn27vqal93mg/rasbpi-setup.txt | |
d/l latest raspbian from http://www.raspberrypi.org/downloads | |
connect sd card reader, then at the command line: | |
$ diskutil list | |
# identify the disk (not partition) of your SD card. e.g. disk2 (not disk2s1) | |
$ diskutil unmountDisk /dev/<disk# from diskutil> | |
$ sudo dd bs=1m if=<your image file>.img of=/dev/rdisk<disk # from diskutil> |