- Enable developer mode on android by tapping build number repeatedly
- Connect to computer via usb
- Ensure that adb is installed
adb --version
adb devices
to see devices, may need to auth on phoneadb shell
to get shellpm list packages
to list packagespm list packages -3 | cut -f 2 -d ":"
to list user installed packagespm list permissions
to list all permissions available system-wideappops get <PackageName>
to list permissions for a specific appappops set ignore
to ignore a permission for a specific app
This is a gist used in the following blog posts:
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
NVIDIA Driver Version: 455.23.05 CUDA Version: 11.1 | |
Credit: r4d1x | |
For benchmarking the card and allowing me to release the benchmarks here | |
There are a handful of algorithms failing, mostly appears related to SCRYPT and | |
is liking a tuning issue or small driver issue that we will need to take a look at. | |
Otherwise, seems fairly stable. | |
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
$ curl --help | |
Usage: curl [options...] <url> | |
--abstract-unix-socket <path> Connect via abstract Unix domain socket | |
--alt-svc <file name> Enable alt-svc with this cache file | |
--anyauth Pick any authentication method | |
-a, --append Append to target file when uploading | |
--basic Use HTTP Basic Authentication | |
--cacert <file> CA certificate to verify peer against | |
--capath <dir> CA directory to verify peer against | |
-E, --cert <certificate[:password]> Client certificate file and password |
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
'use strict'; | |
const crypto = require('crypto'); | |
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key | |
const IV = "5183666c72eec9e4"; // set random initialisation vector | |
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex'); | |
const phrase = "who let the dogs out"; | |
var encrypt = ((val) => { |
NewerOlder