Transpiled version (2289L) is out of date.
static S dataSnippetLink(S snippetID) { long id = parseSnippetID(snippetID); if (id >= 1100000 && id < 1200000) ret imageServerURL() + id; if (id >= 1200000 && id < 1300000) { // Woody files, actually S pw = muricaPassword(); if (empty(pw)) fail("Please set 'murica password by running #1008829"); ret "https://botcompany.de/files/" + id + "?_pass=" + pw; // XXX, although it typically gets hidden when printing } ret fileServerURL() + "/" + id /*+ "?_pass=" + muricaPassword()*/; }
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: | 887 / 1091 |
| Version history: | 20 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026416 - dataSnippetLink_noHttps #1032196 - fileServerDownloadURL |