Skip to content

Instantly share code, notes, and snippets.

View JohnTitor's full-sized avatar

Yuki Okushi JohnTitor

View GitHub Profile
@repi
repi / crate-health.md
Last active February 22, 2024 01:17
Guidelines on evaluating health & quality of third-party crates at Embark

What to evaluate and consider before adding usage of new third-party crates.

These are not exact requirements but questions to investigate and discuss to help reason around the health, safety, maintainability, and more around crates.

This can also be read as an opinionated guide for crate authors of what our (Embark's) guidelines and recommendations are, though should not be taken too literally.

Legend: 🔒 Must have, ⭐️ Should have, 👍 Nice to have, ℹ️ Info

@azu
azu / Pre-hijacking Attacks.md
Last active November 28, 2023 02:22
Pre-hijacking Attacksのメモ書きやSSO/パスワードリセット/アカウントマージ周りのチェックリスト

Pre-hijacking Attacksについてのメモ書きです。 元の論文と記事は次のページを読んでください。

Pre-hijacking Attacks はメールアドレスの確認をしないでアカウントを作れるサービスという前提があります。

アカウント作成からそのまま機能を利用できるようにすることで、利用体験をよくするための施策として、メールアドレスの確認のステップを後回し またはしないサービスがあります。

@freddi-kit
freddi-kit / MyResume.md
Last active September 13, 2020 05:40
My Resume

Who Am I?

  • Name: Yuki AKI
  • Nationality: Japan
  • Language:
    • Japansese(native)
    • English(studying, for life days, as little developer)
      • TOEIC: 835
  • Company: LINE Fukuoka
  • SNS
  • Twitter: https://twitter.com/___freddi___
@topecongiro
topecongiro / rust_advent_calendar_2019_02.md
Created December 2, 2019 14:37
Rust Advent Calendar 2019 の 2日目の記事

Rust の Deref と DerefMut で継承ができると思わない

Rust でオレオレ文字列型を定義して既存コードに散りばめられた String を置き換えたい気持ちになることがあります。

単純に API を追加して事足りる場合、必要な API をトレイトで定義した上で String に実装すれば十分です:

trait PushNewLine {
    fn push_newline(&mut self);
}

Rust 2020 reflections

This is my third roadmap post... you can find the first two here:

This year, I am quite divided due to a bunch of competing desires:

  • I still want all of the things that I wanted last year. In particular, it would be great if OS developement could finally be done on stable rust. Things like inline asm are blocking this.
@rylev
rylev / rust-in-large-organizations-notes.md
Last active February 2, 2023 10:08
Rust in Large Organizations Notes

Rust in Large Organizations

Initially taken by Niko Matsakis and lightly edited by Ryan Levick

Agenda

  • Introductions
  • Cargo inside large build systems
  • FFI
  • Foundations and financial support
@mala
mala / CVE-2019-5418_is_RCE.md
Last active February 7, 2021 04:25
Rails の CVE-2019-5418 は RCE (Remote code execution) です
@qnighy
qnighy / lemma.txt
Last active September 20, 2020 01:57
2^κ - κ = 2^κ のやつ
補題: Xを集合、 f: X -> 2 * P(X) 単射 とする。 g: P(X) -> 2 * P(X) 単射 であって像がfと非交なものが存在する。
証明:
A in P(X) とする。(1,A)がfの像でないときはg(A)=(1,A)と定める。
以下(1,A)がfの像でないときを考える。f(y)=(1,A)とする。(fが単射なのでyは一意にとれる)
B = { x in X | (x notin π2(f(x))) xor x=y} (π2は第二射影)
とおくと(0,B)はfの像ではない。もしf(z)=(0,B)とするとz != yであるから、

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a