Skip to content
View pietromoro's full-sized avatar

Highlights

  • Pro
Block or Report

Block or report pietromoro

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

Pinned

  1. physarum physarum Public

    Project inspired by Saje Jenson's article on the topic, based on the paper by Jeff Jones. Simulation of a Physarum network

    C 1

  2. activerse activerse Public

    Rails gem that allows a public project to be distributed with a terminal interface to easly setup initial configurations (api-keys, secrets, ...), working with rails 5.2's credentials feature

    Ruby 1 1

  3. Sluggable rails concern: use slugs i... Sluggable rails concern: use slugs instead of ids in the url!
    1
    module Sluggable
    2
      extend ActiveSupport::Concern
    3
      cattr_reader :slugging
    4
      
    5
      included do
  4. BeforeRender Callback as concern for... BeforeRender Callback as concern for rails controller(s). Use it with the same syntax used for other callbacks, just include in the controller. Fires after action but before rendering happens.
    1
    module BeforeRender
    2
      extend ActiveSupport::Concern
    3
    
                  
    4
      included do
    5
        alias_method :render_without_before_render_action, :render
  5. Rails bad input restyle with bootstr... Rails bad input restyle with bootstrap initializer file
    1
    # Be sure to restart your server when you modify this file.
    2
    
                  
    3
    # Restyle how errors are shown
    4
    ActionView::Base.field_error_proc = proc do |html_tag, instance|
    5
      html = %(<div class="field-with-errors">#{html_tag}</div>).html_safe
  6. rails/rails rails/rails Public

    Ruby on Rails

    Ruby 55k 21.3k