- https://mermaid-js.github.io/mermaid/#/sequenceDiagram
Sequence diagram - mermaid
- https://github.com/mjbvz/vscode-markdown-mermaid
マークダウンファイル内の mermaid 記法を描画する。
概要 | |
2019年の発表以来、Amazon Chime SDKのお客様からアプリケーションにメッセージング機能が必要であるという要望が多く寄せられてきました。テレヘルス(遠隔医療)のお客様は、ケアプロバイダーと患者間のリアルタイムおよび非同期のコミュニケーションを可能にしたいと考えています。ライブイベントの主催者は参加者がビデオストリームを見ながらメッセージングでリアルタイムにコンテンツについて議論したいと考えています。バーチャルな展示会を開催するサービスでは、メッセージングを使って会議の参加者とバーチャルなブースにいる専門家を結びつけたいと考えています。 | |
そこで、私たちはAmazon Chime SDKにメッセージング機能を組み込みました。Amazon Chime SDKのメッセージングは、単なる基本的なチャット以上のものになるように設計されています。チャットのユースケースをお持ちのお客様は、チャネルを通じてユーザーのコミュニティをつなぐ体験を作ることができます。お客様は1人から数人のメンバーを含むシナリオ用のチャネルを作成したり、最大10万人のメンバーを含むチャネルを作成したりすることができます。また、Amazon Chime SDK for Messagingを使用して、複数のユーザーが同時にアプリケーションを表示・更新できるリアルタイムコラボレーション機能を構築し、各ユーザーの表示間で一貫した状態を維持することができます。現在、モバイルワーカー支援サービスを提供するPlayerLync社のようなお客様が職場での学習やコラボレーションを可能にするためにメッセージングを利用しています。 | |
PlayerLync社のChief Technology OfficerであるGreg Menard氏は次のように話をいただいています。「PlayerLync社はStarbucks社、Crocs社、Southern Company Gas社などのお客様に、トレーニング、学習、コラボレーションをより効率的に行うためのオールインワンソリューションを提供しています。Amazon Chime SDKを選んだのは、既存のサービスに新規のコミュニケーション機能を追加するにあたり、既存のユーザーエクスペリエンスの中で、機能追加をコントロールすることが可能だったからです。また、AWSのセキュリティとスケーラビリティを提供し、使い慣れたAWS |
const buf2hex = arrayBuffer => { | |
return [...new Uint8Array(arrayBuffer)] | |
.map(x => x.toString(16).padStart(2, '0')).join(''); | |
} | |
const text = `あいうえお`; | |
const data = new TextEncoder().encode(text); | |
const digest = await crypto.subtle.digest("SHA-1", data); | |
console.log(digest); | |
//=> ArrayBuffer(20) |
[ | |
{ | |
"AllowedHeaders": [ | |
"*" | |
], | |
"AllowedMethods": [ | |
"GET", | |
"HEAD" | |
], | |
"AllowedOrigins": [ |
package main | |
import ( | |
"fmt" | |
enum "github.com/hatappo/go-skelton/main/enum" | |
) | |
func main() { | |
hoge := enum.SeasonValueOf("ほげ") |
# by default, the Ghost image will use SQLite (and thus requires no separate database container) | |
# we have used MySQL here merely for demonstration purposes (especially environment-variable-based configuration) | |
version: '3.1' | |
services: | |
ghost: | |
image: ghost:3-alpine | |
platform: linux/amd64 |
let q = $('#qtext').text().trim().replace(/\n+/igm, "\n");
let a = $('#alternatives').text().replace(/\n\s*解答/igm, '').trim().replace(/[\n\t]\s*/igm, "\n* ");
console.log(`${q}\n\n* ${a}`);
function wareki(westernYear = 2021) { | |
const [gengo, japanYear] = westernYear2japanYear(westernYear); | |
console.log(`西暦${westernYear}年は、和暦の${gengo}${japanYear}年です。`); | |
return `${gengo}${japanYear}`; | |
} | |
function westernYear2japanYear(year) { | |
if (!Number.isInteger(year)) throw `引数 ${year} は整数でなければいけません。`; | |
//if (year > yyyy) return ['??', year - yyyy]; // 未来 | |
if (year > 2018) return ['令和', year - 2018]; |
{ | |
"ba5dce76ac3abbaf2854672257bc397fbc87bed2e05dcb0128a1adca56de00f3": { | |
"read": "2020-09-01T13:02:42.963523405Z", | |
"preread": "2020-09-01T13:02:41.961050578Z", | |
"pids_stats": { | |
"current": 7 | |
}, | |
"blkio_stats": { | |
"io_service_bytes_recursive": [], | |
"io_serviced_recursive": [], |