1 | static S loadSnippetVersion(S snippetID, S md5) { |
2 | assertTrue(isMD5(md5)); |
3 | ret nullIfEmpty(loadPage("http://tinybrain.de:8080/tb/get-version-raw.php?id=" + parseSnippetID(snippetID) + "&md5=" + urlencode(md5) + standardCredentials())); |
4 | } |
5 | |
6 | static S loadSnippetVersion(S snippetIDAndMD5) { |
7 | L<S> l = splitAt(snippetIDAndMD5, "/"); |
8 | assertEquals(snippetIDAndMD5, 2, l(l)); |
9 | ret loadSnippetVersion(first(l), last(l)); |
10 | } |
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: | #1002090 |
Snippet name: | loadSnippetVersion |
Eternal ID of this version: | #1002090/1 |
Text MD5: | 9c044567ad62e2c913929299d799f6e2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-24 12:06:54 |
Source code size: | 432 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 607 / 867 |
Referenced in: | [show references] |