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
# 400 Status Code | |
BadRequestStatusCode: | |
type: string | |
enum: # gRPC Status Code | |
- INVALID_ARGUMENT | |
- FAILED_PRECONDITION | |
- OUT_OF_RANGE | |
# 401 Status Code | |
UnauthorizedStatusCode: | |
type: string |
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
const { join } = require('path') | |
const express = require('express') | |
const app = express() | |
app.use(express.static(join(__dirname, 'docs'))) | |
const host = 'localhost' | |
const port = 3000 | |
app.listen(port, host, () => { |
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
const { join } = require('path') | |
const { readFileSync } = require('fs') | |
const express = require('express') | |
const app = express() | |
const https = require('https') | |
app.use(express.static(join(__dirname, 'docs'))) | |
const server = https.createServer({ | |
key: readFileSync('localhost-key.pem'), |
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
gcloud alpha billing accounts list | |
echo "> Please select the billing account ID from the displayed and enter." | |
read GC_ACCOUNT_ID | |
echo "> Please enter a common project name for GitHub and GCP." | |
read PROJECT_NAME | |
echo "> Enter Cloud Run Location. (Recommendation is 'asia-northeast1' region)" | |
read GC_REVISION |
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
const internalIp = require('internal-ip') | |
const express = require('express') | |
const proxy = require('express-http-proxy') | |
const app = express() | |
require('colors') | |
const isLocalIpHosting = process.argv[2] === 'local-ip-hosting' | |
;(async() => { |
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
autoload -Uz compinit && compinit | |
### Added by Zinit's installer | |
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then | |
print -P "%F{33}▓▒░ %F{220}Installing DHARMA Initiative Plugin Manager (zdharma/zinit)…%f" | |
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit" | |
command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \ | |
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \ |
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
module.exports = { | |
ignorePatterns: [] | |
} |
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
<template> | |
<div> | |
<div v-if="isLeavePageDialogOpened" class="page-leave-dialog"> | |
<p>Are you sure you want to change the page?</p> | |
<div> | |
<button type="button" @onClick="leavePageNext(false)">No</button> | |
<button type="button" @onClick="leavePageNext(true)">Yes</button> | |
</div> | |
</div> | |
</div> |
NewerOlder