1 | static String getServerTranspiled(String snippetID) ctex {
|
2 | long id = parseSnippetID(snippetID); |
3 | /*S t = getTranspilationFromBossBot(id); |
4 | if (t != null) return t;*/ |
5 | |
6 | File cacheFile = new File(getCacheProgramDir("#1001154", "t" + id);
|
7 | S text = loadTextFile(cacheFile); |
8 | S md5 = text == null ? "" : md5(text); |
9 | |
10 | S u = tb_mainServer() + "/tb-int/get-transpiled.php?raw=1&withlibs=1&id=" + id + "&utf8=1&md5=" + md5; |
11 | URL url = new URL(u); |
12 | loadPage_charset.set("UTF-8");
|
13 | try {
|
14 | return loadPage(url); |
15 | } finally {
|
16 | loadPage_charset.set(null); |
17 | } |
18 | } |
Began life as a copy of #1001154
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003882 |
| Snippet name: | getServerTranspiled, editing |
| Eternal ID of this version: | #1003882/2 |
| Text MD5: | 0bbc04b6f84197bc56e26730823a600a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-29 16:52:54 |
| Source code size: | 587 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 785 / 773 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |