The methods and events here are in addition to the ones already defined in the documentation for WebSocket-Node
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
{ | |
"name": "socket.io" | |
, "version": "0.7.7" | |
, "description": "Real-time apps made cross-browser & easy with a WebSocket-like API" | |
, "homepage": "http://socket.io" | |
, "keywords": ["websocket", "socket", "realtime", "socket.io", "comet", "ajax"] | |
, "author": "Guillermo Rauch <[email protected]>" | |
, "contributors": [ | |
{ "name": "Guillermo Rauch", "email": "[email protected]" } | |
, { "name": "Arnout Kazemier", "email": "[email protected]" } |
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
#!/usr/bin/env node | |
var net = require('net'), | |
sys = require('sys'); | |
policy = '<?xml version="1.0"?>\n'; | |
policy += '<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">\n'; | |
policy += '<cross-domain-policy>\n'; | |
policy += '<allow-access-from domain="*" to-ports="*"/>\n'; |
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
#!/usr/bin/env node | |
var WebSocketRequest = require('websocket').request; | |
var http = require('http'); | |
var server = http.createServer(function(request, response) { | |
console.log((new Date()) + " Received request for " + request.url); | |
response.writeHead(404); | |
response.end(); | |
}); | |
server.listen(8080, 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
package | |
{ | |
import com.worlize.api.WorlizeAPI; | |
import com.worlize.api.event.ChatEvent; | |
import flash.display.Sprite; | |
public class EmbedClientTest extends Sprite | |
{ | |
private var api:WorlizeAPI; |
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
package | |
{ | |
import com.worlize.api.WorlizeAPI; | |
import com.worlize.api.event.ChatEvent; | |
import com.worlize.api.event.UserEvent; | |
import flash.display.Sprite; | |
import flash.events.TimerEvent; | |
import flash.geom.Point; | |
import flash.utils.Timer; |
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
G1 Z70 F360 ; move up above object | |
G1 X150 Y200 F3600 ; move to center of build area | |
G1 E-40 F1800 ; eject filament from extruder | |
M84 ; disable motors | |
M0 Change Color... | |
M17 ; enable motors | |
G92 E0 ; reset extruder coordinates | |
G1 E50 F60 ; prime new filament | |
G92 E0 |
OlderNewer