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

15
LINES

< > BotCompany Repo | #1015627 // Show "run first program" suggestion

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (8775L/62K).

!7

p-subst {
  autoRestart();
  
  final File f = programFile(#1000825, "search-results.txt");
  watchFile(f, 50, r {
    Map data = unstructFile(f);
    printStruct(data);
    L<Snippet> snippets = cast mapGet(data, "results");
    final Snippet s = first(snippets);
    if (s == null) ret;
    showSuggestion("Run? " + s.id + " - " + s.title, "nohupJavax(" + s.id + ");");
  });
}

Author comment

Began life as a copy of #1015597

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: #1015627
Snippet name: Show "run first program" suggestion
Eternal ID of this version: #1015627/8
Text MD5: f783f7c563f92b8735405f8cd1ff13c7
Transpilation MD5: ff19a0d9aaa8c3f2511beeab04380ae7
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-20 13:47:48
Source code size: 397 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 1181
Version history: 7 change(s)
Referenced in: [show references]