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

25
LINES

< > BotCompany Repo | #1001341 // Kill, zip & upload a bot

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

Libraryless. Click here for Pure Java version (918L/8K/25K).

1  
!747
2  
3  
m {
4  
  static S botToZip = "#1001325"; // Heart (loud)
5  
  static S dataID;
6  
  
7  
  static int compressionLevel = 9; // highest!
8  
9  
  p {
10  
    botToZip = formatSnippetID(botToZip);
11  
    
12  
    print("Killing bot to zip first..");
13  
    killProgramID(botToZip);
14  
    print("OK, proceeding with zipping.");
15  
    
16  
    File zipPath = new File(getProgramDir(), botToZip + ".zip");
17  
    zipBot(botToZip, zipPath);
18  
    
19  
    S title = "Data zip of " + botToZip + " on " + computerID() + " at " + now();
20  
    S gummipw = getProgramID();
21  
    dataID = uploadDataSuperHigh(gummipw, title, zipPath);
22  
    
23  
    print("\nDone. Data ID: " + dataID);
24  
  }
25  
}

Author comment

Began life as a copy of #1001327

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001341
Snippet name: Kill, zip & upload a bot
Eternal ID of this version: #1001341/1
Text MD5: 7812cf30ea6cf336177e29305690c3a4
Transpilation MD5: c2ae852257b9e89c23371b6511e69c9a
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-10 18:38:48
Source code size: 650 bytes / 25 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 650 / 683
Referenced in: [show references]