- 誰かだけが触れるコードを無くす

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
(make-variable-buffer-local | |
(defvar sushi-bar--conveyor-belt "")) | |
(make-variable-buffer-local | |
(defvar sushi-bar--backup-mode-line-format nil)) | |
(defvar sushi-bar--updater-object nil) | |
(defun sushi-bar--sushi-is-ready-p () | |
(eq (random 15) 1)) |
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
# -*- coding: utf-8 -*- | |
module Bartender | |
class App | |
class FDMap | |
def initialize; @map = {}; end | |
def []=(fd, v) | |
@map[fd.to_i] = [fd, v] | |
end | |
def [](fd) | |
_, v = @map[fd.to_i] |
- Railsにプルリクストを送るときに知っておくと便利なお作法集
- Railsにプルリクエストを送りたいけど何から始めたらいいのかわからない人向けの指針
お作法についてはRuby on Rails に貢献する方法 | Rails ガイドを参考にしています。
Railsのコードを読むには、最低限次の二つの知識があったほうがよいです
ESM Drinkup で提供予定のお酒一覧
- いづみ橋 恵 青ラベル 純米吟醸 1800ml
- いづみ橋 桃色黒とんぼ きもと純米酒 1800ml
- 七本鎗 無有(むう) 無農薬純米 1800ml
- 七本鎗 純米吟醸 "吟吹雪" 1800ml
- 七田 純米吟醸 雄町50 1800ml
- 三井の寿(みいのことぶき) 純米吟醸 酒未来 福岡県産 1800ml
- 上喜元 純米 "雄町" 1800ml
- 作 雅乃智(純米大 吟醸中取り) 1.8L
MySQL Unicode character set has following collations mainly:
- xxx_bin: compare all characters by these code point as weight.
- xxx_general_ci: compare almost characters by these code point as weight.
- xxx_unicode_ci: compare all characters by these collating weight.
ref. http://dev.mysql.com/doc/refman/5.6/en/charset-unicode-sets.html
When xxx is utf8, can treat only BMP characters.
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
# rubocop v0.35.0 から inherit_gem という機能が増えたので gem にしました | |
# https://github.com/onk/onkcop | |
inherit_gem: | |
onkcop: "config/rubocop.yml" |