Skip to content

Instantly share code, notes, and snippets.

View dubistdu's full-sized avatar

Jasmine F dubistdu

  • FL
View GitHub Profile
@dubistdu
dubistdu / git commands.md
Last active September 29, 2018 19:18 — forked from scootcho/git commands.md
git commands #git #commands

initialize git depository in the current directory

git init .

display the git remote/origin

cat .git/config
@dubistdu
dubistdu / RAILS_5_CHEATSHEET.md
Created September 17, 2018 00:32 — forked from harrietty/RAILS_5_CHEATSHEET.md
Ruby on Rails 5 Cheatsheet

Ruby on Rails Cheatsheet (5.1)

Architecture

RVM

$ rvm list - show currently installed Rubies

@dubistdu
dubistdu / Selenium Cheat Sheet.md
Created April 4, 2018 17:56 — forked from kenrett/Selenium Cheat Sheet.md
Selenium Cheat Sheet - Ruby

#Getting Started

##Webpage:

<html>
<head>
    <title>Testing with Ruby and Selenium WebDriver</title>
</head>
 
<body bgcolor="antiquewhite">

API workthough

  1. Open a browser

    # start an instance of firefox with selenium-webdriver
    driver = Selenium::WebDriver.for :firefox
    # :chrome -> chrome
    # :ie     -> iexplore
    
  • Go to a specified URL