Libraryless. Click here for Pure Java version (15308L/108K).
1 | !7 |
2 | |
3 | module Nodes > DynObjectTable<Map> {
|
4 | start {
|
5 | dontPersist(); |
6 | doEvery(0.0, 10.0, r updateList); |
7 | } |
8 | |
9 | void updateList enter {
|
10 | disableCertificateValidation(); |
11 | L<Map> l = safeUnstructureList(print(postPage("https://www.botcompany.de/1013835/raw/list.structure", muricaCredentials())));
|
12 | setData(map(l, func(Map m) -> Map {
|
13 | S uptime = getString(m, "Uptime"); |
14 | ret mapPlus(m, "Uptime" := firstIntAsString(uptime) + " s"); |
15 | })); |
16 | } |
17 | } |
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: | 569 / 2217 |
| Version history: | 12 change(s) |
| Referenced in: | [show references] |