slidenumbers: true
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
service cloud.firestore { | |
match /databases/{database}/documents { | |
match /groups/{groupID} { | |
allow get, update: if isAuthenticated() && isUserBelongingToThisGroup(groupID, request.auth.uid); | |
match /users/{userID} { | |
allow read: if isAuthenticated() && isUserBelongingToThisGroup(groupID, request.auth.uid); | |
} | |
match /boards/{boardID} { |
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
#!/usr/bin/env ruby | |
require 'socket' | |
require 'openssl' | |
require 'json' | |
host = 'kubernetes' | |
metrics = '/apis/metrics.k8s.io/v1beta1' | |
sock = TCPSocket.new host, 443 |
海外出張によく行くプロジェクトがあって、その時に身につけた方法をメモ
荷造り
基本は、だいたいそれぞれのバックに入れっぱなし
キャリーバッグ(基本)
- Macbook 延長ケーブル (会議室のコンセントの口が狭い、共有する必要がある)
- シャンプー、洗顔、歯ブラシ(ジップロック入り)
- 頭痛薬、胃薬、うこん (小ポーチ入り)
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
Elixir のプロジェクトに Pull Request を送った | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tokyo.ex #9 https://beam-lang.connpass.com/event/103873/ | |
LT | |
2018-10-21 | |
============= | |
自己紹介 |
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
// Sample logging-quickstart writes a log entry to Stackdriver Logging. | |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"strings" |
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
class Foo { | |
constructor(x) { this.foo = x; } | |
hello() { console.log(this.foo); } | |
} | |
class Bar extends Foo { | |
constructor(x) { super(x); this.bar = x * 100; } | |
world() { console.log(this.bar); } | |
} |
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
class A | |
def disp : String | |
"call A" | |
end | |
end | |
class B | |
def disp : String | |
"call B" | |
end |
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
abstract class Parent #同じシグネチャなので、abstractを通して、制約をつける | |
abstract def disp | |
end | |
class A < Parent | |
def disp : String | |
"call A" | |
end | |
end |