Skip to content

Commit

Permalink
Actually add resume
Browse files Browse the repository at this point in the history
  • Loading branch information
LarrysFavoriteMusic committed Jan 12, 2024
1 parent c505153 commit c89b00f
Show file tree
Hide file tree
Showing 5 changed files with 445 additions and 100 deletions.
157 changes: 135 additions & 22 deletions docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.2.329">
<meta name="generator" content="quarto-1.3.353">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand All @@ -17,7 +17,7 @@
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
</style>
Expand Down Expand Up @@ -64,7 +64,7 @@
<link rel="stylesheet" href="styles.css">
</head>

<body class="nav-fixed fullcontent">
<body class="nav-fixed">

<div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top">
Expand All @@ -75,53 +75,57 @@
<span class="navbar-title">Christopher E. Lawrence</span>
</a>
</div>
<div id="quarto-search" class="" title="Search"></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav navbar-nav-scroll me-auto">
<li class="nav-item">
<a class="nav-link" href="./index.html">
<a class="nav-link" href="./index.html" rel="" target="">
<span class="menu-text">Home</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./files/Research.html">
<a class="nav-link" href="./files/Research.html" rel="" target="">
<span class="menu-text">Research</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="././files/CV.pdf">
<span class="menu-text">CV</span></a>
<a class="nav-link" href="././files/2PageCV.pdf" rel="" target="">
<span class="menu-text">Resume</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./files/Publications.html">
<span class="menu-text">Papers and Presenations</span></a>
<a class="nav-link" href="./files/Publications.html" rel="" target="">
<span class="menu-text">Papers and Presentations</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="./files/CloudWaterAppFile.html" rel="" target="">
<span class="menu-text">Cloud Water App</span></a>
</li>
</ul>
<ul class="navbar-nav navbar-nav-scroll ms-auto">
<li class="nav-item compact">
<a class="nav-link" href="mailto:celawrence@albany.edu"><i class="bi bi-envelope" role="img">
<a class="nav-link" href="mailto:celawrence@albany.edu" rel="" target=""><i class="bi bi-envelope" role="img">
</i>
<span class="menu-text"></span></a>
</li>
<li class="nav-item compact">
<a class="nav-link" href="https://github.com/ChrisLaw08"><i class="bi bi-github" role="img">
<a class="nav-link" href="https://github.com/ChrisLaw08" rel="" target=""><i class="bi bi-github" role="img">
</i>
<span class="menu-text"></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://research.asrc.albany.edu/facstaff/lance/">
<a class="nav-link" href="https://research.asrc.albany.edu/facstaff/lance/" rel="" target="">
<span class="menu-text">Lance Lab</span></a>
</li>
</ul>
<div class="quarto-toggle-container">
<a href="" class="quarto-color-scheme-toggle nav-link" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle nav-link" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-navbar-tools">
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-reader-toggle-btn">
<i class="bi"></i>
</div>
</a>
</div>
<div id="quarto-search" class="" title="Search"></div>
</div>
</div> <!-- /navcollapse -->
</div> <!-- /container-fluid -->
</nav>
Expand All @@ -138,10 +142,19 @@ <h1 class="title">So Why Did You Make This?</h1>
</header><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<!-- sidebar -->
<!-- margin-sidebar -->

<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
<nav id="TOC" role="doc-toc" class="toc-active">
<h2 id="toc-title">On this page</h2>
<ul>
<li><a href="#my-first-list" id="toc-my-first-list" class="nav-link active" data-scroll-target="#my-first-list">My First List</a></li>
<li><a href="#going-forward" id="toc-going-forward" class="nav-link" data-scroll-target="#going-forward">Going Forward</a></li>
</ul>
</nav>
</div>
<!-- main -->
<div class="quarto-about-jolla">
<main class="content quarto-banner-title-block" id="quarto-document-content">

<p>Hello! Thanks for visiting Larry Loves Music. My name is Chris Lawrence but a lot of people in my life call me Larry. For a long time, I’ve been pretty obsessed with music. In highschool I had the opportunity to do a research project of my choosing. For whatever, I chose to research the impact the Beatles had on popular music. For this project, I got to spend my lunch periods reading about the Beatles and listening to all kind of music. This triggered an interest in music that I had never felt before and would change the way I listened to music in the future.</p>
<section id="my-first-list" class="level1">
<h1>My First List</h1>
Expand All @@ -163,10 +176,10 @@ <h1>Going Forward</h1>
</main>
<hr class="about-sep">
<div class="about-links">
<a href="mailto:larrylovesmusic@gmail.com" class="about-link">
<a href="mailto:larrylovesmusic@gmail.com" class="about-link" rel="" target="">
<span class="about-link-text">email</span>
</a>
<a href="https://open.spotify.com/user/1213285150?si=9659b21b724b4a54" class="about-link">
<a href="https://open.spotify.com/user/1213285150?si=9659b21b724b4a54" class="about-link" rel="" target="">
<i class="bi bi-spotify"></i>
<span class="about-link-text"></span>
</a>
Expand Down Expand Up @@ -308,9 +321,23 @@ <h1>Going Forward</h1>
} else {
toggleColorMode(false);
}
const isCodeAnnotation = (el) => {
for (const clz of el.classList) {
if (clz.startsWith('code-annotation-')) {
return true;
}
}
return false;
}
const clipboard = new window.ClipboardJS('.code-copy-button', {
target: function(trigger) {
return trigger.previousElementSibling;
text: function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
});
clipboard.on('success', function(e) {
Expand Down Expand Up @@ -375,6 +402,92 @@ <h1>Going Forward</h1>
return note.innerHTML;
});
}
let selectedAnnoteEl;
const selectorForAnnotation = ( cell, annotation) => {
let cellAttr = 'data-code-cell="' + cell + '"';
let lineAttr = 'data-code-annotation="' + annotation + '"';
const selector = 'span[' + cellAttr + '][' + lineAttr + ']';
return selector;
}
const selectCodeLines = (annoteEl) => {
const doc = window.document;
const targetCell = annoteEl.getAttribute("data-target-cell");
const targetAnnotation = annoteEl.getAttribute("data-target-annotation");
const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation));
const lines = annoteSpan.getAttribute("data-code-lines").split(",");
const lineIds = lines.map((line) => {
return targetCell + "-" + line;
})
let top = null;
let height = null;
let parent = null;
if (lineIds.length > 0) {
//compute the position of the single el (top and bottom and make a div)
const el = window.document.getElementById(lineIds[0]);
top = el.offsetTop;
height = el.offsetHeight;
parent = el.parentElement.parentElement;
if (lineIds.length > 1) {
const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]);
const bottom = lastEl.offsetTop + lastEl.offsetHeight;
height = bottom - top;
}
if (top !== null && height !== null && parent !== null) {
// cook up a div (if necessary) and position it
let div = window.document.getElementById("code-annotation-line-highlight");
if (div === null) {
div = window.document.createElement("div");
div.setAttribute("id", "code-annotation-line-highlight");
div.style.position = 'absolute';
parent.appendChild(div);
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter");
gutterDiv.style.position = 'absolute';
const codeCell = window.document.getElementById(targetCell);
const gutter = codeCell.querySelector('.code-annotation-gutter');
gutter.appendChild(gutterDiv);
}
gutterDiv.style.top = top - 2 + "px";
gutterDiv.style.height = height + 4 + "px";
}
selectedAnnoteEl = annoteEl;
}
};
const unselectCodeLines = () => {
const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"];
elementsIds.forEach((elId) => {
const div = window.document.getElementById(elId);
if (div) {
div.remove();
}
});
selectedAnnoteEl = undefined;
};
// Attach click handler to the DT
const annoteDls = window.document.querySelectorAll('dt[data-target-cell]');
for (const annoteDlNode of annoteDls) {
annoteDlNode.addEventListener('click', (event) => {
const clickedEl = event.target;
if (clickedEl !== selectedAnnoteEl) {
unselectCodeLines();
const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active');
if (activeEl) {
activeEl.classList.remove('code-annotation-active');
}
selectCodeLines(clickedEl);
clickedEl.classList.add('code-annotation-active');
} else {
// Unselect the line
unselectCodeLines();
clickedEl.classList.remove('code-annotation-active');
}
});
}
const findCites = (el) => {
const parentEl = el.parentElement;
if (parentEl) {
Expand Down
Binary file added docs/files/2PageCV.pdf
Binary file not shown.
Loading

0 comments on commit c89b00f

Please sign in to comment.