Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1001009 // Upload github zip to TinyBrain

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (163L/2K/6K).

!747

m {
  static S githubPath = "atom/electron";
  static boolean doIt = true;
  
  p {
    S url = "https://github.com/" + githubPath + "/archive/master.zip";
    S found = findSnippetNamed("Data: " + url);
    print("Found: " + 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));
    }
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001009
Snippet name: Upload github zip to TinyBrain
Eternal ID of this version: #1001009/1
Text MD5: c7a20fc83d14c4d4968ac93bcd9dde31
Transpilation MD5: c444e507f950f1a7220f031c01af7df3
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-16 00:35:33
Source code size: 469 bytes / 17 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 563 / 625
Referenced in: #1002100 - Upload github zip to TinyBrain (mcheese/cheesebase)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)