Skip to content

Instantly share code, notes, and snippets.

View takahashim's full-sized avatar

Masayoshi Takahashi takahashim

View GitHub Profile

メモ。

codeforjapan/decidim-cfj#150

「設定画面で表示・非表示を選べるようにしたい」について、 decidim_organizationsテーブルのavailable_authorizationsカラムにuser_extensionが入っているときのみ登録するという仕様が良さそう。

decidim_organizationsテーブルのavailable_authorizationsカラムはcharacter varying[]型。文字列の配列なのか…。

ユーザー属性情報のlocaleがなかったので追加。

(original: http://furukawablog.spaces.live.com/Blog/cns!1pmWgsL289nm7Shn7cS0jHzA!2225.entry)
(archived: https://web.archive.org/web/20061105073147/http://furukawablog.spaces.live.com/Blog/cns!1pmWgsL289nm7Shn7cS0jHzA!2225.entry)
November 04
私のマイコン遍歴、日本のパソコン30年史、その1
私がその昔、秋葉原少年だった頃(今のアキバ系とちょっと違うとは思うのだけど、まぁ普通の人から見ると同類項だったのかな?)秋葉原にはアスターインターナショナル、コンピュータLab、若松通商、ビットイン、本田通商、そして新宿のムーンベース、タンディ・ラジオシャック、御苑前のアスターインターナショナル本店などに当時のマイコン少年は毎日たむろしていたのでした。
当時はTK-80、KIM-1、SCAMP、HitachiやL-Kit16などの10万円ほどする、いわゆるワンボードマイコンが全盛期でありました。Altair、IMSAI、SOL-20、Horizon North Star、クロメムコといったS-100バスのコンピュータはテレタイプに紙テープで操作するもので50万から80万円、8インチのフロッピー・ディスクを搭載したものが100万から150万円もする時代でありました。(ご参考までに、大卒初任給は10万円ぐらいの時代のことです。)
(original: http://groups.yahoo.com/group/sml-dev/message/4729)
(archived: https://web.archive.org/web/20010603012942/http://groups.yahoo.com/group/sml-dev/message/4710)
From: "Clark C . Evans" <cce@c...>
Date: Fri May 11, 2001 8:50 pm
Subject: YAML Draft 0.1
With quite a bit of work, I've tried to come up with
# https://github.com/yamanekko/M5StickC-IDF-m5mruby
# https://github.com/yamanekko/mruby-m5stickc
Wire = M5StickC::TwoWire.new(0)
Wire.begin(32, 33, 100000)
LCD = M5StickC::Display.new
LCD.rotation = 1
LCD.clear
LCD.fill_screen(M5StickC::Display::BLACK)

mruby master(2019-10-18)でのmrbgems動作テスト

https://github.com/takahashim/check_mruby

  • 2.1.0リリースが近いらしいので、公開されているmrbgemsの動作テストをしてみた
  • ubuntu 18.04LTSで実行
  • Dockerfileも作っているけれど、今のところはクラウドに直で実行
  • rake clean testするだけ

テスト内容

#include "mruby.h"
#include "mruby/compile.h"
#include "mruby/string.h"
#include "mruby/value.h"
#include "mruby/array.h"
#include "mruby/hash.h"
#include "mruby/object.h"
#include "mruby/class.h"
#include "mruby/proc.h"
#include "mruby/range.h"
\begin{document}
\reviewmainfont
+\frontmatter
+\pagenumbering{arabic}
+
<%- if @config["titlepage"] -%>
<%- if @custom_titlepage -%>
<%= @custom_titlepage %>
digraph G {
rankdir = BT
layout = dot
node [shape=box,penwidth=2.0];
edge [penwidth=3.0];
chiji_senkyo [label="知事選挙(gubernatorial election) (Q15261477)"]
chiho_senkyo [label="地方選挙(municipal election) (Q152450)"]
mayoral_election [label="首長選挙(mayoral election) (Q15280243)"]

%% old: rko-router.herokuapp.com

A record

linode 106.187.37.40

CNAME record

  • 2006 2006.rubykaigi.org.herokudns.com
  • 2007 2007.rubykaigi.org.herokudns.com