Skip to content

Instantly share code, notes, and snippets.

@wakusei-meron-
wakusei-meron- / DFT_practice.ipynb
Created April 14, 2019 13:39
Desktop/PPP/python/audio/Untitled2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wakusei-meron-
wakusei-meron- / HammingCode74.ipynb
Last active May 5, 2019 13:25
Desktop/PPP/python/audio/HammingCode.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wakusei-meron-
wakusei-meron- / ExtendedHammingCode84.ipynb
Last active May 6, 2019 15:09
Desktop/PPP/python/audio/HammingCode-Copy1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wakusei-meron-
wakusei-meron- / Untitled.ipynb
Created June 18, 2019 05:25
Desktop/PPP/python/statistics/Untitled.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wakusei-meron-
wakusei-meron- / fitting_distribution_with_partical_data.ipynb
Created June 20, 2019 11:51
Desktop/PPP/python/statistics/Untitled1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env bash
SCRIPT_DIR=$(cd $(dirname $0); pwd)
# -e: エラーがあれば途中終了
# -u: 未定義変数の場合はエラー
# -x: 実行コマンドの出力
set -eux
@wakusei-meron-
wakusei-meron- / README.md
Last active October 6, 2021 08:26 — forked from TAKEDA-Takashi/aws-iam-user-key-rotation.sh
指定したAWSプロファイルのアクセスキー をローテーションするスクリプト。
# profile一覧の確認
cat ~/.aws/credentials

# profileがdefaultのクレデンシャルを更新
PROFILE=default ;curl -sf https://gist.githubusercontent.com/wakusei-meron-/9349d27819b9a2879cfc9e83875c000c/raw/5ba5be5278a4f436b1ec64b7104df1566ea57c6f/aws-iam-user-key-rotation.sh | sh -s $PROFILE

# 意図しない更新をした場合、クレデンシャルのバックアップの確認
cat ~/.aws/credentials.bak
#!/usr/bin/env bash
SCRIPT_DIR=$(cd $(dirname $0); pwd)
# -e: エラーがあれば途中終了
set -e
PROFILE=${PROFILE:-default}
echo "クレデンシャル発行に用いるprofile: $PROFILE"
日本国内の電話番号 E.164形式の電話番号
090 1234 5678 +81 90 1234 5678