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 -e | |
RAILS_COMMAND="docker compose exec -T backend rails" | |
branch_name=$1 | |
if [ -z "$branch_name" ]; then | |
echo "Please specify branch name." | |
exit 0; |
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
package myrange | |
import "fmt" | |
type RangeType int | |
const ( | |
OPEN RangeType = iota | |
CLOSE | |
OPEN_CLOSE |
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
require 'optparse' | |
require 'aws-sdk' | |
require 'pp' | |
### パラメータ ### | |
params = ARGV.getopts('l:t:p:', 'limit:', 'table:', 'profile:') | |
# pp params | |
LATE_LIMIT = (params['l'] || params['limit'] || '50').to_f / 100.0 | |
TABLE_NAME = params['t'] || params['table'] || '' |
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 | |
# BacklogのWebDAVパス | |
WEBDAV_SERVER=https://xxxx.backlog.jp/dav/XXXX/ | |
# マウントディレクトリ | |
MOUNT_DIR=/Volumes/XXXX | |
# アップロードディレクトリ | |
UPLOAD_DIR=/仕様書 | |
# WebDAV接続 |
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 | |
# GitHubのリポジトリパス | |
REPOSITORY_PATH=git@github.com:xxx/yyy | |
# リポジトリ名 | |
REPOSITORY_NAME=yyy | |
# 出力ファイル名 | |
OUTPUT_FILENAME=SPEC.pdf | |
# リポジトリをクローン |