Skip to content

Instantly share code, notes, and snippets.

@shaobin0604
Created September 3, 2019 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaobin0604/2f72c072f748ca124f8a78bfe8597872 to your computer and use it in GitHub Desktop.
Save shaobin0604/2f72c072f748ca124f8a78bfe8597872 to your computer and use it in GitHub Desktop.
zsh alias
fix_sdk='echo "sdk.dir=`echo $ANDROID_SDK_HOME`" > local.properties; echo ndk.dir=`echo $ANDROID_NDK_HOME` >> local.properties'
tcpdump_start_n='adb shell /data/local/tmp/tcpdump -vv -s 0 -w /sdcard/tcp.cap'
tcpdump_pull='adb pull /sdcard/tcp.cap'
tcpdump_start='adb shell tcpdump -vv -s 0 -w /sdcard/tcp.cap'
pm_clear='adb shell pm clear'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment