Skip to content

Instantly share code, notes, and snippets.

View a-mishra's full-sized avatar
🏠
Working from home

Ashutosh Mishra a-mishra

🏠
Working from home
View GitHub Profile
@sabpprook
sabpprook / gist:3a05cdaa0a2bab91de35a9de5d3bd2cf
Created September 19, 2016 23:27
Android ID change via ADB shell
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'"
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:7373de1e9e9670c2
@halfvector
halfvector / update-android-id.sh
Created July 16, 2014 17:09
update device's android_id
# prerequisites: rooted device, adb, sqlite installed locally
# works beautifully on glass
# android-ids are hexadecimal [0-9a-f]
# install sqlite3 locally to modify the db
sudo apt-get install -y sqlite3
# make sure we have a device connected
adb devices
@davfre
davfre / git_cheat-sheet.md
Last active May 3, 2026 16:43
git commandline cheat-sheet