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 http = require('http'); | |
| var options = { | |
| host: 'localhost', | |
| port: 3000, | |
| method: 'HEAD', | |
| headers: { | |
| 'connection': 'keep-alive' | |
| }, | |
| path: '/' |
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
| <html> | |
| <head> | |
| <script type="text/javascript" | |
| src='http://www.google.com/jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["corechart"]}]}'> | |
| </script> | |
| <script type="text/javascript" src="http://stevenlevithan.com/demo/parseuri/js/assets/parseuri.js"></script> | |
| <script type="text/javascript"> | |
| window.ondragover = function () { | |
| return false; |
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
| <div id="events"> | |
| </div> | |
| <script type="text/javascript"> | |
| uri = 'ws://ql.io'; | |
| var wsCtor = window['MozWebSocket'] ? MozWebSocket : WebSocket; | |
| var socket = new wsCtor(uri, 'ql.io-console'); | |
| socket.onopen = function () { | |
| var div = document.getElementById('events'); |
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
| <script type="text/javascript" src="http://ql.io/scripts/compiler.js"></script> | |
| <script type="text/javascript"> | |
| var plan = require('ql.io-compiler').compile('your ql.io script here'); | |
| </script> |
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 plan = require('ql.io-compiler').compile('your ql.io script here'); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
| <script type="text/javascript" src="http://ql.io/scripts/jquery-min.js"></script> | |
| <script type="text/javascript" src="http://ql.io/scripts/jquery-ui.min.js"></script> | |
| <script type="text/javascript" src="http://ql.io/scripts/compiler.js"></script> | |
| <script type="text/javascript" src="http://codemirror.net/lib/codemirror.js"></script> | |
| <script type="text/javascript" src="http://ql.io/scripts/qlio-editor.js"></script> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js"></script> | |
| <script type="text/javascript" src="http://localhost:3000/scripts/jquery-min.js"></script> | |
| <script type="text/javascript" src="http://localhost:3000/scripts/jquery-ui.min.js"></script> | |
| <script type="text/javascript" src="http://ql.io/scripts/compiler.js"></script> | |
| <script type="text/javascript" src="http://codemirror.net/lib/codemirror.js"></script> |
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 util = require('util'), | |
| _ = require('underscore'); | |
| exports.filter = function() { | |
| this.row = _.uniq(this.row); | |
| return this.next(null, this.row); | |
| } |
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
| /* | |
| * Copyright 2012 eBay Software Foundation | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
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
| /* | |
| * Copyright 2012 eBay Software Foundation | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |