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
>>> from troposphere import Ref, Template | |
>>> import troposphere.ec2 as ec2 | |
>>> t = Template() | |
>>> instance = ec2.Instance("myinstance", ImageId="ami-a77c30c1", InstanceType="t1.micro") | |
>>> t.add_resource(instance) | |
<troposphere.ec2.Instance object at 0x107c427b8> | |
>>> print(t.to_yaml()) | |
Resources: | |
myinstance: | |
Properties: |
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
$ aws cloudfront get-distribution-config --id "xxxxxxxxxxxxx" --profile proudit | jq '.ETag' | |
"EZLFL1SIXPXTL" |
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
$ df -h | |
ファイルシス サイズ 使用 残り 使用% マウント位置 | |
devtmpfs 236M 60K 236M 1% /dev | |
tmpfs 245M 0 245M 0% /dev/shm | |
/dev/xvda1 7.8G 1.2G 6.6G 15% / |
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
$ echo $SHELL | |
/bin/bash |
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
$ host koh3i-01.cmhex6vatlc7.ap-northeast-1.rds.amazonaws.com | |
koh3i-01.cmhex6vatlc7.ap-northeast-1.rds.amazonaws.com has address 10.0.1.114 |
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
/aws/rds/instance/<db-instance-id>/<log-type> |
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
{ | |
"Comment": "A simple example of the Steps language using an AWS Lambda Function", | |
"StartAt": "Hello", | |
"States": { | |
"Hello": { | |
"Type": "Task", | |
"Resource": "arn:aws:lambda:eu-west-1:99999999999:function:HelloWord_Step", | |
"Next": "Parallel" | |
}, |
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
XCODE-SELECT(1) BSD General Commands Manual XCODE-SELECT(1) | |
NAME | |
xcode-select - Manages the active developer directory for Xcode and BSD tools. | |
SYNOPSIS | |
xcode-select [-h|--help] [-s|--switch <path>] [-p|--print-path] [-v|--version] | |
DESCRIPTION | |
xcode-select controls the location of the developer directory used by xcrun(1), xcodebuild(1), cc(1), and other Xcode and BSD development |
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
$ pip install slackweb -t . | |
Collecting slackweb | |
Using cached slackweb-1.0.5.tar.gz | |
Installing collected packages: slackweb | |
Running setup.py install for slackweb ... done | |
Successfully installed slackweb-1.0.5 |
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
$ sudo apt-get update |