Skip to content

Instantly share code, notes, and snippets.

View artemv's full-sized avatar

Artem Vasilev artemv

View GitHub Profile
@artemv
artemv / sample.csv
Created March 28, 2019 11:45 — forked from RobVanGroenewoud/sample.csv
Sample CSV file with header row
firstName lastName email phoneNumber Data1 Data2
John Doe [email protected] 0123456789 X Y
Jane Doe [email protected] 9876543210 Y Z
James Bond [email protected] 0612345678 K Y
@artemv
artemv / capybara cheat sheet
Last active August 9, 2017 19:46 — forked from zhengjia/capybara cheat sheet
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')
@artemv
artemv / decode_session_cookie.rb
Last active June 14, 2019 20:41 — forked from pdfrod/decode_session_cookie.rb
A simple script to decode Rails 4 session cookies