Libraryless. Click here for Pure Java version (2502L/16K/57K).
1 | !752 |
2 | |
3 | p { |
4 | for (File f : allEventLogs()) { |
5 | L<S> log = scanEventLogForText(f); |
6 | for (int i = 0; i+2 < l(log); i++) { |
7 | S a = log.get(i), b = log.get(i+1), c = log.get(i+2); |
8 | if (startsWith(a, "!j") |
9 | && startsWith(b, "[system]") |
10 | && match("yes", c)) { |
11 | print(indentx("> ", fromLines(a, b, c)) + "\nYES!!\n"); |
12 | applaud(); |
13 | } |
14 | } |
15 | } |
16 | |
17 | doneAnim(); |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004375 |
Snippet name: | Find Successful System Commands & Applaud Yourself |
Eternal ID of this version: | #1004375/1 |
Text MD5: | 27db8a3f5c0cff71fb57bfd7d623d311 |
Transpilation MD5: | cb1e53ef83ba7e2a3422a410d06a9dc0 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-15 13:21:22 |
Source code size: | 417 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 633 / 742 |
Referenced in: | [show references] |