Skip to content
View Pashio84's full-sized avatar
🐈
🐈
  • Sun* Inc.
  • Japan
  • 03:16 (UTC +09:00)

Block or report Pashio84

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Pashio84/README.md

Pinned Loading

  1. tone-value-average tone-value-average Public

    複数画像の画素の色値の平均を割り出して、CSVには結果の値を書き出し、その色の見た目をPNG画像に書き出す

    Julia

  2. zenn-docs zenn-docs Public

    https://zenn.dev/passio84

    JavaScript

  3. docker-nestjs docker-nestjs Public template

    TypeScript

  4. Unit converter / 単位変換 Unit converter / 単位変換
    1
    def unit_converter(units, unit_numbers, size) 
    2
      unit_index = (unit_numbers.index { |num| size < num } || unit_numbers.length) - 1
    3
      unit_index = 0 if unit_index.negative?
    4
      
    5
      { converted_size: size / unit_numbers[unit_index], unit: units[unit_index] }
  5. For Controller's concern on Ruby on ... For Controller's concern on Ruby on Rails
    1
    module I18nModuleable
    2
      extend ActiveSupport::Concern
    3
    
                  
    4
      # Example usage:
    5
      #
  6. Partial match search excluding dashe... Partial match search excluding dashes and uppercase alphabet with Controller's concern on Ruby on Rails
    1
    module ActiveRecordSearchable
    2
      extend ActiveSupport::Concern
    3
    
                  
    4
      # Ref: https://www.fileformat.info/info/unicode/category/Pd/list.htm
    5
      DASH_CHARACTER_REGEX = /[\p{Pd}|ー−]/.freeze