commit-email.infoで mruby, CRuby, Ruby on Rails のコミットメール(色付きdiff入り)を配信している。配信にはQuickMLを使っているので次のメールを送るとsubscribeできる。
mrubyの場合:
To: mruby@ml.commit-email.info
Cc: null@commit-email.info
Subject: Subscribe
--
Subscribe
| set_background("black") | |
| match(SlideElement) do |slides| | |
| slides.each do |slide| | |
| raw_page = slide.instance_variable_get(:@page).instance_variable_get(:@page) | |
| width, height = raw_page.size | |
| width_ratio = canvas.width.to_f / width.to_f | |
| height_ratio = canvas.height.to_f / height.to_f | |
| unless width_ratio == height_ratio | |
| if width_ratio > height_ratio | |
| width_margin = canvas.width - (width * height_ratio) |
| Index: envutil.rb | |
| =================================================================== | |
| --- envutil.rb (revision 48187) | |
| +++ envutil.rb (working copy) | |
| @@ -400,8 +400,11 @@ | |
| def assert_warning(pat, msg = nil) | |
| stderr = EnvUtil.verbose_warning { yield } | |
| - msg = message(msg) {diff pat, stderr} | |
| - assert(pat === stderr, msg) |
| DROP DATABASE IF EXISTS mroonga; | |
| CREATE DATABASE mroonga; | |
| USE mroonga; | |
| SET NAMES utf8mb4; | |
| CREATE TABLE entries ( | |
| id INT NOT NULL PRIMARY KEY, | |
| text1 TEXT NOT NULL, | |
| text2 TEXT NOT NULL, |
| CREATE TABLE articles ( | |
| blog_id int, | |
| article_id int, | |
| unique key (blog_id, article_id) | |
| ) engine = mroonga default charset = utf8; | |
| INSERT INTO articles VALUES (1, 100); | |
| UPDATE articles SET blog_id = 2; | |
| SELECT * FROM articles; |
| SHOW CREATE TABLE ${テーブル名}; | |
| SELECT mroonga_command("normalizer_list"); | |
| SELECT mroonga_command("table_list"); | |
| SELECT mroonga_command("normalize NormalizerMySQLUnicodeCIExceptKanaCIKanaWithVoicedSoundMark アクセシビリティ"); |
| 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: mruby@ml.commit-email.info
Cc: null@commit-email.info
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 |