Skip to content

Instantly share code, notes, and snippets.

Mike Brown brownmike

Block or report user

Report or block brownmike

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 autoexec.cfg
// autoexec.cfg
// ============
// = Bindings =
// ============
bind "kp_end" "buy ak47; buy m4a1;"
bind "kp_downarrow" "buy galilar; buy famas;"
bind "kp_pgdn" "buy awp;"
bind "kp_leftarrow" "buy bizon;"
View cards.rb
# TODO: Create InvalidCard, DuplicateCard & InvalidDeck exceptions
class Card
# 11 - 14 represent Jack through Ace respectively
VALUES = (2..14).to_a
SUITS = [:spades, :clubs, :hearts, :diamonds]
attr_reader :value, :suit
def initialize value, suit
brownmike / ruby_monk_primer.rb
Last active Jul 27, 2016
Ruby Monk Primer My solutions to all problems in ascending order
View ruby_monk_primer.rb
# Problem Statement
# Create a class Calculator, which performs addition and subtraction of two numbers at a time.
class Calculator
def add(a, b)
def subtract(a, b)
You can’t perform that action at this time.