🐈
-
Sun* Inc.
- Japan
-
03:16
(UTC +09:00)
Pinned Loading
-
tone-value-average
tone-value-average Public複数画像の画素の色値の平均を割り出して、CSVには結果の値を書き出し、その色の見た目をPNG画像に書き出す
Julia
-
-
-
Unit converter / 単位変換
Unit converter / 単位変換 1def unit_converter(units, unit_numbers, size)
2unit_index = (unit_numbers.index { |num| size < num } || unit_numbers.length) - 1
3unit_index = 0 if unit_index.negative?
45{ converted_size: size / unit_numbers[unit_index], unit: units[unit_index] }
-
For Controller's concern on Ruby on ...
For Controller's concern on Ruby on Rails 1module I18nModuleable
2extend ActiveSupport::Concern
34# Example usage:
5#
-
Partial match search excluding dashe...
Partial match search excluding dashes and uppercase alphabet with Controller's concern on Ruby on Rails 1module ActiveRecordSearchable
2extend ActiveSupport::Concern
34# Ref: https://www.fileformat.info/info/unicode/category/Pd/list.htm
5DASH_CHARACTER_REGEX = /[\p{Pd}|ー−]/.freeze
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.