1 | static TimedCache<S> adbForward_list = new TimedCache(10); |
2 | |
3 | static void adbForward() { |
4 | if (!isOnPATH("adb")) |
5 | print("adb not on path"); |
6 | else { |
7 | backtick_verbose = true; |
8 | S list = adbForward_list.get(new O() { O get() { ret backtick("adb forward --list"); }}); |
9 | if (!contains(list, "4995")) |
10 | backtick("adb forward tcp:4995 tcp:4999"); |
11 | } |
12 | } |
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: | 575 / 592 |
Referenced in: | [show references] |