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

19
LINES

< > BotCompany Repo | #1012870 // Smart Bot Load as big text

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7913L/54K).

1  
!7
2  
3  
static double interval = 10;
4  
5  
p-noconsole {
6  
  showBigText("Smart Bot Load", f data, toMS(interval));
7  
}
8  
9  
static S[] data() {
10  
  try {
11  
    S load = loadPage("http://smartbot.botcompany.de/load");
12  
    if (isInteger(load)) load += ".00";
13  
    else if (charAtIs(load, l(load)-2, '.')) load += "0";
14  
    load = dropZero(load);
15  
    ret new S[] { load, load + " [Smart Bot Load]" };
16  
  } catch print short e {
17  
    ret new S[] { "OFFLINE" };
18  
  }
19  
}

Author comment

Began life as a copy of #1011283

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: #1012870
Snippet name: Smart Bot Load as big text
Eternal ID of this version: #1012870/14
Text MD5: ecb9ce58f35b5b319bee483e94592d19
Transpilation MD5: b76e03a69e37010408064d4dce26b402
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-26 00:59:48
Source code size: 458 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 582 / 1184
Version history: 13 change(s)
Referenced in: [show references]