| Prefix | Emoji | Meaning |
|---|---|---|
Required: |
❗ :exclamation: |
A concern that must be addressed before merging. |
Question: |
❓ :question: |
A question that must be answered before merging. |
Nitpick: |
⛏️ :pick: |
An optional, low priority change request. |
Idea: |
💡 :bulb: |
An idea to consider for this PR or a future one. |
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/sh | |
| # ------------------------- GENERAL ------------------------- # | |
| # install xcode command line tools | |
| xcode-select —install | |
| # install and setup homebrew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
| echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/jstarke/.zprofile |
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
| # clear app data | |
| adb shell pm clear <app-package-name> | |
| # launch app | |
| adb shell am start -n <app-package-name>/<qualified-launch-activity-class> |
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
| /** | |
| * Replaces the default RxJava schedulers with a synchronous one. | |
| */ | |
| class RxImmediateSchedulerRule : TestRule { | |
| private val immediateScheduler = object : Scheduler() { | |
| @NonNull | |
| override fun scheduleDirect(run: Runnable, delay: Long, unit: TimeUnit): Disposable { | |
| // Hack to prevent stack overflows in unit tests when scheduling with a delay; | |
| return super.scheduleDirect(run, 0, unit) | |
| } |