// f : voidfunc(S ua, S ip, bool hasCookie) static void ai1lol_onNewUAIP_noLookback(double interval, fO f) { doEvery(toMS(interval), 0, new Runnable { S last = last(tlft(loadPage("http://ai1.lol/1002157/raw/uaips"))); public void run() { L<S> lines = tlft(loadPage("http://ai1.lol/1002157/raw/uaips?after=" + urlencode(last))); L l = (L) map safeUnstructure(lines); for (O x : l) pcallF(f, getString(x, 'ua), getString(x, 'ip), getBool(x, 'hasCookie)); if (nempty(l)) last = last(lines); } }); }
Began life as a copy of #1010791
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: | #1010794 |
Snippet name: | ai1lol_onNewUAIP_noLookback - on new user agent and IP seen, don't look into history |
Eternal ID of this version: | #1010794/3 |
Text MD5: | 61289022fb4c8a2c0b6859f781567f5b |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-08 22:44:36 |
Source code size: | 561 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 383 / 419 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |