Skip to content

Instantly share code, notes, and snippets.

@peterdemartini
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterdemartini/d547461b36dd1caf79dc to your computer and use it in GitHub Desktop.
Save peterdemartini/d547461b36dd1caf79dc to your computer and use it in GitHub Desktop.
node_modules/.bin/browserify -t coffeeify --extension=".coffee" -s GatebluWebsocket index.coffee > public/gateblu-websocket.js && hs -p 3444
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="http://localhost:3444/gateblu-websocket.js"></script>
<script type="text/javascript">
(function(){
var meshbluJSON = {
"uuid": "eaed33d7-c723-47dd-9f9a-e70fb45b55d8",
"token": "588e19e90143c8ecf990c0c843f3a811a829dea4"
}
var gatebluWebsocket = new GatebluWebsocket(meshbluJSON)
gatebluWebsocket.run()
})()
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment