Transpiled version (2289L) is out of date.
1 | static S dataSnippetLink(S snippetID) { |
2 | long id = parseSnippetID(snippetID); |
3 | if (id >= 1100000 && id < 1200000) |
4 | ret imageServerURL() + id; |
5 | if (id >= 1200000 && id < 1300000) { // Woody files, actually |
6 | S pw = muricaPassword(); |
7 | if (empty(pw)) fail("Please set 'murica password by running #1008829"); |
8 | ret "https://botcompany.de/files/" + id + "?_pass=" + pw; // XXX, although it typically gets hidden when printing |
9 | } |
10 | ret fileServerURL() + "/" + id /*+ "?_pass=" + muricaPassword()*/; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1008825 |
Snippet name: | dataSnippetLink |
Eternal ID of this version: | #1008825/21 |
Text MD5: | 97d51e5d458ada1f3144dca87f37c7a1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-05 16:35:31 |
Source code size: | 518 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 636 / 793 |
Version history: | 20 change(s) |
Referenced in: | [show references] |