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
| import sys | |
| import boto | |
| from boto.s3.connection import S3Connection | |
| from boto.s3.key import Key | |
| file_name = sys.argv[1] | |
| AWSAccessKeyId = '' | |
| AWSSecretKey = '' |
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 osc = require('node-osc'); | |
| var io = require('socket.io-client'); | |
| var socket = io.connect('tulsadalek.com', function() { | |
| console.log(arguments); | |
| }) | |
| var OSCclient = osc.Client('127.0.0.1', 9001); | |
| socket.on('connect', function(){ |
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
| toObject = (item) -> | |
| return item unless item.toObject | |
| json = item.toObject() | |
| for key, val of json | |
| if _.isArray val | |
| json[key] = _.map val, (element) -> toObject element | |
| else |