Skip to content

Instantly share code, notes, and snippets.

@yujihamaguchi
yujihamaguchi / gist:98f6e90e7f8b22438859
Last active August 29, 2015 14:14
[Tableau Server] レポート同時アクセスをシミュレート(Windows)
1. 以下のバッチファイルをexec.batという名前で保存する。
@echo off

SET PARALLEL_DEGREE=%1
SET TARGET_RB_SCRIPT_PATH=%2
SET ACCESS_URL=%3
SET USER_ID=%4
SET PASSWORD=%5
@yujihamaguchi
yujihamaguchi / gist:8d7f25b28bd3046201f9
Created May 20, 2015 09:23
amiに紐付いていないsnapshotのIDを抽出
aws ec2 describe-snapshots --owner {12桁のアカウントID} | jq '.Snapshots[].SnapshotId' > ./all_snapshot_ids.log
aws ec2 describe-images --owner {12桁のアカウントID} | jq '.Images[].BlockDeviceMappings[].Ebs.SnapshotId' | grep ^\" > ./linked_snapshot_ids.log
comm -23 <(sort ./all_snapshot_ids.log) <(sort ./linked_snapshot_ids.log)

プロフィール

生年月日
1975/5/1
所属会社
キャディ株式会社
現年収
850万円
希望する職種
プロジェクトマネージャー、バックエンドエンジニア