Skip to content

Instantly share code, notes, and snippets.

View hirokihello's full-sized avatar

hiroki inoue hirokihello

View GitHub Profile
* 分布の中心的な位置を表す代表値(平均値など)
* 分布の広がりの程度を表す散布度(偏差など)
#### 分布の代表値
代表値・・・その分布の特徴を表す記述的指標として最も基本
代表値に何を使うか→代表値としての適切さをどのようにするのかで左右sれる。
中央値→分布に含まれる各値に最も近い値(Med)
import ec2 = require('@aws-cdk/aws-ec2');
import ecs = require('@aws-cdk/aws-ecs');
import ecr = require('@aws-cdk/aws-ecr');
import certmgr = require('@aws-cdk/aws-certificatemanager')
import route53 = require('@aws-cdk/aws-route53');
import targets = require('@aws-cdk/aws-route53-targets');
import ecs_patterns = require('@aws-cdk/aws-ecs-patterns');
import cdk = require('@aws-cdk/core');
export class CdkSampleStack extends cdk.Stack {
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
version: '3'
services:
web:
build:
context: .
dockerfile: docker/web/Dockerfile
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
volumes:
- .:/uuum-id
- bundle:/usr/local/bundle