Skip to content

Instantly share code, notes, and snippets.

View Algomorph's full-sized avatar
🦿
Computing

Gregory Kramida Algomorph

🦿
Computing
  • Software Engineering, 3D Computer Vision
  • Maryland
View GitHub Profile
@Algomorph
Algomorph / CMSC_class_project_descriptions_dark_theme.css
Created November 19, 2020 14:15
A Stylus-compatible dark-them CSS style for CMSC/UMD class project descriptions
body {
color: #999;
background-color: #35332e
}
img {
filter: invert(0.775);
}
h2{
@Algomorph
Algomorph / convert_submissions_to_projects.py
Created November 18, 2020 17:26
This nifty little script allows for TAs of CMSC131/CMSC132 at UMD to convert student project submissions (distributed from submit server) into actual Eclipse projects, that can be then imported into an Eclipse Workspace without any trouble.
#!/usr/bin/python3
import sys
import os
import re
import shutil
PROJECT_TEMPLATE = (
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<projectDescription>\n" +
" <name>INSERT_NAME_HERE</name>\n" +
body {
color: #cfcfcf;
background: #333;
}
th {
vertical-align: bottom;
padding: 4px;
border: 1px solid #8e8e8e;
margin: 0px;
body {
background-color: rgb(55, 55, 55);
color: #ccc;
}
a {
color: #d0abab;
}
a:visited {
color: #9f967a;
@Algomorph
Algomorph / oh_notify_script.js
Last active October 30, 2020 17:53
This is a script for Tab Reloader for issuing a sound notification when a student enters the regrade request queue up on grades.cs.umd.edu (TA view)
if(window.location.href.includes("https://grades.cs.umd.edu/classWeb/processRegrade.cgi?courseID=")){
main_cell = document.body.children[0].children[0];
header_cell = main_cell.children[2];
title_cell = header_cell.children[1];
title_3 = title_cell.children[1].children[0].children[0].innerText;
if(title_3 === "Pending & In-Process Re-grade Requests"){
data_cell = main_cell.children[3].children[0];
if(data_cell.children[0].children[0].childElementCount > 0){
regrade_request_table = data_cell.children[0].children[0];