1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|
戦闘 | 悲鳴 | 共墓 | 神 | 怠 | 角 |
三頭 | 加速 | 双頭 | 怠 | 闇 | 角 |
加速 | 加速 | 双頭 | 怠 | 闇 | 角 |
機能 | 戦闘 | 共墓 | 怠 | 闇 | 機 |
- 序盤に琥珀石GET
import * as admin from 'firebase-admin' | |
import axios from 'axios' | |
const PROJECT_ID = 'your-project-id' | |
type FirebaseAuthAPIUser = { | |
idToken: string // 新しく作成されたユーザーのFirebaseAuthIDトークン。 | |
email: string // 新しく作成されたユーザーの電子メール。 | |
refreshToken: string // 新しく作成されたユーザーのFirebaseAuth更新トークン。 | |
expiresIn: string // IDトークンの有効期限が切れる秒数。 |
/////////////////// | |
/// PARSER CORE /// | |
/////////////////// | |
// There is an annotated configuration object in the GRAMMAR section below | |
function Parser(config) { | |
var prio = this.priorities = config.priorities; | |
prio["boundary:$"] = [-1, -1]; | |
this.re = config.re; | |
this.toktypes = config.toktypes; |
nginx: | |
image: nginx:1.10.2-alpine | |
volumes: | |
- ./nginx/nginx.conf:/etc/nginx/nginx.conf | |
- ./nginx/mynginx.cnf:/etc/nginx/conf.d/mysite.template | |
ports: | |
- "8080:80" | |
environment: | |
- NGINX_HOST=127.0.0.1 | |
- NGINX_PORT=80 |
config.vm.provision "shell", run: "always", inline: "systemctl restart network.service" |
SELECT Name,Dept FROM Employees WHERE Id = 3; |
MySQL Sharding
8台の物理サーバに1つずつMySQLインスタンス。それぞれのインスタンスは master - master replicated onto a backup host in case the primary fails
Our production servers only read/write to the master. I recommend you do the same. It simplifies everything and avoids lagged replication bugs.
各MySQLインスタンスは512個位ずつdatabaseを持つ。
PHANTOMJS_EXECUTABLE=$HOME/.nodebrew/current/lib/node_modules/casperjs/node_modules/phantomjs/bin/phantomjs |
class Model | |
{ | |
// データ変更時に呼ばれる | |
void DataChanged() { | |
// 変更後のデータを取得 | |
var newData = this.GetData(); | |
// ModelからViewを直接変更(MVC原則に違反しています!) | |
FooView.Update(newData); | |
} | |
} |
var fs = require('fs'); | |
var MongoClient = require('mongodb').MongoClient; | |
var CSV = require('comma-separated-values'); | |
var NAME_MONGO_DB = 'eijiro'; | |
var NAME_MONGO_COLLECTION = 'words'; | |
var url = 'mongodb://localhost:27017/' + NAME_MONGO_DB; | |
var inputCsv = process.argv[2]; | |
var text = fs.readFileSync(inputCsv, 'utf-8'); |