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

10
LINES

< > BotCompany Repo | #1003768 // programTopTen

JavaX fragment (include)

1  
static MultiSet<S> programTopTen() {
2  
  new MultiSet<S> programs;
3  
  new Matches m;
4  
  for (S s : scanLog("#1000825", "run.log")) pcall {
5  
    if "*: Running *" {
6  
      programs.add(fsi(onlyUntilSpace(trim(m.unq(1)))));
7  
    }
8  
  }
9  
  ret programs;
10  
} 

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003768
Snippet name: programTopTen
Eternal ID of this version: #1003768/1
Text MD5: 0e2d866d75d2e27d26bb7e99bca8a07d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-26 22:58:54
Source code size: 253 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 549 / 539
Referenced in: [show references]