Skip to content

Instantly share code, notes, and snippets.

@jvperrin
jvperrin / submit-ee16a-hw.sh
Last active November 5, 2015 09:57
A semi-fancy script to automate submission of EE 16A homework assignments and self-grades.
#!/bin/bash
HW_NAME=$(basename "$PWD")
if [[ $HW_NAME == *"grades" ]]
then
echo "Submitting self-grades!"
echo "Uploading the grades to the instructional servers..."
ssh ee16a "mkdir -p ~/classes/ee16a/$HW_NAME"