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 | |
if [ -w /dev/stderr ] | |
then | |
STDERR=/dev/stderr | |
else | |
STDERR=/dev/tty # The only reason is that stderr is a link to console | |
fi | |
function echo_info() { |
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
module github.com/ictsc/ictsc-2024-problem-mng | |
go 1.22.5 | |
require ( | |
go.mongodb.org/mongo-driver v1.17.1 | |
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f | |
) | |
require ( |
mercari.go #4 https://mercari.connpass.com/event/105640/
- catatsuyというIDで各種SNS活動しています
- かたついって呼ばれています
- メルカリのSREチームで主にGoを書いています
- 前職はピクシブでpixivのHTTPS化・PHP7.1化・HTTP/2化や、広告サーバーの新機能追加など色々やっていました
9:00にオフィス(Sticky Fingers)
食料品は事前に用意しておく。食べ過ぎない。胃に負担をかけないようにする。
運営の櫛井さんからのメールに従って、サポートチャットと予選ポータルサイトにログインする。
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
2021-07-29T03:11:56.234169Z 0 [Note] [MY-010098] [Server] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled | |
2021-07-29T03:11:56.234218Z 0 [Note] [MY-010949] [Server] Basedir set to /usr/local/mysql/. | |
2021-07-29T03:11:56.234230Z 0 [System] [MY-010116] [Server] /usr/local/mysql/bin/mysqld (mysqld 8.0.25) starting as process 1 | |
2021-07-29T03:11:56.436463Z 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO | |
2021-07-29T03:11:56.436607Z 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled. | |
2021-07-29T03:11:56.438916Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. | |
2021-07-29T03:11:56.439002Z 1 [Note] [MY-013546] [InnoDB] Atomic write enabled | |
2021-07-29T03:11:56.439053Z 1 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available | |
2021-07-29T03:11:56.439084Z 1 [Note] [MY-012944] [InnoDB] Uses event mutexes | |
2021-07-29T03:11:56.439112Z 1 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier |
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
function _delegate() { | |
local cur subs | |
cur="${COMP_WORDS[COMP_CWORD]}" # partial word, if any | |
subs=$(envchain -l) | |
# echo "cword: $COMP_CWORD" | |
# echo "cw: ${COMP_WORDS[COMP_CWORD]}" | |
# echo "cl: ${COMP_LINE}, ccw: ${COMP_CWORD}, cp: ${COMP_POINT}, cw3: ${COMP_WORDS[2]}" | |
if [[ $COMP_CWORD == 1 ]]; then | |
# complete with the list of subcommands |
To use this script, set environment variables below:
AWS_ROLE_ARN=arn:aws:iam::XXX:role/XXX
AWS_ROLE_SESSION_NAME=a_role_accessed_from_cli
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
NewerOlder