https://keijidosha.github.io/memo/spring/Kotlin_on_Spring.html
https://keijidosha.github.io/memo/kotlin/kotlin_coroutines.html
import kotlinx.coroutines.experimental.runBlocking
import kotlinx.coroutines.experimental.launch
import kotlinx.coroutines.experimental.delay
suspend fun doWorld() {
delay( 1000L )
https://keijidosha.github.io/memo/linux/sox.html
- Wavファイル情報を表示
soxi hoge.wav - Wavファイルを結合
sox hoge1.wav hoge2.wav result.wav - Wavファイルを分割
(例) 3秒単位で分割
sox hoge.wav splited.wav trim 0 3 : newfile : restart
(例) 最初の 3秒だけ切り出し(分割)
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
import io.ktor.client.HttpClient | |
import io.ktor.client.engine.apache.Apache | |
import io.ktor.client.request.request | |
import io.ktor.client.response.HttpResponse | |
import io.ktor.client.response.readText | |
import io.ktor.http.HttpMethod | |
import io.ktor.content.OutgoingContent.ReadChannelContent | |
import io.ktor.cio.readChannel | |
import kotlinx.coroutines.experimental.runBlocking | |
import java.io.File |
NewerOlder