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

20
LINES

< > BotCompany Repo | #1013219 // Smart Bot Web Count 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 (8046L/55K).

1  
!7
2  
3  
static double interval = 1;
4  
5  
p-noconsole {
6  
  ShowBigText sbt = showBigText("Smart Bot Web Count", f data, toMS(interval));
7  
  setToolTip(sbt.is, "Smart Bot's Webs");
8  
}
9  
10  
static S[] data() {
11  
  try {
12  
    S num = loadPage("http://smartbot.botcompany.de/the-big-number");
13  
    //S title = firstTwoDigits(num) + "+" + lastTwoDigits(num);
14  
    S title = firstThreeDigits(num) + "+" + nextToLastDigit(num);
15  
    //ret new S[] { num, num + " webs" };
16  
    ret new S[] { num, title };
17  
  } catch print short e {
18  
    ret new S[] { "OFFLINE" };
19  
  }
20  
}

Author comment

Began life as a copy of #1012870

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: #1013219
Snippet name: Smart Bot Web Count as big text
Eternal ID of this version: #1013219/10
Text MD5: 37cf2f24f86aaeadd641e455b1374f9a
Transpilation MD5: 1f63ecfdcb64368e56f3b97ad66e206d
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-29 00:29:45
Source code size: 557 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 1227
Version history: 9 change(s)
Referenced in: [show references]