start new:
tmux
start new with session name:
tmux new -s myname
在 Xcode 里下载文件真的是一种折磨, 特别是每次 Xcode 大版本更新都会遇到新的下载内容. 经过一翻周折, 本人找到一个方法可以轻松快速便捷地下载和安装对应的 Simulator 和 Doc 文件
#!/system/bin/sh | |
# 使用方法: | |
# adb shell "curl -Ssl https://gist.githubusercontent.com/kookxiang/1104e898f270c9a7a0784f70979ec532/raw/hackQQ.sh | su" | |
# 使用方法 (手动): | |
# 0.确保你手机 Root 了 | |
# 1.下载这个脚本到某个地方 | |
# 2.下载 Android SDK(需要其中的 adb) | |
# 3.在命令行运行 adb devices,确保能看到你的手机 |