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
{ | |
"posts": [{ | |
"id": "1", | |
"title": "Rails is Omakase", | |
"links": { | |
"author": "9" | |
} | |
}], | |
"linked": { | |
"people": [{ |
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
docs/client/commandline.html:7:<!-- XXX some intro text? --> | |
docs/client/api.js:1735:// XXX move these up to right place | |
docs/client/api.html:1652:<!-- XXX replace d6 with _.random once we have underscore 1.4.2 --> | |
docs/client/docs.js:7: // XXX this is broken by the new multi-page layout. Also, it was | |
docs/client/introduction.html:5:<!-- XXX by: (three headshot thumbnails w names) --> | |
docs/client/packages/showdown.html:5:<!-- XXX rename to markdown when we rename the package --> | |
docs/client/packages/showdown.html:13:<!-- XXX include an example --> | |
examples/unfinished/azrael/client/azrael.js:11:// XXX would be nice to eliminate this function and have people just | |
examples/unfinished/azrael/client/azrael.js:14: // XXX pushstate | |
examples/unfinished/azrael/client/azrael.js:24: // XXX it would be nice if this were find instead of findLive (ie, |
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
input { | |
udp { | |
port => 5959 | |
codec => "json" | |
} | |
generator { | |
count => 0 | |
debug => true | |
lines => [ "line 1", "line 2", "line 3" ] | |
} |
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
diff --git a/js/roadtrip.js b/js/roadtrip.js | |
index d738c95..f76cfe2 100644 | |
--- a/js/roadtrip.js | |
+++ b/js/roadtrip.js | |
@@ -346,9 +361,15 @@ function addTube(planeMesh, cb) { | |
function updateFromPoints(points) { | |
var spline = new THREE.SplineCurve3(points); | |
spline = layCurveOn(planeMesh, spline); | |
+ | |
+ var rotMat = new THREE.Matrix4().makeRotationY(Math.PI/2); |
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
// Type: FezGame.Components.TempleOfLoveHost | |
// Assembly: FEZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null | |
// Assembly location: C:\Program Files (x86)\Steam\SteamApps\common\FEZ\FEZ.exe | |
using FezEngine; | |
using FezEngine.Components; | |
using FezEngine.Effects; | |
using FezEngine.Services; | |
using FezEngine.Structure; | |
using FezEngine.Structure.Geometry; |
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
-- | |
-- strict.lua | |
-- checks uses of undeclared global variables | |
-- All global variables must be 'declared' through a regular assignment | |
-- (even assigning nil will do) in a main chunk before being used | |
-- anywhere or assigned to inside a function. | |
-- | |
local mt = getmetatable(_G) | |
if mt == nil then |
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
local NUM_BULLETS = 10 | |
return { | |
startState = 'wandering', | |
states = { | |
wandering = function() | |
while true do | |
walk(chooseRandomDirection()) | |
wait(1) | |
end | |
end, |
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
local script = function() | |
wait(5) | |
end | |
local scriptFuncs = { | |
wait = function(secs) | |
print (entity, 'is waiting', secs) | |
assert(entity ~= nil) -- FAILS HERE | |
end, | |
} |
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
local cardinals = { | |
up = new(0, 1), | |
down = new(0, -1), | |
left = new(-1, 0), | |
right = new(1, 0) | |
} | |
function vector:closestCardinal(v) | |
local maxDistance = 0 | |
local longestVec |
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
test |