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
//SERVER | |
var http = require('http'); | |
http.createServer(function (req, res) { | |
req.on('data', function(chunk) { | |
console.log('server received: ' + chunk); | |
res.write(chunk); | |
}); |
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
<message from="+573105805315@test.twnel.net" to="+573014311354@test.twnel.net/16319533291371668128292844" type="error" messageType="plain" fromName="bbva" serviceType="opcallcenter" date="Wed, 19 Jun 2013 18:56:46 GMT" xmlns:stream="http://etherx.jabber.org/streams"><body>test</body><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message> |
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
pubsubhub information: | |
{ | |
"after": "0943e7a820de29f6a223a5b23c0dc8531a3e280a", | |
"before": "7db933f0405d0d94a267a7021856c8ec032229f0", | |
"commits": [ | |
{ | |
"added": [ | |
"config.js" | |
], |
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
Node File | |
--------------- | |
#!/usr/bin/node | |
var spawn = require('child_process').spawn, | |
ls = spawn('./testBash'); | |
ls.stdout.on('data', function (data) { | |
console.log('stdout: ' + data); | |
}); |
NewerOlder