Skip to content

Instantly share code, notes, and snippets.

View Markentoine's full-sized avatar
💭
Focus-Learn-Repeat

Toulouse Jérôme Markentoine

💭
Focus-Learn-Repeat
  • Saint Die des Vosges
View GitHub Profile
@danielpclark
danielpclark / rps-blackbytes.rb
Created April 24, 2017 18:45
Rock Paper Scissors Black Bytes blog version
module BlackBytesExample
class Game
def self.play(move1, move2)
return :tie if move1.class == move2.class
move2.wins_against?(move1)
end
end
class Rock
@jayshenk
jayshenk / flexbox_resources.md
Last active December 4, 2019 12:35
A collection of resources for learning Flexbox
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')