# adb命令
# 连接mumu模拟器
adb connect 127.0.0.1:7555
# 发送按键命令
# Key code constant: Menu key.
adb shell input keyevent 82
# 命令行翻墙
# mac
进入编辑
vim ~/.bash_profile
.hash_profile内容
function proxy_off(){
unset http_proxy
unset https_proxy
echo -e "已关闭代理"
}
function proxy_on() {
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
export http_proxy="http://127.0.0.1:1087"
export https_proxy=$http_proxy
echo -e "已开启代理"
}
启用生效
source ~/.zshrc
# windows
set http_proxy='127.0.0.1:1080'
set https_proxy='127.0.0.1:1080'
git命令 →