- Raftという分散合意アルゴリズムの紹介
- 論文: In Search of an Understandable Consensus ALgorithm (Extended Version)
- Raft三日目くらいの人が自分の理解をもとに(適当に)書いています
;; Nicolas .P Rougier emacs configuration - mini-frame configuration | |
;; --------------------------------------------------------------------- | |
(require 'vertico) | |
(require 'marginalia) | |
(require 'mini-frame) | |
(defun minibuffer-setup () | |
;; This prevents the header line to spill over second line | |
(let ((inhibit-message t)) |
func splitByBlock(text string) (words []string) { | |
if text == "" { | |
return []string{} | |
} | |
rs := []rune(text) | |
var tmp string | |
for _, r := range rs { | |
// 空白文字の前後は無条件に分割 | |
if isEmptyString(string(r)) { | |
if tmp != "" { |
;;;; This script can be loaded during emacs initialization to automatically | |
;;;; send `kill-region' and `kill-ring-save' regions to your system clipboard. | |
;;;; The OSC 52 terminal escape sequence is used to transfer the selection from | |
;;;; emacs to the host terminal. | |
;;;; It is based off of the osc52.el copyright the Chromium OS authors, but | |
;;;; was modified to add support for tmux, graphical displays, and | |
;;;; multi-byte strings. | |
;;;; It works in hterm, xterm, and other terminal emulators which support the |
# Save this file to ~/.config/fish/functions/push-line.fish | |
# Bind the function by using this in ~/.config/fish/functions/fish_user_key_bindings.fish | |
# function fish_user_key_bindings | |
# # For example alt+q | |
# bind \eq push-line | |
# end | |
function push-line | |
commandline -f kill-whole-line |
;; I am not a regular emacs user and haven't played with lisp for many years. | |
;; I struggled for a couple of days trying to tweak org-capture-templates to | |
;; get my desired behavior for journal entries. I hope this helps someone! | |
;; | |
;; I have been following the excellent guide http://doc.norang.ca/org-mode.html | |
;; The "journal" template was the one I wanted to tweak. I use a date-based | |
;; journal filename, e.g. "2015-09-22-Journal-Entry.org". The contents of the | |
;; file consist of a top-level headline with a human-friendly date, followed | |
;; by second-level headline with the time and brief journal note. For example: | |
;; |
#!/bin/bash | |
# | |
# | |
# |
;;;; This script can be loaded during emacs initialization to automatically | |
;;;; send `kill-region' and `kill-ring-save' regions to your system clipboard. | |
;;;; The OSC 52 terminal escape sequence is used to transfer the selection from | |
;;;; emacs to the host terminal. | |
;;;; It is based off of the osc52.el copyright the Chromium OS authors, but | |
;;;; was modified to add support for tmux, graphical displays, and | |
;;;; multi-byte strings. | |
;;;; It works in hterm, xterm, and other terminal emulators which support the |
Sure, Github wins on the UI. Hands down. But, despite my initial annoyance with Gerrit when I first started using it almost a year ago, I am now a convert. Fully. Let me tell you why.
Note: This is an opinionated (on purpose) piece. I assume your preferences are like mine on certain ideas, such as: