This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add in end file ~/.bashrc | |
findapp() { adb shell pm list packages | grep "$1" | cat -v | sed -e 's/package://g' -e 's/\^M//g'; } | |
# findapp [shortName] out: com.example.package | |
findps() { adb shell ps | grep "$1"; } | |
# findps [shortName] out: process info if exist | |
stopapp() { adb shell am force-stop "$1"; } | |
# stopapp com.example.package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup album data | |
artist="Steven Solveig" | |
album="Beginning of the End - Trailer Underscores" | |
year=2017 | |
# Setup album songs | |
declare -a name; declare -a time; | |
name+=("Dark Awakening"); time+=("01:43") |
NewerOlder