This file contains hidden or 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
| import { MDXProvider } from "@mdx-js/react"; | |
| import Image from "next/image"; | |
| const H1 = (props) => ( | |
| <h1 className="text-4xl font-bold mt-6 mb-4">{props.children}</h1> | |
| ); | |
| const H2 = (props) => ( | |
| <h2 className="text-2xl font-bold mt-6 mb-4">{props.children}</h2> | |
| ); |
This file contains hidden or 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
| import random | |
| # CLASSES | |
| # one - reduced by 25% | |
| # two - reduced by 50% | |
| # three - lowest possible fine | |
| # neither - no mitigation | |
| data = [] |
This file contains hidden or 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
| FALSE,FALSE,TRUE,FALSE,FALSE,FALSE,neither | |
| FALSE,FALSE,FALSE,TRUE,FALSE,FALSE,neither | |
| TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,neither | |
| FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,two | |
| TRUE,FALSE,FALSE,FALSE,TRUE,TRUE,two | |
| FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,two | |
| TRUE,FALSE,TRUE,FALSE,TRUE,TRUE,two | |
| FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,two | |
| FALSE,FALSE,FALSE,TRUE,FALSE,FALSE,neither | |
| FALSE,FALSE,TRUE,FALSE,TRUE,FALSE,one |
This file contains hidden or 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
| // Author: Andrew Hollenbach (ahollenbach) | |
| // Instructions: | |
| // Copy and paste the js below into a bookmark "URL" field. | |
| // On the CSH scheduler (http://schedule.csh.rit.edu/browse), expand GCCIS > CSCI. | |
| // Click the bookmark to add cluster labels! | |
| javascript:(function(){ | |
| var clusters = { | |
| "CG" : "#1abc9c", | |
| "Data" : "#2980b9", |
This file contains hidden or 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
| body { | |
| margin: 0; | |
| -webkit-box-sizing:border-box; | |
| } | |
| canvas { | |
| display: block; | |
| } | |
| div { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; |
This file contains hidden or 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
| // Noteflight (http://www.noteflight.com/), a music annotation software for the web, | |
| // has an awesome new HTML5 editor that they are working on. Unfortunately, it doesn't | |
| // support ctrl+c and ctrl+v operations for some reason, (at least on my Windows/Chrome | |
| // configuration), so I wrote a short script to fix that. | |
| var cpy=$(".headerMenuItem:contains('Copy')").first(), | |
| pst=$(".headerMenuItem:contains('Paste')").first(); | |
| var CTRL_KEY = 17, | |
| V_KEY = 86, |