Skip to content
View brlo's full-sized avatar
🦎
...
🦎
...
Block or Report

Block or report brlo

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 Loading

  1. capsula capsula Public

    Preloading related objects to prevent N+1 queries 🦠(like #includes in ActiveRecord)

    Ruby

  2. russian_keyboard russian_keyboard Public

    Ruby tool for fixing wrong typed text

    Ruby 1

  3. Watching or killing long mysql queri... Watching or killing long mysql queries #mysql #docker
    1
    #!/bin/bash
    2
    
                  
    3
    # queries which executes >= THIS VAR will be killed
    4
    KILL_TIME=0
    5
    
                  
  4. ActiveRecord type of integer (tinyin... ActiveRecord type of integer (tinyint, smallint, mediumint, int, bigint)
    1
    # activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb
    2
    # Maps logical Rails types to MySQL-specific data types.
    3
    def type_to_sql(type, limit = nil, precision = nil, scale = nil)
    4
      return super unless type.to_s == 'integer'
    5