| 更新: | 2021-05-23 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2021.1 |
| URL: | https://voluntas.github.io/ |
This file contains hidden or 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
| import './app.tag' | |
| riot.mount('#app', 'app') |
- Raftという分散合意アルゴリズムの紹介
- 論文: In Search of an Understandable Consensus ALgorithm (Extended Version)
- Raft三日目くらいの人が自分の理解をもとに(適当に)書いています
This file contains hidden or 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
| #![feature(plugin_registrar)] | |
| extern crate syntax; | |
| extern crate rustc; | |
| use syntax::ast; | |
| use syntax::codemap::Span; | |
| use syntax::ext::base; | |
| use syntax::ext::base::{ExtCtxt, MacExpr}; | |
| use syntax::ext::build::AstBuilder; | |
| use syntax::parse::token; |
-
Choose: Tools > New Plugin
-
Paste in the contents of "timestamp.py" below
-
Save as timestamp.py in
~/Library/Application Support/Sublime Text 2/Packages/User/(should be the default directory that pops up when you save) -
Choose: Sublime Text 2 > Preferences > Key Bindings - User
-
Add:
{ "keys": ["super+ctrl+t"], "command": "timestamp" }
To make command+ctrl+t perform the insertion.
Make sure to add a comma after the previous keymap entry, if present.