物事の流れや処理の規格だけを決めたもの
設計図
ex. 車の駆動系
- アクセルでスピードがどれだけ変化するか
- ブレーキでスピードがどれだけ変化するか
docker run --gpus "all" --rm -v ${PWD}/data:/host_dir wawa9000/sadtalker \ | |
--driven_audio /host_dir/some.wav \ | |
--source_image /host_dir/some.jpg \ | |
--still true \ | |
--preprocess full \ | |
--enhancer gfpgan \ | |
--result_dir /host_dir |
import akka.stream.{Attributes, FanInShape2, Inlet, Outlet} | |
import akka.stream.stage.{GraphStage, GraphStageLogic, InHandler, OutHandler} | |
class ZipOptionalWith2[A1, A2, O] (val zipper: (Option[A1], Option[A2]) => O) extends GraphStage[FanInShape2[A1, A2, O]] { | |
override def initialAttributes = Attributes.name("ZipOptionalWith2") | |
override val shape: FanInShape2[A1, A2, O] = new FanInShape2[A1, A2, O]("ZipOptionalWith2") | |
def out: Outlet[O] = shape.out | |
val in0: Inlet[A1] = shape.in0 | |
val in1: Inlet[A2] = shape.in1 |
package com.example.testappp | |
import androidx.appcompat.app.AppCompatActivity | |
import android.os.Bundle | |
import android.graphics.Color | |
import android.graphics.Point | |
import android.graphics.drawable.ColorDrawable | |
import android.view.View | |
import android.widget.Button | |
import android.widget.LinearLayout |
FROM python:3.7.3-slim-stretch | |
ENV PYTHONPATH "/opt/python/library" | |
COPY ./requirements.txt /tmp/requirements.txt | |
RUN apt-get update && \ | |
apt-get install -y libopencv-dev | |
RUN set -x && \ | |
pip install -U pip && \ | |
pip install -r /tmp/requirements.txt && \ | |
mkdir -p /opt/python/library && \ | |
mkdir -p /opt/python/jupyter && \ |
object BitflyerInterpreter { | |
type Bitflyer[A] = Reader[APIAuth, A, Task] | |
implicit val BitflyerSYMInterpreter = new BitflyerSYM[Bitflyer] { | |
def order(orderData: OrderData) = | |
for { | |
_ <- ask[APIAuth, Task] | |
r <- pure(Task{ | |
println("order requested" + orderData) | |
Thread.sleep(1000) |
<template> | |
<!-- ▼LINE風ここから --> | |
<div class="line__container"> | |
<InviteQRModal @close="qr_flag = false" v-if="qr_flag"> | |
<vue-qrcode :value="qrImg" tag="img"></vue-qrcode> | |
</InviteQRModal> | |
<!-- タイトル --> | |
<div class="line__title"> | |
<p>{{groupId}}</p> | |
</div> |