Web mail service comparison https://gist.github.com/tai2/90ec5667f7d8aa07a1d10d669576593e
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
# base-files version 3.7-1 | |
# To pick up the latest recommended .bash_profile content, | |
# look in /etc/defaults/etc/skel/.bash_profile | |
# Modifying /etc/skel/.bash_profile directly will prevent | |
# setup from updating it. | |
# The copy in your home directory (~/.bash_profile) is yours, please | |
# feel free to customise it to create a shell |
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
#-*- coding: utf-8 -*- | |
""" | |
エル・ガマル公開鍵暗号系の仕組みを理解するために素朴に実装してみる。も | |
とのメッセージは、バイト列として受け取り、整数のリストに暗号化する。 | |
エルガマル暗号系は、g^k ≡ a(mod p)の形の合同式において、p,g,kからaを | |
計算するのは簡単だが、逆にp,gaから、kを決定するのは難しいこと(離散対数 | |
問題)を利用した、公開鍵暗号系である。 |
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
#-*- coding: utf-8 -*- | |
""" | |
RSA公開暗号方式の仕組みを理解するために素朴に実装してみる。もとのメッ | |
セージは、バイト列として受け取り、整数のリストに暗号化する。 | |
RSAは、(大きな数になると)素数の積を計算するのは簡単だが、逆に、合成数 | |
を素因数分解するのは難しいという事実を利用したアルゴリズムである。 |
https://google.github.io/eng-practices/review/reviewer/
eng-practicesのreviewer側読んだ。まとめ。
レビューで見るべきもの
- 設計
- 機能
- 複雑さ(もっと簡単にできないか)
- 自動テスト
This is a sample server Petstore server. For this sample, you can use the api key special-key
to test the authorization filters.
This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
This is a sample server Petstore server. For this sample, you can use the api key special-key
to test the authorization filters.
This server was generated by the [openapi-generator] (https://openapi-generator.tech) project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
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
const CDP = require('chrome-remote-interface') | |
async function example() { | |
let client; | |
try { | |
client = await CDP() | |
const {Page, Input, DOM} = client | |
await Page.enable() | |
await DOM.enable() |
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
英語は主に本からかなー。思い出せる限りまとめてみる。 | |
英語勉強しはじめたのは、21から(それまで中学英語レベルもまったくできなかった)。 | |
まず最初にやったのは、中学英語の教科書を本屋さんいって買ってきて、その本文を100回だっけな? | |
通しで音読した。英語に対する苦手意識を克服することが目的。全部暗記する勢いで読む。 | |
Sunshine 1 [平成28年度採用] 教科書 (当時使ってたのこれじゃないけど参考までに) | |
https://www.amazon.co.jp/dp/430408075X/ | |
それから、冠詞のメカニズムを理解するために冠詞の本読んだ。 |
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
export default class Deferred<T> { | |
promise: Promise<T> | |
resolve: (value?: T | PromiseLike<T>) => void | |
reject: (reason?: any) => void | |
constructor() { | |
this.resolve = () => {} | |
this.reject = () => {} | |
this.promise = new Promise<T>((resolve, reject) => { | |
this.reject = reject; |