- 清臺汽車修配廠:竹東鎮中興路一段173號
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 ( | |
"fmt" | |
"net/mail" | |
"github.com/goamz/goamz/aws" | |
"github.com/goamz/goamz/exp/ses" | |
//"github.com/kr/pretty" | |
) |
- Spark 針對平行運算架構做強化,並非取代 Hadoop
- 用 memory 存放運算資料
Spark 好處
- one stack to rule then all
- 下載 spark 一包就包含了幾乎所有的東西,不像 Hadoop 有相當龐大的生態系
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
#!/bin/sh | |
# Report S3 bucket sizes | |
get_bucket_size() { | |
bucket="$1" | |
aws s3 ls s3://"$bucket" --recursive | grep -v -E "(Bucket: |Prefix: |LastWriteTime|^$|--)" | awk 'BEGIN {total=0}{total+=$3}END{print total/1024/1024" MB"}' | |
} | |
buckets=$(s3cmd ls |awk '{sub("^s3://","",$3); print $3}') |
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
#!/bin/bash | |
# | |
# 1. create a EC2 instance with public IP | |
# 2. create a A RR in route53 pointing your.domain.com to the public IP | |
# 3. make sure HTTP/HTTPS ports(80 443) are public to all in security group of this EC2 instance | |
# 4. make sure docker daemon is running in this EC2 instance | |
# 5. run this script ! | |
# 6. keys/cert will be generated under /root/letsencrypt/etc/live/ | |
mkdir -p /root/letsencrypt/log /root/letsencrypt/lib /root/letsencrypt/etc |
Regions
- EU
- US East
Supervise Learning Problem
- AWS ML
- ML 支援 classification、、regression
Unsupervised
- AWS Spark + 客3rd library
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
docker pull jenkins | |
docker run --name jenkins -d -p 49001:8080 -v $PWD/jenkins:/var/jenkins_home -t jenkins |