Libraryless. Click here for Pure Java version (609L/5K/16K).
!747 m { static S githubPath = "mcheese/cheesebase"; static boolean doIt = true; p { S url = "https://github.com/" + githubPath + "/archive/master.zip"; S found = findSnippetNamed("Data: " + url); print(found == null ? "Existing snippet not found" : "Snippet exists: " + found); if (found == null && doIt) { S addURL = "http://tinybrain.de:8080/tb-int/add_snippet.php"; S query = "type=37&high=1&public=1&url=" + urlencode(url); print(doPost(query, addURL)); } } }
Began life as a copy of #1001009
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002100 |
| Snippet name: | Upload github zip to TinyBrain (mcheese/cheesebase) |
| Eternal ID of this version: | #1002100/1 |
| Text MD5: | a58c788b023143e73d5ece7f42d0df26 |
| Transpilation MD5: | b8ed3085961aadd08dbf5ad71bc51ce6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-12-18 17:27:06 |
| Source code size: | 530 bytes / 17 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 796 / 881 |
| Referenced in: | [show references] |