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

21
LINES

< > BotCompany Repo | #1008710 // TinyBrain Server Bot [old]

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

Transpiled version (6279L) is out of date.

1  
!7
2  
3  
static Class bot1, bot2;
4  
5  
p {
6  
  bot1 = hotwireDependent(#1002424);
7  
  set(bot1, onClear := r {
8  
    callOpt(bot2, "clearCaches")
9  
  });
10  
  callMain(bot1);
11  
  bot2 = runDependent(#1008705);
12  
  runDependent(#1010768); // Eagle DNS
13  
  
14  
  //startBotAtPort(4897, "Disk Space Bot.", runDependent(#1001951));
15  
  serveHttp(4897);
16  
  sleep();
17  
}
18  
19  
html {
20  
  ret serveText(callAnswerFunction(runDependentOnce(#1001951), urldecode(dropLeadingSlash(uri))));
21  
}

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: #1008710
Snippet name: TinyBrain Server Bot [old]
Eternal ID of this version: #1008710/10
Text MD5: af01a417b20df198b0700b8452f4ed60
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-01 22:17:38
Source code size: 459 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 478 / 70526
Version history: 9 change(s)
Referenced in: [show references]