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
/* Please visit the URL below for more information: */ | |
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */ | |
@font-face { | |
font-family: "ricty"; | |
src: local("RictyDiminishedDiscord-Regular"); | |
font-style: normal; | |
font-weight: normal; | |
} |
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
type Building | |
@auth( | |
rules: [ | |
{ | |
allow: groups, | |
groups: ["Managers"], | |
queries: null, | |
mutations: [create, update, delete] | |
}, | |
{ |
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
Weight / Weight合計 |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CloudFormation rollback test", | |
"Parameters": { | |
"VersionId": { | |
"Type": "String" | |
} | |
}, | |
"Resources": { | |
"Group": { |
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
$ aws route53 get-change --id /change/XXXXXXXXXXXXX |
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 | |
json=$(cat list.json) | |
len=$(echo $json | jq length) | |
for i in $( seq 0 $(($len - 1)) ); do | |
row=$(echo $json | jq .[$i]) | |
done |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "1", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListBucket" | |
], |
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
{ | |
"Resources": { | |
"Group": { | |
"Type": "AWS::AutoScaling::AutoScalingGroup", | |
"UpdatePolicy": { | |
"AutoScalingRollingUpdate": { | |
"MaxBatchSize": "2", | |
"MinInstancesInService": "5", | |
"PauseTime": "PT10M", | |
"WaitOnResourceSignals": "true" |
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
begin | |
require 'aws-sdk-core' | |
rescue LoadError | |
else | |
# aws.rb may already have been initialized | |
Aws.config[:region] ||= 'ap-northeast-1' | |
Pry::Commands.import(Pry::CommandSet.new { | |
block_command 'aws-assume-role' do |role_name, external_id, token_code| | |
system "~/bin/aws-assume-role #{role_name} #{external_id} #{token_code}" |
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
{ | |
"message": "At least one of the pre-conditions you specified did not hold", | |
"code": "PreconditionFailed", | |
"time": "2014-12-03T02:54:39.101Z", | |
"statusCode": 412, | |
"retryable": false | |
} |
NewerOlder