See the this JavaClient for the API: https://sourcegraph.com/github.com/bjansen/IDEALeek/-/blob/src/com/plopiplop/leekwars/apiclient/LeekWarsApiClient.java
Looks like the flow:
- list all scripts
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| class H(BaseHTTPRequestHandler): | |
| def do_POST(self): | |
| print(f"\nPOST {self.path}") | |
| print(self.headers) | |
| n = int(self.headers.get("content-length", 0)) | |
| body = self.rfile.read(n) | |
| print(body[:1000]) |
See the this JavaClient for the API: https://sourcegraph.com/github.com/bjansen/IDEALeek/-/blob/src/com/plopiplop/leekwars/apiclient/LeekWarsApiClient.java
Looks like the flow:
| { | |
| "queryType": { | |
| "name": "Query", | |
| "description": "The query root for this schema", | |
| "kind": "OBJECT" | |
| }, | |
| "mutationType": { | |
| "name": "Mutation", | |
| "description": "The root for mutations in this schema", |
| { | |
| "data": { | |
| "__schema": { | |
| "queryType": { | |
| "name": "Query", | |
| "description": "The query root for this schema", | |
| "kind": "OBJECT" | |
| }, | |
| "mutationType": { |
| from atg.buildkite.cli import BuildkiteCli | |
| from atg.buildkite.environment import is_buildkite_build | |
| from atg.devex.ci import execution_environment | |
| from atg.devex.ci.buildkite.log import print_separator | |
| from atg.devex.ci.changedtargets import ( | |
| JSON_TARGET_FILENAME, | |
| BAZEL_PROTOBUF_FILENAME, | |
| changed_targets_report, | |
| determine_changed_targets, |
| const PRIMITIVE_PROTO_TYPES = new Set([ | |
| 'double', | |
| 'float', | |
| 'int32', | |
| 'int64', | |
| 'uint32', | |
| 'uint64', | |
| 'sint32', | |
| 'sint64', | |
| 'fixed32', |
| $ mkdir testrepo | |
| $ git init | |
| $ git lfs install | |
| Updated git hooks. | |
| Git LFS initialized. | |
| $ git lfs track "*.psd" | |
| Tracking "*.psd" | |
| $ git add .gitattributes | |
| $ git commit -m "attributes" | |
| [master (root-commit) 4a725e5] attributes |
| #!/usr/bin/env python | |
| """ | |
| Very simple HTTP server in python. | |
| Usage:: | |
| ./dummy-web-server.py [<port>] | |
| Send a GET request:: | |
| curl http://localhost |
| #! /usr/bin/env python | |
| # Author: Joseph Lisee <jlisee@gmail.com> | |
| # Purpose: Test out various clang formatting options | |
| # Usage: compare-format.py <diff-tool> <input-path> [<clang-options] | |
| # Example: | |
| # compare-format.py meld file.cpp "-style={BasedOnStyle: Google, IndentWidth: 4}" | |
| import os |