Compute:
- Amazon Elastic Compute Cloud (EC2)
- Amazon Elastic Beanstalk
- Amazon Lambda (AWS Lambda)
Networking:
- Amazon Route 53
- Amazon Virtual Private Cloud (VPC)
- AWS Direct Connect
- Amazon Elastic Load Balancing (ELB)
make all-recursive | |
make[1]: Entering directory `/home/gts/downloads/id3lib-3.8.3' | |
Making all in . | |
make[2]: Entering directory `/home/gts/downloads/id3lib-3.8.3' | |
make[2]: Leaving directory `/home/gts/downloads/id3lib-3.8.3' | |
Making all in m4 | |
make[2]: Entering directory `/home/gts/downloads/id3lib-3.8.3/m4' | |
make[2]: Nothing to be done for `all'. | |
make[2]: Leaving directory `/home/gts/downloads/id3lib-3.8.3/m4' | |
Making all in zlib |
{ | |
"Comment": "An example of the Amazon States Language using a choice state.", | |
"StartAt": "ChoiceState", | |
"States": { | |
"ChoiceState": { | |
"Type" : "Choice", | |
"Choices": [ | |
{ | |
"Variable": "$.foo", | |
"NumericEquals": 1, |
#Recommended minimum configuration: | |
acl manager proto cache_object | |
acl localhost src 127.0.0.1/32 | |
acl to_localhost dst 127.0.0.0/8 | |
acl localnet src 0.0.0.0/8 192.168.100.0/24 192.168.101.0/24 | |
acl SSL_ports port 443 | |
acl Safe_ports port 80 # http | |
acl Safe_ports port 21 # ftp | |
acl Safe_ports port 443 # https | |
acl Safe_ports port 70 # gopher |
Compute:
Networking:
# Nginx can serve FLV/MP4 files by pseudo-streaming way without any specific media-server software. | |
# To do the custom build we use 2 modules: --with-http_secure_link_module --with-http_flv_module | |
# This module "secure-link" helps you to protect links from stealing away. | |
# | |
# NOTE: see more details at coderwall: http://coderwall.com/p/3hksyg | |
cd /usr/src | |
wget http://nginx.org/download/nginx-1.5.13.tar.gz | |
tar xzvf ./nginx-1.5.13.tar.gz && rm -f ./nginx-1.5.13.tar.gz |
import android.graphics.Bitmap | |
import android.graphics.Canvas | |
import android.graphics.drawable.BitmapDrawable | |
import android.graphics.drawable.Drawable | |
fun Drawable.toBitmap(): Bitmap { | |
if (this is BitmapDrawable) { | |
return this.bitmap | |
} |
# initiate and get session token | |
aws cognito-idp admin-initiate-auth --user-pool-id <pool_id> --client-id <client_id> --auth-flow ADMIN_NO_SRP_AUTH\ | |
--auth-parameters USERNAME=<username>,PASSWORD=<pw> | |
# update with new password | |
aws cognito-idp admin-respond-to-auth-challenge --user-pool-id <pool_id> \ | |
--client-id <client_id> --challenge-name NEW_PASSWORD_REQUIRED \ | |
--challenge-responses NEW_PASSWORD=<new_password>,USERNAME=<username>,userAttributes.name="<if there are any>"\ | |
--session "<session_key>" |
version: "2.0" | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.0.1 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
networks: | |
- docker_elk | |
environment: |
version: "2.0" | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.0.1 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
networks: | |
- docker_elk | |
environment: |