Skip to content

Instantly share code, notes, and snippets.

@josephwegner
Last active August 29, 2015 13:56
Show Gist options
  • Save josephwegner/9276894 to your computer and use it in GitHub Desktop.
Save josephwegner/9276894 to your computer and use it in GitHub Desktop.
Sysinct Demo
<!-- Create this file, open it in a browser, then open your console. Go to http://pullup.io, and watch your console -->
<html>
<head>
<title>Test</title>
<script src="http://sysinct.herokuapp.com/socket.io/socket.io.js"></script>
<script type="text/javascript">
var socket = io.connect("http://sysinct.herokuapp.com");
socket.emit('subscribe', 'pullup');
socket.on('log', function(data) {
console.log('log', data);
});
</script>
</head>
<body>
test..
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment