Skip to content

Instantly share code, notes, and snippets.

View show sys logs on Sierra
#to show all logs
log show --predicate "processID == 0" --debug
#to show today's logs
log show --predicate "processID == 0" --start $(date "+%Y-%m-%d") --debug
@bosphere
bosphere / keep-adb-running.sh
Created Sep 23, 2016 — forked from mauron85/keep-adb-running.sh
Workaround adb disconnecting issue on macOS Sierra
View keep-adb-running.sh
#!/bin/bash
cat << EOF
###########################################################
# Workaround adb disconnecting issue on macOS Sierra
#
# More info:
# https://code.google.com/p/android/issues/detail?id=219085
# credits to: hans...@meetme.com, vs...@google.com
###########################################################