2022-11-01から1ヶ月間の記事一覧

dockerコンテナに入る

プロセス番号 確認 docker ps コンテナに入る docker exec -it プロセス番号 sh

配列の型ガード (string | undefined)[]をstring[]にするなど

コード const userEmails = haveUsersObj.users .map((user) => user.email) .flatMap((email) => (email ? [email] : [])) 参考記事 qiita.com

awsのprofile確認、切り替え

確認 $ aws configure list Name Value Type Location ---- ----- ---- -------- profile <not set> None None access_key XXXXXXXXXX shared-credentials-file secret_key XXXXXXXXXX shared-credentials-file region <not set> None None 切り替え export AWS_PROFILE=切り替</not></not>…