search and replace:
$ grep --after-context=3 ports docker-compose.yml
ports:
- "5601:5601"
- "9200:9200"
- "5044:5044"
$
&
$ grep --after-context=3 expose docker-compose.override.yml
expose:
- "5601"
- "9200"
- "5044"
$
ai w/ vpn | meh
search and replace:
$ grep --after-context=3 ports docker-compose.yml
ports:
- "5601:5601"
- "9200:9200"
- "5044:5044"
$
&
$ grep --after-context=3 expose docker-compose.override.yml
expose:
- "5601"
- "9200"
- "5044"
$
ha! no root? no problem!
- XDA
adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS
- Google Play
adb -d shell pm grant com.asksven.betterbatterystats android.permission.BATTERY_STATS
adb -d shell pm grant com.asksven.betterbatterystats android.permission.DUMP
adb -d shell pm grant com.asksven.betterbatterystats android.permission.PACKAGE_USAGE_STATS
crosh> shell
chronos@localhost / $ sudo sh ~/Downloads/crouton -t audio,cli-extra,extension,touch,xfce,xfce-desktop -r trusty
...
chronos@localhost / $