Skip to content

Instantly share code, notes, and snippets.

@pirate
pirate / parseURLParameters.js
Last active December 15, 2023 07:17
Parse URL query parameters in ES6
function getUrlParams(search) {
const hashes = search.slice(search.indexOf('?') + 1).split('&')
const params = {}
hashes.map(hash => {
const [key, val] = hash.split('=')
params[key] = decodeURIComponent(val)
})
return params
}
@jduck
jduck / nexus-ota-updates-2016-04-04.md
Last active June 5, 2016 00:46
April 2016 Nexus OTA Updates - Security Level 2016-04-02
@jduck
jduck / nexus-ota-updates-2016-06-01.md
Last active July 18, 2016 08:02
June 2016 Nexus OTA Updates - Security Level 2016-06-01
@bjmc
bjmc / kingrow_reset.txt
Last active March 28, 2020 01:30
Factory reset procedure for Kingrow K1
Trigger factory reset for Kingrow K1:
0) You'll need 'adb' and 'fastboot' installed. Use Google, or here's a guide:
https://www.androidpit.com/how-to-install-adb-and-fastboot
1) First, get to a state where adb recognizes the device...
1a) Press and hold Volume-Up + Power to get to a screen that says "Software update please wait patiently".
1b) I'm not sure exactly what the trick is from here (please add info if anyone knows), but
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 12, 2025 14:47
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !