Algorithms
Professor: Delaram Kahrobaei
Course Repository: vchrombie/CS-GY-6033-DAA1
#!/usr/bin/env python3 | |
import re | |
from collections import defaultdict | |
def parse_line(line): | |
""" | |
Parse a single line of input. | |
Expected formats: | |
- Client<TAB>AppServer<TAB>Instance Mismatch (a/b) |
(async function() { | |
// Mapping of dropdown field IDs to desired answers | |
const dropdownFieldAnswers = { | |
'input-83': 'Yes', // Do you certify you meet all minimum qualifications... | |
'input-85': 'Opt-In to receive text messages from Walmart', // Would you like to receive mobile text message updates... | |
'input-89': 'Yes', // Are you legally able to work... | |
'input-91': '18 years of age and Over', // Please select your age category | |
'input-93': 'Have never been an employee of Walmart Inc or any of its subsidiaries', // Walmart Associate Status/Affiliation | |
'input-99': 'Yes', // Are you able to provide work authorization within 3 days... | |
'input-101': 'No', // Will you now or in the future require sponsorship... |
import csv | |
import random | |
import string | |
# Load protocols from protocols.csv | |
protocols = [] | |
with open('protocols.csv', 'r') as protocols_file: | |
reader = csv.DictReader(protocols_file) | |
for row in reader: | |
protocols.append({'number': row['number'], 'name': row['name']}) |
[ | |
{ | |
"AllowedHeaders": [ | |
"*" | |
], | |
"AllowedMethods": [ | |
"HEAD", | |
"GET", | |
"PUT", | |
"POST", |
Algorithms
Professor: Delaram Kahrobaei
Course Repository: vchrombie/CS-GY-6033-DAA1
#!/bin/bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
headers="Authorization: Bearer $GRAFANA_API_KEY" | |
in_path="$GIT_SRC/dashboards_raw" | |
echo "Exporting Grafana dashboards from $GRAFANA_URL" |
https://github.com/Bahmni/crater/tree/BAH-1552
I hereby claim:
To claim this, I am signing this object:
import matplotlib.pyplot as plt | |
semesters = [1, 2, 3, 4, 5, 6, 7, 8] | |
grades = [9.08, 8.14, 8.43, 7.89, 8.34, 7.55, 7.84, 9.06] | |
fig, ax = plt.subplots(figsize=(10,8)) | |
ax.plot(semesters, grades, '-o') | |
ax.set(title="Grades: Venu (U4CSE16508)", |