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

17
LINES

< > BotCompany Repo | #1019948 // Nodes [Dyn Module, dev., authorized only]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (15308L/108K).

!7

module Nodes > DynObjectTable<Map> {
  start {
    dontPersist();
    doEvery(0.0, 10.0, r updateList);
  }
  
  void updateList enter {
    disableCertificateValidation();
    L<Map> l = safeUnstructureList(print(postPage("https://www.botcompany.de/1013835/raw/list.structure", muricaCredentials())));
    setData(map(l, func(Map m) -> Map {
      S uptime = getString(m, "Uptime");
      ret mapPlus(m, "Uptime" := firstIntAsString(uptime) + " s");
    }));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019948
Snippet name: Nodes [Dyn Module, dev., authorized only]
Eternal ID of this version: #1019948/13
Text MD5: b81067c74b8beac12b4e68f4134eb155
Transpilation MD5: c585de6afeaaa8c632869e0a0f3ac581
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-02 00:16:06
Source code size: 485 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 284 / 1850
Version history: 12 change(s)
Referenced in: [show references]