Skip to content

Instantly share code, notes, and snippets.

🏠
Coding cozy websites at home

Vitaliy Emeliyantsev gambala

🏠
Coding cozy websites at home
Block or report user

Report or block gambala

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View developer_repository.rb
class Developer
end
class DataBase
def find_developer(platform: :ruby, region: :london)
all_developers(platform, region).select do |you|
you.are.crazy
.and { your.skill_level is :high }
.and { you.are.not.in :plumbee }
@gambala
gambala / pyramid.rb
Created Jul 11, 2016
Let's find minimal path in pyramid from top to bottom
View pyramid.rb
class Pyramid
attr_accessor :layers_number
attr_accessor :layers
def initialize(layers_number, layers = [])
@layers_number = layers_number
@layers = layers
end
def populate_with_random_weights
View rubocop.yml
inherit_from: .rubocop_todo.yml
AllCops:
Exclude:
- 'bin/*'
- 'db/schema.rb'
- 'tmp/**/*'
- 'vendor/**/*'
RunRailsCops: true
Documentation:
Enabled: false
You can’t perform that action at this time.