Transpiled version (6971L) is out of date.
// default mode = "quick" static Pair<Bool, S> transpileOnDediServer(S snippetID) { ret transpileOnDediServer(snippetID, "quick"); } static Pair<Bool, S> transpileOnDediServer(long snippetID) { ret transpileOnDediServer(fsI(snippetID)); } static Pair<Bool, S> transpileOnDediServer(long snippetID, S mode) { ret transpileOnDediServer(fsI(snippetID), mode); } // mode = "quick", "medium", "fresh" // result = pair(ok, answer) static Pair<Bool, S> transpileOnDediServer(S snippetID, S mode) ctex { S url = "https://transpile-coffee.botcompany.de/"; print("Transpiling " + formatSnippetID(snippetID) + " on " + url); S result = postPage(url, paramsPlus( transpilationCredentials(), +snippetID, medium := eq(mode, "medium") ? "1" : null, fresh := eq(mode, "fresh") ? "1" : null)); print(result); bool ok = cic(htmlDecode(result), "Transpiled & uploaded"); ret pair(ok, result); }
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: | 149 / 231 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |