Transpiled version (6971L) is out of date.
1 | // default mode = "quick" |
2 | static Pair<Bool, S> transpileOnDediServer(S snippetID) {
|
3 | ret transpileOnDediServer(snippetID, "quick"); |
4 | } |
5 | |
6 | static Pair<Bool, S> transpileOnDediServer(long snippetID) {
|
7 | ret transpileOnDediServer(fsI(snippetID)); |
8 | } |
9 | |
10 | static Pair<Bool, S> transpileOnDediServer(long snippetID, S mode) {
|
11 | ret transpileOnDediServer(fsI(snippetID), mode); |
12 | } |
13 | |
14 | // mode = "quick", "medium", "fresh" |
15 | // result = pair(ok, answer) |
16 | static Pair<Bool, S> transpileOnDediServer(S snippetID, S mode) ctex {
|
17 | S url = "https://transpile-coffee.botcompany.de/"; |
18 | print("Transpiling " + formatSnippetID(snippetID) + " on " + url);
|
19 | |
20 | S result = postPage(url, |
21 | paramsPlus( |
22 | transpilationCredentials(), |
23 | +snippetID, |
24 | medium := eq(mode, "medium") ? "1" : null, |
25 | fresh := eq(mode, "fresh") ? "1" : null)); |
26 | print(result); |
27 | |
28 | bool ok = cic(htmlDecode(result), "Transpiled & uploaded"); |
29 | ret pair(ok, result); |
30 | } |
Began life as a copy of #1019465
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034708 |
| Snippet name: | transpileOnDediServer |
| Eternal ID of this version: | #1034708/5 |
| Text MD5: | 21f4084689695ce7f2bbbd26958c6dba |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-06-11 02:01:45 |
| Source code size: | 957 bytes / 30 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 362 / 484 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |