
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
// requires jQuery | |
var items = $(".SetPreview-cardBylineWrapper"); | |
function parseStr(strr) { | |
var num = strr.split(" ")[0]; | |
return parseInt(num); | |
} | |
var total = 0; | |
for (var i = 0; i < items.length; i++) { |
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
// in general, don't just copy and paste scripts from the internet | |
// but this one is pretty useful if I do say so myself; you can trust it ;) | |
// USAGE: | |
// Canvas > CSCE 430 > Grades > Open Inspector/DevTools > Paste into Console | |
var TABLE_SELECTOR = '.student_assignment.assignment_graded.editable'; | |
var NUM_PSETS = 14; | |
var NUM_LABS_ = 14; |
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
#include <stdio.h> | |
void change(int* value) { | |
*value += 5; // dereference operator | |
} | |
int main() { | |
int a = 5; | |
printf("a = %d \n", a); |