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 http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title> ここにタイトルを入れます </title> | |
<!-- ここに Copy the code into the <head> of your HTML5 page の 2行を入れます --> | |
</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
name: CI | |
on: | |
push: | |
branchs: | |
- master | |
- feature/add-actions-yaml # For test branch | |
jobs: | |
build: |
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
[{"id":"f52634cd.bfe848","type":"tab","label":"test FLOW","disabled":false,"info":""},{"id":"6b0f13f5.97105c","type":"http in","z":"f52634cd.bfe848","name":"","url":"/top","method":"get","upload":false,"swaggerDoc":"","x":130,"y":140,"wires":[["43ceb723.d32048"]]},{"id":"3ef85766.88a148","type":"http in","z":"f52634cd.bfe848","name":"","url":"/result","method":"get","upload":false,"swaggerDoc":"","x":130,"y":240,"wires":[["f63a440a.6ca428"]]},{"id":"43ceb723.d32048","type":"template","z":"f52634cd.bfe848","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<form action=\"result\" method=\"get\">\n コメントを入れてください: <input type=\"text\" name=\"word\"><br>\n</form>","output":"str","x":340,"y":140,"wires":[["633e3dc8.c6ab64"]]},{"id":"f63a440a.6ca428","type":"template","z":"f52634cd.bfe848","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<p1> あなたの入力は </p1>\n<h1> {{ payload.word }} </h1>\n<p1> です </p1>","output":"st |
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
#!/bin/bash | |
set -xeu | |
_I_TAG='project-name' | |
BASEPATH=$(cd `dirname $0`; pwd) | |
DIREPATH=`echo $BASEPATH | awk -F\/ '{print $NF}'` | |
set +eu | |
docker rm -f ${_I_TAG} |
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
"--- 基本設定 --- | |
set number " 行番号を表示する | |
set cursorline " カーソル行の背景色を変える | |
"set cursorcolumn " カーソル位置のカラムの背景色を変える | |
set laststatus=2 " ステータス行を常に表示 | |
set cmdheight=2 " メッセージ表示欄を2行確保 | |
set encoding=utf-8 " 文字エンコードをUTF-8にしていする | |
"set fileencodings=iso-2022-jp,euc-jp,sjis,utf-8 | |
"set fileformats=unix,dos,mac |
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
#!/bin/bash | |
set -x | |
yum_update() | |
{ | |
### upadte yum | |
yum update -y | |
### add epel reop |
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
FROM ubuntu:16.04 | |
MAINTAINER iganari <iganari@qiita.com> | |
# apt update | |
RUN apt-get update | |
RUN apt-get install -y sudo | |
# add sudo user | |
RUN groupadd -g 1000 developer && \ | |
useradd -g developer -G sudo -m -s /bin/bash iganari && \ |
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
#!/bin/sh | |
set -eu | |
#################### 設定 #################### | |
### Incoming WebHooksのURL | |
WEBHOOKURL="https://hooks.slack.com/services/AAA/BBB" | |
### slack 送信チャンネル | |
CHANNEL=${CHANNEL:-"#notify-me"} |
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
#cloud-config | |
coreos: |
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
#!/bin/bash | |
# Installation: | |
# 1. Save this script to /some/bin/ssh-background | |
# 2. chmod 755 /some/bin/ssh-background | |
# 3. alias ssh=/some/bin/ssh-background | |
# 4. Configure your host colors below. | |
set_color() { | |
local HEX_FG=$1 | |
local HEX_BG=$2 |