Skip to content

Instantly share code, notes, and snippets.

View stevenvergenz's full-sized avatar

Steven Vergenz stevenvergenz

View GitHub Profile
@stevenvergenz
stevenvergenz / README.md
Last active January 31, 2019 01:12
SDK Announcement notes

Released

  • Set color on shared materials
  • Teleporters and video players
  • Add collider support to prefabs
  • Fix AssetSource deserialization
  • General cleanup

On deck

  • Cleanup on video player API
  • Textures
@stevenvergenz
stevenvergenz / gitpull.js
Created January 4, 2018 18:57
git hook deploy
var http = require('http');
var repo = require('simple-git')(__dirname);
var server = http.createServer(function(req,res){
repo.pull(function(err, data){
if(err){
console.log(err);
res.statusCode = 500;
res.end();
}
At initialize:
tick undefined undefined [] exception performing action:
TypeError: Cannot read property 'private' of undefined
TypeError: Cannot read property 'private' of undefined
at Object.model.load.gettingProperty (http://vwf.adlnet.gov/adl/sandbox/vwf/model/javascript.js:846:30)
at Object.gettingProperty (http://vwf.adlnet.gov/adl/sandbox/vwf/model/stage/log.js:101:54)
at http://vwf.adlnet.gov/adl/sandbox/vwf.js:2336:31
at Array.some (native)
at getProperty (http://vwf.adlnet.gov/adl/sandbox/vwf.js:2323:25)
(env)[root@vm-lrs ADL_LRS_1.0]# python
Python 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/opt/env/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/opt/env/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg', '/opt/env/lib64/python26.zip', '/opt/env/lib64/python2.6', '/opt/env/lib64/python2.6/plat-linux2', '/opt/env/lib64/python2.6/lib-tk', '/opt/env/lib64/python2.6/lib-old', '/opt/env/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6', '/usr/lib/python2.6', '/opt/env/lib/python2.6/site-packages']
>>> quit()
(env)[root@vm-lrs ADL_LRS_1.0]# fab setup_lrs
Traceback (most recent call last):
if i <= track.strength || (i > track.strength+1 && i < track.strength+track.toughness)
if track.used.indexOf(i) != -1
input.stressBox(id=track.name+i, type='checkbox', checked='checked')
else
input.stressBox(id=track.name+i, type='checkbox')
else if track.toughness != 0 && i == track.strength+1
if track.used.indexOf(i) != -1
input.stressBox.leftParen(id=track.name+i, type='checkbox', checked='checked')
else
input.stressBox.leftParen(id=track.name+i, type='checkbox')