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
| android { | |
| lintOptions { | |
| disable 'InvalidPackage', 'IconMissingDensityFolder', 'ResourceType' | |
| // Disable this check temporally | |
| enable 'ValidFragment' | |
| abortOnError project.hasProperty("abortOnLintError") ? project.getProperty("abortOnLintError").toBoolean() : true | |
| } | |
| } |
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
| 1. 裝 github cli | |
| https://cli.github.com/ | |
| 然後登入, auth ... | |
| 2. 把兩個 script 放在 ~/bin/, 設定 PATH=$PATH:/Users/kkday/bin/ | |
| 3. .zshrc 設定 alias | |
| ``` |
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
| lifecycleScope.launch(Dispatchers.IO) { | |
| val start = Instant.now().epochSecond | |
| println(">>> ${Instant.now().epochSecond}") | |
| val def1 = async { async1() } | |
| val def2 = async { async2() } | |
| println(">>> ${def1.await()} ${def2.await()}") | |
| println(">>> ${Instant.now().epochSecond - start}") //3 | |
| } | |
| lifecycleScope.launch() { | |
| val start = Instant.now().epochSecond |
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
| { | |
| "Triggers": [ | |
| { | |
| "CustomerId": "kkdaytest", | |
| "Description": null, | |
| "Id": "e0238f50-b0e5-4fb4-938d-0117136de7b1", | |
| "IsQueueitDefault": false, | |
| "IsUsed": false, | |
| "LogicalOperator": "And", | |
| "Name": "trigger_test_m_product_page", |
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
| #!/bin/bash | |
| progname="${0##*/}" | |
| progname="${progname%.sh}" | |
| # usage: check_elf_alignment.sh [path to *.so files|path to *.apk] | |
| cleanup_trap() { | |
| if [ -n "${tmp}" -a -d "${tmp}" ]; then | |
| rm -rf ${tmp} | |
| fi |
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
| 7000953 |