Skip to content

Commit

Permalink
deploy: ffee3df
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Dec 30, 2024
1 parent 8b1807e commit ce26e4f
Show file tree
Hide file tree
Showing 347 changed files with 35,864 additions and 0 deletions.
627 changes: 627 additions & 0 deletions diff594/404.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diff594/_main_files/figure-html/02-obs-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diff594/_main_files/figure-html/02-vector-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diff594/_main_files/figure-html/02-vectors-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added diff594/_main_files/figure-html/05-knn-1-1.png
Binary file added diff594/_main_files/figure-html/05-knn-2-1.png
Binary file added diff594/_main_files/figure-html/05-knn-4-1.png
Binary file added diff594/_main_files/figure-html/05-knn-5-1.png
Binary file added diff594/_main_files/figure-html/05-scatter-1.png
Binary file added diff594/_main_files/figure-html/05-upsample-1.png
Binary file added diff594/_main_files/figure-html/06-find-k-1.png
Binary file added diff594/_main_files/figure-html/06-fwdsel-3-1.png
Binary file added diff594/_main_files/figure-html/06-precode-1.png
Binary file added diff594/_main_files/figure-html/07-edaRegr-1.png
Binary file added diff594/_main_files/figure-html/07-howK-1.png
Binary file added diff594/_main_files/figure-html/08-lin-reg1-1.png
Binary file added diff594/_main_files/figure-html/08-lin-reg2-1.png
Binary file added diff594/_main_files/figure-html/clone-01-1.png
Binary file added diff594/_main_files/figure-html/clone-02-1.png
Binary file added diff594/_main_files/figure-html/clone-03-1.png
Binary file added diff594/_main_files/figure-html/clone-04-1.png
Binary file added diff594/_main_files/figure-html/git-add-01-1.png
Binary file added diff594/_main_files/figure-html/git-add-02-1.png
Binary file added diff594/_main_files/figure-html/git-add-03-1.png
Binary file added diff594/_main_files/figure-html/img-arrange-1.png
Binary file added diff594/_main_files/figure-html/img-filter-1.png
Binary file added diff594/_main_files/figure-html/img-ggplot-1.png
Binary file added diff594/_main_files/figure-html/img-mutate-1.png
Binary file added diff594/_main_files/figure-html/img-select-1.png
Binary file added diff594/_main_files/figure-html/issue-01-1.png
Binary file added diff594/_main_files/figure-html/issue-02-1.png
Binary file added diff594/_main_files/figure-html/issue-03-1.png
Binary file added diff594/_main_files/figure-html/issue-04-1.png
Binary file added diff594/_main_files/figure-html/issue-06-1.png
Binary file added diff594/_main_files/figure-html/launcher-1.png
Binary file added diff594/_main_files/figure-html/rowwise-1.png
Binary file added diff594/_main_files/figure-html/summarize-1.png
Binary file added diff594/_main_files/figure-html/vc-ba2-add-1.png
Binary file added diff594/_main_files/figure-html/vc5-push-1.png
Binary file added diff594/_main_files/figure-html/vc7-pull-1.png
86 changes: 86 additions & 0 deletions diff594/_main_files/figure-html/website_diff.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
del.diff, del.diff * {
background-color: lightcoral;
}
ins.diff, ins.diff * {
background-color: lightgreen;
}
/*del.diff-selected, del.diff-selected * {
background-color: firebrick;
}
ins.diff-selected, ins.diff-selected * {
background-color: limegreen;
}*/

del.diff:has(img) {
background-color: transparent;
}

ins.diff:has(img) {
background-color: transparent;
}

del.diff > img {
border: 0.7rem solid lightcoral !important;
}

ins.diff > img {
border: 0.7rem solid lightgreen !important;
}

/*
del.diff-selected > img {
border: 0.7rem solid firebrick !important;
}
ins.diff-selected > img {
border: 0.7rem solid limegreen !important;
}*/

.link-to-diff {
color: darkgoldenrod !important;
}

.link-to-add {
color: darkgreen !important;
}

.link-to-del {
color: darkred !important;
}

/* The alert message box */
.alert {
color: white;
position: absolute;
right: 4rem;
top: 2rem;
z-index: 3;
border-bottom: none;
box-shadow: 5px 5px 10px 2px rgb(0 0 0 / .4);

}

.alert.add-banner {
background-color: darkgreen;
}

.alert.del-banner {
background-color: darkred;
}

/* The close button */
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 15px;
cursor: pointer;
transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
color: black;
}
96 changes: 96 additions & 0 deletions diff594/_main_files/figure-html/website_diff.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// dynamically load jQuery if not already present on the website
if (typeof jQuery == 'undefined') {
document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>');
}

var diffidx = 0;

window.addEventListener('load', () => {
scrollToFirstDiff(diffidx);
scrollToNextDiff(diffidx);
});

// Borrowed from https://stackoverflow.com/a/15203639
function isElementVisible(el) {
var rect = el.getBoundingClientRect(),
vWidth = window.innerWidth || document.documentElement.clientWidth,
vHeight = window.innerHeight || document.documentElement.clientHeight,
efp = function (x, y) { return document.elementFromPoint(x, y) };

// Return false if it's not in the viewport
if (rect.right < 0 || rect.bottom < 0
|| rect.left > vWidth || rect.top > vHeight)
return false;

// Return true if any of its four corners are visible
return (
el.contains(efp(rect.left, rect.top))
|| el.contains(efp(rect.right, rect.top))
|| el.contains(efp(rect.right, rect.bottom))
|| el.contains(efp(rect.left, rect.bottom))
);
}

// Scroll to the center of first diff element on page
function scrollToFirstDiff(diffidx) {
var cur;
cur = $(".diff:visible").eq(diffidx)
if (typeof cur[0] != "undefined") {
cur.addClass("diff-selected");
$(cur)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"});
}
}

// Scroll to the next diff element on pressing n, previous on pressing Shift + n
function scrollToNextDiff(diffidx) {
$(document).on("keypress", function(e) {
var cur;
var next;
cur = $(".diff:visible").eq(diffidx)
if (typeof cur[0] == "undefined") {
return;
}
cur.removeClass("diff-selected");
if (e.which == 110){

var diffidx_tmp = diffidx + 1;
if (diffidx_tmp > $(".diff:visible").length-1){
diffidx_tmp = $(".diff:visible").length-1;
}
var cur_tmp = $(".diff:visible").eq(diffidx_tmp);

while (isElementVisible(cur_tmp[0])) {
diffidx_tmp += 1;
if (diffidx_tmp > $(".diff:visible").length-1){
diffidx_tmp = $(".diff:visible").length-1;
break
}
cur_tmp = $(".diff:visible").eq(diffidx_tmp)
}
cur = cur_tmp
diffidx = diffidx_tmp
}
if (e.which == 78) {

var diffidx_tmp = diffidx - 1;
if (diffidx_tmp < 0){
diffidx_tmp = 0;
}
var cur_tmp = $(".diff:visible").eq(diffidx_tmp);

while (isElementVisible(cur_tmp[0])) {
diffidx_tmp -= 1;
if (diffidx_tmp < 0){
diffidx_tmp = 0;
break
}
cur_tmp = $(".diff:visible").eq(diffidx_tmp)
}
cur = cur_tmp
diffidx = diffidx_tmp
}
next = $(".diff:visible").eq(diffidx)
next.addClass("diff-selected")
$(next)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"});
});
}
86 changes: 86 additions & 0 deletions diff594/_main_files/website_diff.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
del.diff, del.diff * {
background-color: lightcoral;
}
ins.diff, ins.diff * {
background-color: lightgreen;
}
/*del.diff-selected, del.diff-selected * {
background-color: firebrick;
}
ins.diff-selected, ins.diff-selected * {
background-color: limegreen;
}*/

del.diff:has(img) {
background-color: transparent;
}

ins.diff:has(img) {
background-color: transparent;
}

del.diff > img {
border: 0.7rem solid lightcoral !important;
}

ins.diff > img {
border: 0.7rem solid lightgreen !important;
}

/*
del.diff-selected > img {
border: 0.7rem solid firebrick !important;
}
ins.diff-selected > img {
border: 0.7rem solid limegreen !important;
}*/

.link-to-diff {
color: darkgoldenrod !important;
}

.link-to-add {
color: darkgreen !important;
}

.link-to-del {
color: darkred !important;
}

/* The alert message box */
.alert {
color: white;
position: absolute;
right: 4rem;
top: 2rem;
z-index: 3;
border-bottom: none;
box-shadow: 5px 5px 10px 2px rgb(0 0 0 / .4);

}

.alert.add-banner {
background-color: darkgreen;
}

.alert.del-banner {
background-color: darkred;
}

/* The close button */
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 15px;
cursor: pointer;
transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
color: black;
}
96 changes: 96 additions & 0 deletions diff594/_main_files/website_diff.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// dynamically load jQuery if not already present on the website
if (typeof jQuery == 'undefined') {
document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>');
}

var diffidx = 0;

window.addEventListener('load', () => {
scrollToFirstDiff(diffidx);
scrollToNextDiff(diffidx);
});

// Borrowed from https://stackoverflow.com/a/15203639
function isElementVisible(el) {
var rect = el.getBoundingClientRect(),
vWidth = window.innerWidth || document.documentElement.clientWidth,
vHeight = window.innerHeight || document.documentElement.clientHeight,
efp = function (x, y) { return document.elementFromPoint(x, y) };

// Return false if it's not in the viewport
if (rect.right < 0 || rect.bottom < 0
|| rect.left > vWidth || rect.top > vHeight)
return false;

// Return true if any of its four corners are visible
return (
el.contains(efp(rect.left, rect.top))
|| el.contains(efp(rect.right, rect.top))
|| el.contains(efp(rect.right, rect.bottom))
|| el.contains(efp(rect.left, rect.bottom))
);
}

// Scroll to the center of first diff element on page
function scrollToFirstDiff(diffidx) {
var cur;
cur = $(".diff:visible").eq(diffidx)
if (typeof cur[0] != "undefined") {
cur.addClass("diff-selected");
$(cur)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"});
}
}

// Scroll to the next diff element on pressing n, previous on pressing Shift + n
function scrollToNextDiff(diffidx) {
$(document).on("keypress", function(e) {
var cur;
var next;
cur = $(".diff:visible").eq(diffidx)
if (typeof cur[0] == "undefined") {
return;
}
cur.removeClass("diff-selected");
if (e.which == 110){

var diffidx_tmp = diffidx + 1;
if (diffidx_tmp > $(".diff:visible").length-1){
diffidx_tmp = $(".diff:visible").length-1;
}
var cur_tmp = $(".diff:visible").eq(diffidx_tmp);

while (isElementVisible(cur_tmp[0])) {
diffidx_tmp += 1;
if (diffidx_tmp > $(".diff:visible").length-1){
diffidx_tmp = $(".diff:visible").length-1;
break
}
cur_tmp = $(".diff:visible").eq(diffidx_tmp)
}
cur = cur_tmp
diffidx = diffidx_tmp
}
if (e.which == 78) {

var diffidx_tmp = diffidx - 1;
if (diffidx_tmp < 0){
diffidx_tmp = 0;
}
var cur_tmp = $(".diff:visible").eq(diffidx_tmp);

while (isElementVisible(cur_tmp[0])) {
diffidx_tmp -= 1;
if (diffidx_tmp < 0){
diffidx_tmp = 0;
break
}
cur_tmp = $(".diff:visible").eq(diffidx_tmp)
}
cur = cur_tmp
diffidx = diffidx_tmp
}
next = $(".diff:visible").eq(diffidx)
next.addClass("diff-selected")
$(next)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"});
});
}
Loading

0 comments on commit ce26e4f

Please sign in to comment.