From a7027ecbaf8ae6e0ada6d951652b3281beadfebf Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Thu, 24 Dec 2015 14:32:56 +0900 Subject: [PATCH] refs #5: remove - personal testing scripts --- nodejs4.2.3/short.js | 4 ---- nodejs4.2.3/test_req.js | 17 ----------------- 2 files changed, 21 deletions(-) delete mode 100644 nodejs4.2.3/short.js delete mode 100644 nodejs4.2.3/test_req.js diff --git a/nodejs4.2.3/short.js b/nodejs4.2.3/short.js deleted file mode 100644 index 160dbb032..000000000 --- a/nodejs4.2.3/short.js +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash -node run.js & -node test.js -fg \ No newline at end of file diff --git a/nodejs4.2.3/test_req.js b/nodejs4.2.3/test_req.js deleted file mode 100644 index 33ae453b7..000000000 --- a/nodejs4.2.3/test_req.js +++ /dev/null @@ -1,17 +0,0 @@ -var process = require('process'); -var zmq = require('zmq'); -var socket = zmq.socket('req'); -var port = 'tcp://0.0.0.0:2001'; - -socket.on('message', function(result) { - console.log('Returned result: ' + result); -}); - -socket.connect(port); - -setInterval(function() { - var code = 'var a = 12; console.log(a + 5);'; - var req_data = ['1', code]; - socket.send(req_data); - //console.log('Asking: ' + req_data); -}, 1000); \ No newline at end of file