static TimedCache<S> adbForward_list = new TimedCache(10); static void adbForward() { if (!isOnPATH("adb")) print("adb not on path"); else { backtick_verbose = true; S list = adbForward_list.get(new O() { O get() { ret backtick("adb forward --list"); }}); if (!contains(list, "4995")) backtick("adb forward tcp:4995 tcp:4999"); } }
Began life as a copy of #1004458
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: | #1004459 |
Snippet name: | adbForward |
Eternal ID of this version: | #1004459/1 |
Text MD5: | 1f53207b8d444e57a43ea3fbf7bd0b8e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-18 20:06:52 |
Source code size: | 371 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 576 / 592 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |