This file contains hidden or 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
| var net = require('net'); | |
| var host = '127.0.0.1'; | |
| var port = 12345; | |
| var server = net.createServer(); | |
| server.maxConnections = 1; | |
| server.on('connection', function(socket) { | |
| console.log('server : connection start'); |
This file contains hidden or 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
| ( | |
| s.waitForBoot { | |
| var rootPath, window, view, | |
| drawBuf, bufnum, sound, task, | |
| width, height, fps, curX, curY, pixSize, | |
| processFunc, loadFile; | |
| // initial settings | |
| rootPath = "/path/to/root/dir"; | |
| pixSize = 5; |
This file contains hidden or 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/env/python | |
| import os | |
| bitrate = '320' | |
| src = 'src.wav' | |
| dst = 'dst.mp3' | |
| os.system('lame -b ' + bitrate + ' ' + src + ' ' + dst) |
This file contains hidden or 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
| test2 |
NewerOlder