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
# 名前をの設定 | |
ACR_NAME=pakuecontainerus | |
RG_NAME=pakuecontainerregistry | |
AKV_NAME=$ACR_NAME-vault | |
ACI_NAME=acr-builid | |
# レジストリの作成 | |
az group create --location eastus --name $RG_NAME | |
az acr create --resource-group $RG_NAME --name $ACR_NAME --location eastus --sku Basic |
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
# 名前をの設定 | |
ACR_NAME=pakuecontainerus | |
RG_NAME=pakuecontainerregistry | |
AKV_NAME=$ACR_NAME-vault | |
ACI_NAMe $ACI_NAME | |
# レジストリの作成 | |
az acr create --resource-group $RG_NAME --name $ACR_NAME --location eastus --sku Basic | |
# Dockerfileのダウンロード |
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
# 名前をの設定 | |
ACR_NAME=pakuecontainerus | |
RG_NAME=pakuecontainerregistry | |
AKV_NAME=$ACR_NAME-vault | |
ACI_NAMe $ACI_NAME | |
# レジストリの作成 | |
az acr create --resource-group $RG_NAME --name $ACR_NAME --location eastus --sku Basic | |
# Dockerfileのダウンロード |
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
az group create -n pakueacinodered --location westus |
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
az group create --name pakueacinodered --location westus | |
az container create --name nodered --image nodered/node-red-docker --resource-group pakueacinodered --port 1880 --ip-address public | |
az container show --name nodered --resource-group pakueacinodered |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func handler(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintf(w, "%s", r.URL.Path[1:]) | |
fmt.Println("Request: %s", r.URL.Path[1:]) |
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
#! /bin/bash | |
id=12 | |
size=$(xinput list $id | grep disabled | wc -l) | |
if [ $size -eq 0 ]; then | |
xinput disable $id | |
else | |
xinput enable $id | |
fi |
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
FROM ubuntu:trusty | |
ENV DEBIAN_FRONTEND noninteractive | |
# update, curl | |
RUN apt-get update | |
RUN apt-get -y install git cmake libssl-dev libyaml-dev libuv-dev build-essential | |
# install h2o | |
RUN git clone https://github.com/h2o/h2o \ |
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
install: --no-doc | |
update: --no-doc |
NewerOlder