Libraryless. Click here for Pure Java version (5309L/36K).
1 | !7 |
2 | |
3 | module OnlineChecker > DynBigNumber { |
4 | start { |
5 | setDescription("INTERNET"); |
6 | doEveryAndNow(10000, r actualUpdate); |
7 | } |
8 | |
9 | void actualUpdate { |
10 | setValue(areWeOnline() ? "ONLINE" : "OFFLINE"); |
11 | } |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018978 |
Snippet name: | Internet Detector [Dyn Module] |
Eternal ID of this version: | #1018978/3 |
Text MD5: | 27dba183aa176f6ab28fa0ccdf03b700 |
Transpilation MD5: | 67f7d6a5a9fa17228cb8d4b312aedff0 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-19 21:46:50 |
Source code size: | 223 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 338 / 523 |
Version history: | 2 change(s) |
Referenced in: | [show references] |