1 | static S createJavaProgram(S code, S title) { |
2 | S addURL = "http://tinybrain.de:8080/tb-int/add_snippet.php"; |
3 | S query = "type=21&superhigh=1&public=1&text=" + urlencode(code) |
4 | + "&name=" + urlencode(title); |
5 | S answer = doPost(query, addURL); |
6 | if (!isSnippetID(answer)) fail(answer); |
7 | ret answer; |
8 | } |
Began life as a copy of #1001631
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: | #1001644 |
Snippet name: | createJavaProgram |
Eternal ID of this version: | #1001644/1 |
Text MD5: | 189aebcb8a0ffb3300f10fdd8862c0cd |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-31 17:29:45 |
Source code size: | 312 bytes / 8 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 644 / 866 |
Referenced in: | [show references] |