-
なぜスケーリングが難しいのか
-
“Write once, scale anywhere”
-
Actorモデルについて
-
Akka actors
-
Akkaとは何か
This file contains 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
import requests | |
from bs4 import BeautifulSoup | |
import csv | |
# 会社四季報の東証一部上場企業情報ページのURL | |
url = 'https://xxx.xxx/' | |
# HTTPリクエストを送信し、レスポンスを取得する | |
response = requests.get(url) |
This file contains 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 | |
java -jar ../../swagger-codegen-cli.jar generate -i ../swagger.yml -l nodejs-server |
This file contains 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
- JIGとはなにか | |
- ドメイン駆動開発を促進するツール | |
- ドメインとJIGの関係 | |
- ドメインが分からないとJIGで生成された図を見たときに何を確認したらいいのか分からない | |
- 前提知識 | |
- 抽象的な物事を扱うので用語がブレるといつの間にか意味がブレてくるので細心の注意が必要 | |
- ドメインとJIGの図は完全に一致するわけではない | |
- あくまで気づきを与えてくれる役割としてのツール | |
- 粒度の大きいドメインはコードのモジュール構造となって現れる | |
- 粒度の大きいドメインから小さなドメインへ、またその中のモデルの依存関係を確認する |
This file contains 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
var gulp = require('gulp'); | |
var connect = require('gulp-connect'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var browserify = require('browserify'); | |
var babel = require('babelify'); | |
function compile() { | |
console.log('-> bundling...'); |
English | Japanese | Note |
---|---|---|
Monoid | モノイド | |
Category Theory | 圏論 | |
arrow | ||
object |
This file contains 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 models | |
// AUTO-GENERATED Slick data model | |
/** Stand-alone Slick data model for immediate use */ | |
object Tables extends { | |
val profile = slick.driver.MySQLDriver | |
} with Tables | |
/** Slick data model trait for extension, choice of backend or usage in the cake pattern. (Make sure to initialize this late.) */ | |
trait Tables { | |
val profile: slick.driver.JdbcProfile |
This file contains 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 repositories | |
import javax.inject.{Inject, Singleton} | |
import models.Tables._ | |
import play.api.db.slick._ | |
import scala.concurrent.Future | |
import slick.driver.JdbcProfile | |
import slick.driver.MySQLDriver.api._ |
This file contains 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
import sbt._ | |
import Keys._ | |
object myBuild extends Build { | |
lazy val mainProject = Project( | |
id="slick-codegen", | |
base=file("."), | |
settings = Project.defaultSettings ++ Seq( | |
scalaVersion := "2.11.6", | |
libraryDependencies ++= List( |
docker-machine起動
docker-machine start hogedriven
eval "$(docker-machine env hogedriven)"
Dockerfile と初期データを作る
vi Dockerfile
NewerOlder