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/python | |
## Dependencies | |
import re | |
import subprocess, sys | |
## Variables | |
selectors = ["selector1", "selector2", "google", "default", "dkim", "k1", "mail", "mxvault" ] |
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 'qbrating' | |
#Order: Completions, Attempts, Yards Completed, TDs, Interceptions | |
qb = QBRating.new(26,45,212,4,1) | |
puts "\nThe QB Rating is #{qb}." |
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
1. The country with the highest population (1,210,004,956 people) is China. | |
2. Top 5 countries sorted by inflation rate: | |
Belarus - 244% | |
Turkey - 94% | |
Azerbaijan - 85% | |
Malawi - 83.3% | |
Yemen - 71.3% | |
3a. 6 continents found in factbook: |
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/ruby | |
class Polynomial | |
def initialize(coefficients) | |
if coefficients.length < 2 | |
raise ArgumentError, 'Need at least 2 coefficients.' | |
end | |
order = coefficients.length - 1 | |
@poly = "" |