Transpiled version (7131L) is out of date.
1 | // default mode = "quick" |
2 | static Pair<Bool, S> transpileOnNewServer(S snippetID) { |
3 | ret transpileOnNewServer(snippetID, "quick"); |
4 | } |
5 | |
6 | static Pair<Bool, S> transpileOnNewServer(long snippetID) { |
7 | ret transpileOnNewServer(fsI(snippetID)); |
8 | } |
9 | |
10 | static Pair<Bool, S> transpileOnNewServer(long snippetID, S mode) { |
11 | ret transpileOnNewServer(fsI(snippetID), mode); |
12 | } |
13 | |
14 | // mode = "quick", "medium", "fresh" |
15 | // result = pair(ok, answer) |
16 | static Pair<Bool, S> transpileOnNewServer(S snippetID, S mode) ctex { |
17 | print("Transpiling " + formatSnippetID(snippetID)); |
18 | |
19 | S url = "https://botcompany.de/1018308/raw/" + psI(snippetID); |
20 | url = appendParamsToURL(url, |
21 | medium := eq(mode, "medium") ? "1" : null, |
22 | fresh := eq(mode, "fresh") ? "1" : null); |
23 | S result = postPage(url, transpilationCredentials()); |
24 | print(result); |
25 | |
26 | bool ok = cic(htmlDecode(result), "Transpiled & uploaded"); |
27 | ret pair(ok, result); |
28 | } |
Began life as a copy of #1004306
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019465 |
Snippet name: | transpileOnNewServer |
Eternal ID of this version: | #1019465/12 |
Text MD5: | ccb55b7e31b6dcd073671529b002315a |
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:35 |
Source code size: | 932 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 402 / 507 |
Version history: | 11 change(s) |
Referenced in: | [show references] |