adb kill-server
adb start-server
adb reboot
adb reboot recovery
| #!/bin/sh | |
| # Check for "TODO" in staged files | |
| TODO_FOUND=$(git diff --cached --name-only --diff-filter=AM | grep -E '\.(kt|java|xml|kts|properties)$' | xargs -r grep -l 'TODO') | |
| if [ ! -z "$TODO_FOUND" ]; then | |
| echo "🔴 These TODOs are not refering to any task" | |
| echo "$TODO_FOUND" | |
| echo "Consider addressing the TODOs or creating tickets for them before committing." | |
| # Uncomment the next line to block the commit until TODOs are addressed |
| #! /bin/bash | |
| ##################################################### | |
| # Fetch DNS configurations from shecan.ir # | |
| ##################################################### | |
| set -e | |
| reset=`tput sgr0` | |
| red=`tput setaf 1` |