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
| /** | |
| * Open Amazon Cloud Drive folder and run this script to download all the files in the folder. | |
| */ | |
| var items = document.getElementsByClassName('item'); | |
| var i; | |
| var url | |
| var urls = [] | |
| for(i = 0; i < items.length; ++i) { |
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 DEBUG = false; | |
| // XPath Selector | |
| var $x = function (path) { | |
| var r = document.evaluate(path, document, null, 9, null).singleNodeValue | |
| return !!r ? [r] : []; | |
| }; | |
| var values = []; |
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
| 60c59,69 | |
| < zmq.device(zmq.QUEUE, frontend, backend) | |
| --- | |
| > while True: | |
| > sockets = dict(poll.poll()) | |
| > if frontend in sockets: | |
| > if sockets[frontend] == zmq.POLLIN: | |
| > msg = frontend.recv() | |
| > print 'Server received %s' % (msg) | |
| > backend.send(msg) |
NewerOlder