gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VOWELS = ['a', 'e', 'i', 'o', 'u'] | |
word = gets.chomp.chars.map(&:downcase) | |
def modify_vowel(char) | |
VOWELS.include?(@previous_char) ? char : "idig#{char}" | |
end | |
def is_vowel?(char) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "watir-webdriver" | |
# Create a Firefox profile and disabled JavaScript | |
profile = Selenium::WebDriver::Firefox::Profile.new | |
profile["javascript.enabled"] = false | |
# Instantiate a browser instance using the profile you created above | |
browser = Watir::Browser.new :firefox, :profile => profile |