local版circleCIのインストール方法は、 https://circleci.com/docs/ja/2.0/local-cli/ を参照ください。
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
| function findOnCal(cal, date, str) { | |
| var options = { | |
| search: str | |
| } | |
| var events = cal.getEventsForDay(date, options); | |
| return events[0]; | |
| } | |
| function getCapture(reg, str) { | |
| var reg_results = reg.exec(str); |
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 | |
| function help() { | |
| cat <<EOS | |
| google-cloud-sdkのdocker imageを簡単に利用できるcli。 | |
| \`gcloud (ARGS...)\`の代わりに\`gcp.sh exec (ARGS...)\`で利用できます。 | |
| Usage: | |
| gcp.sh init [--gcp-env <env_name>] | |
| gcp.sh exec [--gcp-env <env_name>] (ARGS...) |
how_to_poetry
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
| # credentials | |
| service_account_credentials.json | |
| # go | |
| go.sum |
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 ( | |
| "os" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| ) | |
| func main() { |
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/sh | |
| pmset displaysleepnow |