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
# stdin | |
docker build -t hoge - < Dockerfile.another | |
# option | |
docker build -t hoge -f Dockerfile.another . |
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
{ | |
let options = { | |
key1: "val1", | |
}; | |
const optionsDefault = { | |
key1: "default-val1", | |
key2: "default-val2", | |
}; | |
// object rest spread on es7 |
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
const flattened = [[0, 1], [2, 3], [4, 5]].reduce((p, x) => p.concat(x)); | |
// flattened is [0, 1, 2, 3, 4, 5] |
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
alert('test'); |
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 -eu | |
# Usage: hunho2markdown.sh <2010-01-02> | |
# required: export SLACK_TOKEN="(e.g. https://api.slack.com/custom-integrations/legacy-tokens)" | |
# required: brew install pandoc | |
date="${1:-undefined}" | |
# slack variables | |
slack_domain="${SLACK_DOMAIN:-f**df****e}" # ****.slack.com | |
slack_userid="${SLACK_USERID:-U********}" |
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 -eu | |
# | |
# required env: | |
# WAFFLE_ACCESS_TOKEN | |
# WAFFLE_ORG_NAME | |
# WAFFLE_PROJECT_NAME | |
# | |
# required packages: | |
# base64 | |
# curl |
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 -eu | |
# | |
# required env: | |
# SLACK_TEXT: Description, Build URL of CI | |
# SLACK_INCOMING: Slack Incoming Webhook URL | |
# | |
# required stdin: | |
# json text of `.data.advisory` on yarn audit | |
# | |
# required packages: |
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 -eu | |
# | |
# required env: | |
# GITHUB_ACCESS_TOKEN | |
# GITHUB_PROJECT_ID | |
# GITHUB_PROJECT_SETTING_CARD_ID | |
# SLACK_INCOMING_WEBHOOK_URL | |
# | |
# required packages: | |
# base64 |
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 -eu | |
# | |
# Testcafe report of json to xunit for split by timings on CircleCI | |
# | |
# refs. | |
# https://github.com/DevExpress/testcafe-reporter-xunit | |
# https://github.com/DevExpress/testcafe-reporter-json | |
# | |
# required packages: | |
# base64 |
OlderNewer