This file contains hidden or 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
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: CloudFormation template that represents a request driven web service on AWS App Runner. | |
Parameters: | |
AppName: | |
Type: String | |
EnvName: | |
Type: String | |
WorkloadName: |
This file contains hidden or 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: It's time to redemption | |
Resources: | |
# これが罪深くも過去に手で作られた IAM ユーザー (Import の対象) | |
MyHandCraftedIAMUser: | |
Type: AWS::IAM::User | |
DeletionPolicy: Retain | |
# こちらは CFn でちゃんと作る IAM グループ | |
MyCFnCreatedIAMGroup: |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -eu | |
aws ecs list-clusters \ | |
| jq -r '.clusterArns[]' \ | |
| xargs -I '{}' aws ecs update-cluster-settings --cluster '{}' --settings name=containerInsights,value=enabled |
This file contains hidden or 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
package main | |
import ( | |
"time" | |
"gobot.io/x/gobot" | |
"gobot.io/x/gobot/platforms/dji/tello" | |
) | |
func main() { |
I hereby claim:
- I am toricls on github.
- I am toricls (https://keybase.io/toricls) on keybase.
- I have a public key ASDocbYVSt6F09EnpYmENXRKhVmZ6qotzoPLqSZubEFZPAo
To claim this, I am signing this object:
This file contains hidden or 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
var historyUrl = 'https://www.amazon.co.jp/gp/css/order-history?orderFilter=year-$year$&startIndex=$index$'; | |
function beforeSendHook(xhr){ | |
xhr.setRequestHeader('X-Requested-With' | |
, { | |
toString: function(){ | |
return ''; | |
} | |
} | |
); |
This file contains hidden or 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
import Amplify, { Auth } from 'aws-amplify'; | |
const types = { | |
AUTHENTICATE: 'AUTHENTICATE', | |
SIGNOUT: 'SIGNOUT', | |
SET_ATTRIBUTES: 'SET_ATTRIBUTES', | |
}; | |
Amplify.configure({ | |
Auth: { |
This file contains hidden or 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: A hello world application. | |
Resources: | |
HelloWorldFunctionRole: | |
Type: 'AWS::IAM::Role' | |
Properties: | |
ManagedPolicyArns: | |
- 'arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole' | |
AssumeRolePolicyDocument: | |
Version: 2012-10-17 |