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).

!7

static double interval = 10;

p-noconsole {
  showBigText("Smart Bot Load", f data, toMS(interval));
}

static S[] data() {
  try {
    S load = loadPage("http://smartbot.botcompany.de/load");
    if (isInteger(load)) load += ".00";
    else if (charAtIs(load, l(load)-2, '.')) load += "0";
    load = dropZero(load);
    ret new S[] { load, load + " [Smart Bot Load]" };
  } catch print short e {
    ret new S[] { "OFFLINE" };
  }
}

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: 581 / 1183
Version history: 13 change(s)
Referenced in: #1013219 - Smart Bot Web Count as big text