Skip to content

Instantly share code, notes, and snippets.

View Tresor11's full-sized avatar
🔆
Focusing

Trésor Bireke Tresor11

🔆
Focusing
View GitHub Profile
@Tresor11
Tresor11 / README-Template.md
Created October 25, 2019 13:51 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@Tresor11
Tresor11 / capybara cheat sheet
Created February 16, 2020 06:09 — 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')
@Tresor11
Tresor11 / stop_rails_running_server.md
Created May 11, 2021 08:04
How to fix: Rails server is already running. Check /path/path/path/path/tmp/pids/server.pid.

To stop all running Rails servers type the following is the terminal

  kill -9 $(lsof -i tcp:3000 -t)