Skip to content

Instantly share code, notes, and snippets.

@shu22203
shu22203 / Datetime.php
Created June 26, 2019 08:12
とりあえず雑にメモしておく
$winter = [
new \DateTimeImmutable('2019-01-10 17:00'),
new \DateTimeImmutable('2019-01-10 18:00'),
new \DateTimeImmutable('2019-01-10 19:00'),
new \DateTimeImmutable('2019-01-10 20:00'),
];
$summerIn = [
new \DateTimeImmutable('2019-03-10 17:00'),
new \DateTimeImmutable('2019-03-10 18:00'),

Try to falsificate world state

Environment

peer0.org1 -> localhost:7051

peer1.org1 -> localhost:8051

@shu22203
shu22203 / ddl.sql
Last active August 22, 2017 06:09
Voyamon Go
DROP TABLE IF EXISTS users;
DROP TABLE IF EXISTS pokemons;
DROP TABLE IF EXISTS pokesources;
DROP TABLE IF EXISTS types;
DROP TABLE IF EXISTS encounts;
DROP TABLE IF EXISTS pokemon_types;
DROP TABLE IF EXISTS pokemon_details;
DROP TABLE IF EXISTS appears;
CREATE TABLE users (
{
"engineers": [
{ "id": "a", "team": "pex" },
{ "id": "b", "team": "pex" },
{ "id": "c", "team": "pex" },
{ "id": "d", "team": "fluct" },
{ "id": "e", "team": "fluct" },
{ "id": "f", "team": "fluct" },
{ "id": "g", "team": "fintech" },
{ "id": "h", "team": "fintech" },