This file contains 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
let array = [4, 5, 6] | |
let initialValue = 1 // giá trị bắt đầu | |
let rs = array.reduce((previousValue, item, index, arrayReduce) => { | |
// console.log(item); // giá trị của item tại index, item = array[index] | |
// console.log(previousValue); // đầu tiên previousValue = initialValue, previousValue = return callbackReduce() | |
// console.log(index); // index của array | |
// console.log(arrayReduce); // arrayReduce == array | |
let result = previousValue + item | |
return result |
This file contains 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
+ shutting down the IDE and then removing both | |
`~\AppData\Roaming\JetBrains\WebStorm2020.2\options\web-browsers.xml` and `~\AppData\Roaming\JetBrains\WebStorm2020.2\options\other.xml` |
This file contains 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
step 1: Connect Android device to pc | |
step 2: find package installed on device | |
+ adb shell pm list packages -f -3 | |
show list package for example: | |
+ package:/data/app/com.facebook.lite-8_89meYFwfdQ23e_DesbnA==/base.apk=com.facebook.lite | |
step 3: go to adb shell and pull apk file to sdcard | |
+ adb shell | |
+ cp /data/app/com.facebook.lite-8_89meYFwfdQ23e_DesbnA==/base.apk /sdcard/facebook.apk | |
step 4: pull apk file to pc | |
+ adb pull /sdcard/facebook.apk <path_pc_pull_file> |
This file contains 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
bước 1: Decoding | |
bước 2: Edit | |
bước 3: Building | |
bước 4: Sign App with keytool | |
b1: | |
apktool d <apk_file>.apk -o <dir_name> | |
b2: | |
edit | |
b3: |