commit-email.infoで mruby, CRuby, Ruby on Rails のコミットメール(色付きdiff入り)を配信している。配信にはQuickMLを使っているので次のメールを送るとsubscribeできる。
mrubyの場合:
To: [email protected]
Cc: [email protected]
Subject: Subscribe
--
Subscribe
| FLUSH STATUS; | |
| SET NAMES UTF8; | |
| CREATE TABLE logs( | |
| title TEXT, | |
| content LONGTEXT, | |
| a TINYINT, | |
| b DATETIME, | |
| c INT, | |
| d DOUBLE, |
| CPU: | |
| processor : 0 | |
| vendor_id : GenuineIntel | |
| cpu family : 6 | |
| model : 58 | |
| model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz | |
| stepping : 9 | |
| cpu MHz : 3392.937 | |
| cache size : 6144 KB | |
| fpu : yes |
| from gi.repository import Groonga | |
| Groonga.init() | |
| context = Groonga.Context() | |
| del context | |
| Groonga.fin() |
commit-email.infoで mruby, CRuby, Ruby on Rails のコミットメール(色付きdiff入り)を配信している。配信にはQuickMLを使っているので次のメールを送るとsubscribeできる。
mrubyの場合:
To: [email protected]
Cc: [email protected]
Subject: Subscribe
--
Subscribe
| @preformatted_keep_in_size = false | |
| @syntax_highlighting_keep_in_size = false | |
| include_theme("default") | |
| match("**", PreformattedBlock) do |blocks| | |
| blocks.prop_set("size", @xx_small_font_size) | |
| blocks.wrap_mode = :char | |
| blocks.margin_right = screen_x(7) | |
| end |
| #!/usr/bin/env ruby | |
| require "benchmark" | |
| n_executes = 1_000_000 | |
| n_keys = 100 | |
| initial_key = "a" * 20 | |
| initial_key_symbol = initial_key.to_sym | |
| initial_key_number = 1 |
MySQLとPostgreSQLと日本語全文検索の第2弾の案。
参考:第1弾
前回は使っていない人向けの情報を提供することを重視したが、今回は1回でもMySQL 5.7 InnoDB FTS/Mroonga/pg_bigm/PGroongaのどれかを触ったことがある人向けの情報を提供する。1回でもはインストールしてチュートリアルを実行した程度でよい。
好評だったら同じターゲット(1回でも触ったことがある人向け)で第3弾、第4弾を開催する予定。
2016年5-7月あたりに開催したい。
| # 「terms」以外はテンプレ | |
| table_create terms \ | |
| TABLE_PAT_KEY \ | |
| ShortText \ | |
| --default_tokenizer TokenBigram \ | |
| --normalizer NormalizerAuto | |
| # 「terms」と「body_index」と | |
| # 「pdfs」と「body」以外はテンプレ | |
| column_create terms body_index \ |