argparse - argparse - fishのスクリプトや関数に渡されるオプションの解析
このコマンドはfishのスクリプトや関数が,fishのビルトイン関数が引数を扱うのと100%同じ方法で引数を取り扱うのを簡単にします.
ユーザは有効なオプションを定義する引数の組を渡し,リテラル--
を続け,その後に解析される引数(リテラル--
を含んでもよい)を渡します.
これに関する詳細は以下の「使い方」の節で述べます.
Service: | |
Type: AWS::ECS::Service | |
DependsOn: | |
- ListenerRuleHTTPS | |
Properties: | |
Cluster: !Ref Cluster | |
Role: !Ref ServiceRole | |
DesiredCount: !Ref DesiredCount | |
TaskDefinition: !Ref TaskDefinition | |
LoadBalancers: |
/* | |
* No package must be added here because some Online Judges don't support it | |
* please remove, if any. | |
* | |
*/ | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
/* |
# docker build -t ubuntu1604py36 | |
FROM ubuntu:16.04 | |
RUN apt-get update && \ | |
apt-get install -y software-properties-common && \ | |
add-apt-repository ppa:jonathonf/python-3.6 | |
RUN apt-get update | |
RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv | |
RUN apt-get install -y git |
sudo pip install awscli | |
aws configure | |
aws ses send-email \ | |
--from "[email protected]" \ | |
--destination "[email protected]" \ | |
--message "Subject={Data=from ses,Charset=utf8},Body={Text={Data=ses says hi,Charset=utf8},Html={Data=,Charset=utf8}}" |
以下転載:
package main | |
import ( | |
"fmt" | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/ec2" | |
) | |
func main() { |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
#!/usr/bin/env bash | |
# | |
# Copyright 2015 Julian Meyer | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |