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
math335_theme <- function() { | |
theme_bw() + theme(panel.border = element_blank(), | |
panel.grid.major = element_blank(), | |
panel.grid.minor = element_blank(), | |
axis.line = element_line(colour = "black"), | |
plot.title = element_text(face="bold"), | |
axis.title = element_text(face="bold"), | |
plot.caption = element_text(face="italic", size = 8, color = "#4d4d4d")) | |
} |
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
#!/bin/bash | |
# Take all .html files in directory and covert them to .docx files for grading | |
# Check all .html files in directory for the string "Passed all tests with no errors" | |
# This way we can quickly sort files of people who may have had more trouble | |
# Move files that pass into a seperate directory than those with failed tests. | |
str="Passed all tests with no errors" | |
for file in *.html; do | |
pandoc -o "${file%.*}.docx" -s -S "$file" | |
if grep -q "$str" "$file"; then | |
mv "${file%.*}.docx" ../docx/testPass/ |
NewerOlder