View README.md

Using this is pretty simple, but you will need jQuery (and I would recommend 1.5.x so the data attributes are read correctly from the HTML):

First set up your page, for example on the Tile5 site I have something like:

<h2>0.9.5</h2>
<ul class="roadmap-items" data-label="0.9.5"></ul>

<h2>0.9.6</h2>
<ul class="roadmap-items" data-label="0.9.6"></ul>
View combine_resources.rake
task :resources => [] do
resources = {}
basepath = 'src/resources/'
files = FileList.new
.include("%s**/*.html" % basepath)
.include("%s**/*.handlebars" % basepath)
.sub(basepath, '')
files.each do |src|
File.open(basepath + src, 'r') do |resfile|
View index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>API Builder</title>
<style type="text/css">
path, circle {
stroke: black;
View marker-backflip.js
marker.animate('rotate', [0], [-Math.PI * 2], {
easing: 'sine.inout'
});
marker.animate('translate', [0, 0], [0, -40], {
easing: 'sine.in',
duration: 500,
complete: function() {
marker.animate('translate', [0, -40], [0, 0], {
duration: 500
View .profile
# MacPorts Installer addition on 2009-11-20_at_21:51:17: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
# set the google appengine path
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
export APPENGINE_HOME=/usr/local/appengine-java-sdk-1.4.0
export ANDROID_HOME=/development/tools/android-sdk-mac_86
export EDITOR=/usr/bin/mate
View bridge-client.js
var socket = io.connect(server),
reSock = /^sock\:.*$/i;
socket.on('connect', function() {
eve.on('*', function() {
// get the last argument
var lastArg = arguments.length ? arguments[arguments.length - 1] : null;
// if the last arg is a socket connection, then don't send it to the serve
// because we got it from the server...
View remote-client.js
var reRemote = /^remote\:?(.*)$/i;
// map all eve events to the childframes
eve.on('*', function() {
var message,
eventName = eve.nt(),
lastArg = arguments[arguments.length - 1];
if (! reRemote.test(lastArg)) {
if (slideFrames.length) {
View route-response.json
{"key":"r7hg5fjsxqg1r3gx2f1x1e2b","geometry":["-33.86963 151.20696","-33.86436 151.20746","-33.86439 151.20478","-33.8635 151.20468","-33.85921 151.20628","-33.84874 151.21253","-33.84761 151.21253","-33.8417 151.21034","-33.84009 151.21009","-33.83435 151.21116","-33.82953 151.21348","-33.82804 151.2135","-33.8262 151.21276","-33.82474 151.21125","-33.82351 151.20739","-33.82236 151.2057","-33.81914 151.20288","-33.81407 151.19938","-33.81268 151.19744","-33.81231 151.19595","-33.81234 151.19442","-33.81373 151.18977","-33.81399 151.18548","-33.81237 151.17855","-33.81185 151.17762","-33.81064 151.17677","-33.80975 151.17793","-33.80683 151.17969","-33.80412 151.17922","-33.80069 151.17954","-33.79626 151.17797","-33.79495 151.17852","-33.79346 151.17968","-33.79067 151.18041","-33.78916 151.18015","-33.78564 151.17805","-33.78381 151.17602","-33.78333 151.17496","-33.78278 151.17218","-33.78109 151.17016","-33.77998 151.16927","-33.7783 151.16921","-33.77709 151.1687","-33.77561 151.1688","-33.77462 151.168
View README.md

isometric drawing experiment with three.js

click the shape to enable/disable animation

source code here

View node-json-prettify.js
var fs = require('fs');
fs.readFile(process.argv[2], 'utf8', function(err, data) {
if (! err) {
fs.writeFile(process.argv[2], JSON.stringify(JSON.parse(data), null, 2), 'utf8');
}
});