Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
resource "aws_acm_certificate" "mizzy_org" { | |
provider = aws.us-east-1 | |
domain_name = "mizzy.org" | |
validation_method = "EMAIL" | |
} | |
resource "aws_cloudfront_distribution" "mizzy_org" { | |
enabled = true | |
aliases = ["mizzy.org"] |
・ 変数は「名札」である。(「参照」みたいなもの) | |
num = 10 | |
print(num) | |
num = 12 | |
print(num) | |
別のオブジェクトを代入するということは、変数を別のオブジェクトの名札に変更したということになります。 | |
上記の場合は最初の「print」メソッドでは「10」が出力されますが、 |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
#! /usr/bin/perl | |
# | |
# Written in 2017 by Kazuho Oku | |
# | |
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# | |
use strict; | |
use warnings; |
更新: | 2017-04-03 |
---|---|
作者: | @voluntas |
バージョン: | 1.0.6 |
URL: | https://voluntas.github.io/ |
2017 年 4 月 1 日に行われた Elixir Conf Japan 2017 の発表者用のメモです。
{ | |
"sort": ["_doc"], | |
"size": 100, | |
"query": { | |
"bool": { | |
"must": { | |
"match_all": {} | |
}, | |
"filter": { | |
... |
#!/usr/bin/env bash | |
# This is assumed to be run as root or with sudo | |
export DEBIAN_FRONTEND=noninteractive | |
# Import MySQL 5.7 Key | |
# gpg: key 5072E1F5: public key "MySQL Release Engineering <[email protected]>" imported | |
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 5072E1F5 | |
echo "deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7" | tee -a /etc/apt/sources.list.d/mysql.list |
New – Amazon Elasticsearch Service | AWS Official Blog
Getting Started with Amazon ES Domains - Amazon Elasticsearch Service