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
| http://www.parlament.gv.at/WWER/PAD_04476/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_03604/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_02834/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_03612/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_02819/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_35467/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_51507/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_00039/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_00060/index.shtml | |
| http://www.parlament.gv.at/WWER/PAD_14835/index.shtml |
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
| /* | |
| * This script reads all files inside a given directory. The filenames are in the following format: | |
| * 1 ... n --> sub workflow n returned a value | |
| * n.error --> sub workflow n threw an error and was not successful | |
| * | |
| */ | |
| var io = require("io"); | |
| var fs = require("fs"); | |
| var term = require("ringo/term"); |
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
| PS E:\ringojs\ringojs-0.8\test\ringo\utils> ringo .\dates_test.js | |
| ================================================================================ | |
| + Running testIsLeapYear_DaysInFebruary_DaysInYear_DaysInMonth ... PASSED (54 ms) | |
| + Running testAdd ... PASSED (7 ms) | |
| + Running testBefore_After_Compare ... PASSED (0 ms) | |
| + Running testFirstDayOfWeek ... PASSED (2 ms) | |
| + Running testQuarterInYear ... PASSED (1 ms) | |
| + Running testQuarterInFiscalYear ... PASSED (4 ms) | |
| + Running testDiff ... PASSED (6 ms) | |
| + Running testOverlapping ... PASSED (0 ms) |
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 assert = require("assert"); | |
| var log = require("ringo/logging").getLogger(module.id); | |
| var myLittleTestVar = false; | |
| exports.setUp = function() { | |
| log.info("[SET_UP] My little test var: " + myLittleTestVar); | |
| myLittleTestVar = true; | |
| log.info("[SET_UP] My little test var: " + myLittleTestVar); | |
| }; |
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
| include("ringo/subprocess"); | |
| var log = require("ringo/logging").getLogger(module.id); | |
| exports.app = function(req) { | |
| log.info("Incoming request."); | |
| if (req.method !== "POST") { | |
| log.info("Not a valid POST request."); |
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
| include("ringo/scheduler"); | |
| exports.doSchedule = function() { | |
| setInterval(function () { | |
| var nowRunning = java.lang.Thread.currentThread(); | |
| console.log("doSchedule :: setInterval(): " + nowRunning.getName()); | |
| }, 200); | |
| for (var i = 0; i < 10; i++) { | |
| setTimeout(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
| var {JsgiResponse} = require("./jsgi-response"); | |
| var {Application} = require("stick"); | |
| var app = exports.app = Application(); | |
| app.configure("route"); | |
| app.get("/response", function(req) { | |
| return (new JsgiResponse()).text("Hallo Welt!").setCharset("ISO-8859-15").addHeaders({"x-foo": "baz"}); | |
| }); |
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 config = require("./config/config"); | |
| exports.middleware = function(next, app) { | |
| return function accessControl(request) { | |
| var response; | |
| if (request.method === "OPTIONS") { | |
| // Handle possible preflight requests | |
| response = { | |
| status: 204, // NO CONTENT |
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 arrIndex = 0; | |
| if (change < 0.25) { | |
| arrIndex = 1; | |
| } else if (change < 0.50) { | |
| arrIndex = 2; | |
| } else if (change < 0.75) { | |
| arrIndex = 3; | |
| } else if (change < 1) { | |
| arrIndex = 4; | |
| } else if (change < 1.25) { |
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
| { | |
| "03612": { | |
| "name": "Ablinger Sonja", | |
| "wahlpartei": "SPÖ", | |
| "wahlkreis": "4", | |
| "bundesland": "O", | |
| "geburtsdatum": "12.05.1966", | |
| "beruf": "Lehrerin", | |
| "emails": [ | |
| "[email protected]" |