variable "backends" {
type = list(map(string))
}
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
type tree struct { | |
value int | |
left, right *tree |
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
Vue.component('coupon', { | |
props: ['value'], | |
template: ` | |
<input type="text" class="input" :value="value" @input="updateCode($event.target.value)" ref="input"> | |
`, | |
data() { |
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
<config-template xmlns="http://tail-f.com/ns/config/1.0" | |
servicepoint="tagtest"> | |
<devices xmlns="http://tail-f.com/ns/ncs"> | |
<device> | |
<name>{device}</name> | |
<config> | |
<nodes xmlns="http://example.com/device"> | |
<?foreach {node}?> | |
<node tags="merge"> | |
<id>{id}</id> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Hello Bulma!</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css"> | |
<script defer src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"></script> | |
</head> | |
<body> |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"net/http" | |
"strconv" | |
"time" | |
) |
Compute@Edge の開発の流れやツールを紹介するためのハンズオンワークショップです。
ワークショップへ参加する為には Fastly CLI のインストールと JavaScript の開発環境が必要です。 まだ準備ができていない場合は、こちらの記事を参考にご対応ください。 https://zenn.dev/hrmsk66/articles/74e2e890726e99
Fastly CLI のバージョンの違いによるトラブルを避けるために fastly update
コマンドを実行しておいてください。
import {
decodeWebSocketEvents,
encodeWebSocketEvents,
WebSocketContext,
WebSocketMessageFormat,
} from "@fanoutio/grip";
import { Publisher } from "@fastly/grip-compute-js";
import { GRIP_URL } from "./env";
*点線はオリジナル画像のリクエスト/レスポンス
sequenceDiagram
autonumber
participant Client
participant Edge/Deliver
participant Edge/Fetch
participant Shield/Deliver
participant Shield/Fetch
*点線はオリジナル画像のリクエスト/レスポンス
sequenceDiagram
autonumber
participant Client
participant Edge/Deliver
participant Edge/Fetch
participant Shield/Deliver
participant Shield/Fetch
OlderNewer