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 os import listdir,SEEK_END | |
| from os.path import isfile, join, getmtime | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import socketserver | |
| import time | |
| import subprocess | |
| import select | |
| from urllib.parse import parse_qs,urlparse | |
| import logging | |
| import sys, os, socket |
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 { | |
| apolloServer | |
| } | |
| from 'graphql-tools'; | |
| import express from 'express'; | |
| import bodyParser from 'body-parser'; | |
| const app = express(); | |
| app.use(bodyParser.urlencoded({ | |
| extended: true |
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
| // GriddleGriddle ColumnMeta's with some custom components | |
| export const ColumnMeta = [{ | |
| "columnName": "name", | |
| }, { | |
| "columnName": "url", | |
| "displayName": "URL" | |
| }, { | |
| "columnName": "method", | |
| }, { | |
| "columnName": "lastResult", |
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
| function phrase_action_message (action) { | |
| if (~action.task.name.indexOf('<node.name>')) { | |
| return action.task.name.replace('<node.name>', action.node.name); | |
| } | |
| return action.task.name + ' on ' + action.node.name; | |
| } |