This file contains hidden or 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
<html> | |
<body> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script type="text/javascript" src="https://github.com/joewalnes/smoothie/raw/master/smoothie.js"></script> | |
<script src="http://localhost:8080/socket.io/socket.io.js"></script> | |
<div> | |
<p>Node.js Rabbitmq Websockets Canvan Smoothie Groovy</p> | |
<canvas id="mycanvas" width="800" height="300"> |
This file contains hidden or 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
// needs node.js | |
// npm socket.io | |
// npm amqp | |
// rabbitmq running at localhost | |
var http = require('http'), | |
url = require('url'), | |
fs = require('fs'), | |
io = require('socket.io'), | |
amqp = require('amqp'), |
NewerOlder