Requirements:
-
Device should be a rooted (simulator’s are rooted by default)
-
adbd should be started as root. (Rub command:
adb root
)
Now, send local push message using command:
Requirements:
Device should be a rooted (simulator’s are rooted by default)
adbd should be started as root. (Rub command: adb root
)
Now, send local push message using command:
t ← min{m, n} | |
while(t > 0) do | |
if(m mod t = 0 and n mod t = 0) | |
return t | |
t ← t - 1 |
find . -name '*.txt' -exec sh -c 'x="{}"; mv "$x" "${x//2010/2022}"' \;
Whats under the hood?
mv
) command for each found file${x//2010/2022}
replaces string 2010
with 2022
in file names using shell parameter expansionRelated plugin: Keymap Nationalizer
https://plugins.jetbrains.com/plugin/14625-keymap-nationalizer
; with ş
/ with .
[ with ğ
find / -perm -o=r -exec test -f {} \; -exec ls -Al {} \; 2>/dev/null |
Android 4.4.1 -> OkHttp 1.1.2 | |
Android 5.0.0 -> OkHttp 2.0.0 | |
Android 6.0.1 -> OkHttp 2.0.0 | |
Android 7.1.2 -> OkHttp 2.5.0 | |
Android 8.1.0 -> OkHttp 2.6.0 | |
Android 9.0.0 -> OkHttp 2.6.0 | |
Android 10.0.0 -> OkHttp 2.6.0 |
#!/bin/bash | |
packageList=$(adb shell pm list packages | sed s/package://g) | |
while IFS='' read -r line <&4 | |
do | |
adb shell "echo $line" | |
adb shell dumpsys package "$line" | egrep ".*(BIND_ACCESSIBILITY_SERVICE|SYSTEM_ALERT_WINDOW).*" | |
done 4<<< "$packageList" |
#!/bin/bash | |
input_file_find_pattern="'\./$1.*'" | |
find_command="find . -regex $input_file_find_pattern" | |
input_files=() | |
while IFS= read -r line; do | |
input_files+=( "$line" ) | |
done < <( eval $find_command ) | |
ffmpeg_merge_command='ffmpeg -loglevel error' |
import java.security.*; | |
import java.security.spec.X509EncodedKeySpec; | |
import java.util.Base64; | |
/* | |
ANSI X9.62 elliptic curve prime256v1 (aka secp256r1, NIST P-256), SHA512withECDSA Signature verification using Java. | |
## Some useful OpenSSL commands in order to create keys and sign messages: |