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
#!/usr/bin/env python3 | |
"""Extract URLs from HTML documents.""" | |
import argparse | |
import re | |
import sys | |
import urllib.parse | |
import bs4 |
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
echo "" | |
echo "If you haven't already, please sign up for a github account" | |
#read to capture user input, saved as a variable as the third argument here | |
read -p "First Name: " fname | |
read -p "Last Name: " lname | |
read -p "Github Username (CASE SENSITIVE AND DON'T CHANGE THIS LATER): " github_name | |
read -p "Github Email: " github_email | |
read -s -p "Github Password: " github_password |
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
[ | |
{ | |
"name":"Bulbasaur", | |
"attack":49, | |
"defense":49, | |
"type":"grass", | |
"moves":[ | |
"tackle", | |
"vine whip" | |
], |
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
#################################### spec/models/episode_spec.rb | |
require 'spec_helper' | |
# here is the original description idea before refactoring; | |
# it works, but can be done in a somewhat cleaner and more Rails-y way below | |
# | |
# describe "the show begins" do | |
# | |
# context "the episode starts" do # FYI, context _is_an_alias_ for describe! they work the same! |