- C помощью Finder ищем путь до нашего приложения
/Applications/Sublime\ Text.app
- Открываем
open ~/.bash_profile
- Добавляем к нашему полученному пути следующую строчку
/Contents/SharedSupport/bin/subl
- Записываем alias
alias sublime="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
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
import kotlin.collections.* | |
import org.reactivestreams.* | |
import kotlinx.coroutines.channels.* | |
import kotlinx.coroutines.reactive.* | |
import kotlinx.coroutines.* | |
import kotlin.coroutines.* | |
@ExperimentalCoroutinesApi | |
fun <T, U> Publisher<T>.debounce(timeout: Long, ctx: CoroutineContext) = GlobalScope.publish(ctx) { | |
var idx = 0; |