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
| -- Click “System Preferences” in the Dock. | |
| delay 0.5 | |
| set timeoutSeconds to 0.000000 | |
| set uiScript to "click UI Element \"System Preferences\" of list 1 of application process \"Dock\"" | |
| my doWithTimeout( uiScript, timeoutSeconds ) | |
| -- Click the “Network” button. | |
| delay 0.5 | |
| set timeoutSeconds to 0.000000 | |
| set uiScript to "click UI Element \"Network\" of scroll area 1 of window \"System Preferences\" of application process \"System Preferences\"" |
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
| 'use strict'; | |
| var http = require('http'); | |
| var xml2js = require('xml2js'); | |
| var processData = function (json_data, next) { | |
| console.log("make json..."); | |
| var parser = new xml2js.Parser(); | |
| parser.parseString(json_data, function (err, result) { | |
| var movies = result['planeta-kino'].movies[0].movie; | |
| // console.dir(movies); |
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
| FROM python:2-onbuild | |
| EXPOSE 8080 | |
| CMD [ "python", "./runner.py" ] |