Skip to content

Instantly share code, notes, and snippets.

@mniami
mniami / AdbCommands
Created October 25, 2019 06:11 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@mniami
mniami / pre-commit
Created October 15, 2019 07:44 — forked from acdha/pre-commit
Git pre-commit hook which runs various code linters. Install this to .git/hooks/pre-commit inside your favorite repos
#!/usr/bin/env PYTHONIOENCODING=utf-8 python
# encoding: utf-8
"""Git pre-commit hook which lints Python, JavaScript, SASS and CSS"""
from __future__ import absolute_import, print_function, unicode_literals
import os
import subprocess
import sys
@mniami
mniami / Remove_MIUI_Bloatware.bat
Created March 29, 2018 14:34
Batch file to remove preinstalled bloated apps in MIUI devices with ADB
@echo off
set /p Y=Enter adb path:
cd %Y%
adb devices
for %%X in (
"com.android.browser"
"com.android.chrome"
"com.android.email"
"com.android.thememanager"
"com.android.thememanager.module"