2018-02-01から1ヶ月間の記事一覧
目的 Javascriptで グループ化された 積み上げ棒グラフに 折れ線グラフを重ねたグラフを書きたい 結果 Chart.jsを採用することで実現できました。 JS Bin on jsbin.com ポイント datasetのtypeに'line' or 'bar'を指定する。 積み上げたいdatasetにstackプロ…
環境 prmd 0.13.0 事象 以下のようなyamlをprmdでJSON Schemaに変換。 $ cat docs/schema/schemata/sample.yml definitions: name: description: name readOnly: true type: - string - null $ bundle exec prmd combine --meta docs/schema/meta.yml docs/s…
環境 RubyMine 2017.3 Code Inspectionとは 静的解析ツール。 Rubocopも適用可能。 編集中のファイルに対して自動的に実行される。 手動でも実行可能。(Code -> Inspection Code) 制御したかったこと 特定のインスペクションを無効化する。 インスペクショ…
状況 気まぐれにrails newしたところ、bundle installでエラー発生。 An error occurred while installing ffi (1.9.21), and Bundler cannot continue. 環境 Mac 10.13 Ruby 2.5.0 Rails 5.1.4 対処 autoreconf: failed to run aclocal: No such file or di…