cd ${path to your esp-idf folder}
cmd.exe /k ""${path to your .espressif/idf_cmd_init.bat}" "PYTHON_PATH" "$GIT_PATH""
This file contains hidden or 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 | |
| command -v kdeconnect-cli >/dev/null 2>&1 || { echo >&2 "kdeconnect is not installed. Aborting."; exit 1; } | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 <message>" | |
| exit 1 | |
| fi | |
| device=`kdeconnect-cli -a --id-only 2>/dev/null | head` |
This file contains hidden or 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
| adb shell wm size reset | |
| adb shell wm size 2440x1920 | |
| adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1 | |
| adb shell monkey -p com.jd.app.reader -c android.intent.category.LAUNCHER 1 | |
| scrcpy.exe -Sw |
This file contains hidden or 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 | |
| # Usage: animate.sh 1 | |
| adb shell settings put global window_animation_scale $1 | |
| adb shell settings put global transition_animation_scale $1 | |
| adb shell settings put global animator_duration_scale $1 |
This file contains hidden or 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
| ::来源 https://nga.178.com/read.php?&tid=21667647 | |
| @ECHO OFF | |
| ::防火墙规则名称(可修改) | |
| set Rule_Name=LuShi | |
| ::断线时间(自行设置) | |
| set Time_Out=5 | |
| ::进程名称(无需修改) | |
| set Soft_Name=Hearthstone.exe |
This file contains hidden or 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 | |
| ENABLE=$(adb shell getprop debug.layout) | |
| [[ "$ENABLE" == "false" ]] && ENABLE="true" || ENABLE="false" | |
| # https://stackoverflow.com/a/50618460/4097210 | |
| # The number 1599295570 is called SYSPROPS_TRANSACTION | |
| adb shell setprop debug.layout $ENABLE && adb shell service call activity 1599295570 |
This file contains hidden or 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
| # move2 -t dirA -e 'build\|dirA' -f ic.webp | |
| while getopts "t:f:e:" opt | |
| do | |
| case "$opt" in | |
| t ) targetDir="$OPTARG" ;; | |
| f ) file="$OPTARG" ;; | |
| e ) except="$OPTARG" ;; | |
| esac | |
| done |
This file contains hidden or 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
| operator fun Matrix.get(index: Int) = FloatArray(9).apply(::getValues)[index] |
This file contains hidden or 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
| adb -d shell pm disable-user --user 0 com.xiaomi.gamecenter | |
| adb -d shell pm disable-user --user 0 com.android.browser | |
| adb -d shell pm disable-user --user 0 com.miui.player | |
| adb -d shell pm disable-user --user 0 com.miui.video | |
| adb -d shell pm disable-user --user 0 com.android.fileexplorer | |
| adb -d shell pm disable-user --user 0 com.mfashiongallery.ema |