1 | static String getServerTranspiled(S snippetID) { |
2 | ret getServerTranspiled(snippetID, null); |
3 | } |
4 | |
5 | sbool getServerTranspiled_printStackTrace; |
6 | |
7 | // returns "SAME" if md5 matches |
8 | static String getServerTranspiled(S snippetID, S expectedMD5) ctex { |
9 | if (getServerTranspiled_printStackTrace) printStackTrace(); |
10 | long id = parseSnippetID(snippetID); |
11 | /*S t = getTranspilationFromBossBot(id); |
12 | if (t != null) return t;*/ |
13 | |
14 | S text = loadPage_utf8(tb_mainServer() + "/tb-int/get-transpiled.php?raw=1&withlibs=1&id=" + id + "&utf8=1" |
15 | + (l(expectedMD5) > 1 ? "&md5=" + urlencode(expectedMD5) : "") |
16 | + standardCredentials()); |
17 | if (nempty(text) && neq(text, "SAME")) |
18 | saveTranspiledCode(snippetID, text); |
19 | ret text; |
20 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001154 |
Snippet name: | getServerTranspiled |
Eternal ID of this version: | #1001154/3 |
Text MD5: | c814ad428201f0f4edc380710ecaa31b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-18 18:11:13 |
Source code size: | 739 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 824 / 1507 |
Version history: | 2 change(s) |
Referenced in: | [show references] |