Skip to content

Commit 45eb5dd

Browse files
committed
Updated on 2024-08-07
1 parent 2c488ac commit 45eb5dd

23 files changed

+364
-244
lines changed

books_read.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ <h1>Here's where I keep a list of books I have read.</h1>
3232
This list was curated by <a href="index.html">Lexington Whalen</a>, beginning from his first year of PhD to end. As he is me, I hope he keeps going!
3333

3434
I typically use this to organize books I found interesting. Please feel free to do whatever you want with it.
35+
36+
<p id="bookCount">So far, we have read 0 books.</p>
3537

3638
<div class="search-inputs">
3739
<input type="text" id="titleSearch" placeholder="Search title...">
@@ -59,7 +61,6 @@ <h1>Here's where I keep a list of books I have read.</h1>
5961
</tbody>
6062
</table>
6163

62-
<p id="bookCount">So far, we have read 0 books</p>
6364

6465
<script>
6566
const table = document.getElementById('bookTable');
@@ -99,7 +100,7 @@ <h1>Here's where I keep a list of books I have read.</h1>
99100
}
100101

101102
function updateBookCount(count) {
102-
bookCountElement.textContent = `So far, we have read ${count} books`;
103+
bookCountElement.textContent = `So far, we have read ${count} books. Let's keep it up!`;
103104
}
104105

105106
function setupEventListeners() {

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<h2>Welcome.</h2>
1010
<h3>Who?</h3>
1111
<p>
12-
My name is Lex Whalen.
12+
My name is Lex Whalen. You can see a picture of me <a href="picture.html">here</a>.
1313
</p>
1414
<a href = "cv.pdf">Here</a> is my CV.
1515
<h3>What?</h3>
@@ -39,7 +39,8 @@ <h3>
3939
When?
4040
</h3>
4141
<p>
42-
Last time this was edited was 2024-08-07.
42+
Last time this was edited was 2024-08-07 (YYYY/MM/DD).
4343
</p>
44+
<small><a href="misc.html">misc</a></small>
4445
</body>
4546
</html>

misc.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Miscellaneous</title>
7+
<style>
8+
.image-memory{
9+
height:250px
10+
}
11+
</style>
12+
</head>
13+
<body>
14+
<h4>
15+
You have discovered the secret page!
16+
</h4>
17+
<p>
18+
You weren't supposed to be here! But as you are, welcome! Here is where I store some pictures that I have a good memory attached to.
19+
Some of the dates are guesses.
20+
</p>
21+
<div>
22+
<img src="pictures/beatles.JPG" class="image-memory">
23+
<p>I think the Beatles did this. July 2023.</p>
24+
</div>
25+
<div>
26+
<img src="pictures/legoland_japan.JPG" class="image-memory">
27+
<p>Legos! July 2023.</p>
28+
</div>
29+
<div>
30+
<img src="pictures/stand_user.JPG" class="image-memory">
31+
<p>Enemy stand! Jan 2024.</p>
32+
</div>
33+
<div>
34+
<img src="pictures/hisao.png" class="image-memory">
35+
<p>僕と先生。ありがとう! April 2023.</p>
36+
</div>
37+
<div>
38+
<img src="pictures/highschool.png" class="image-memory">
39+
<p>Highschool graduation. May 2020.</p>
40+
</div>
41+
<div>
42+
<img src="pictures/reunion.png" class="image-memory">
43+
<p>Reunion with an old pal. July 2022.</p>
44+
</div>
45+
<div>
46+
<img src="pictures/family.png" class="image-memory">
47+
<p>Family in Germany. June 2022.</p>
48+
</div>
49+
<div>
50+
<img src="pictures/haircut.png" class="image-memory">
51+
<p>Favorite haircut place. July 2023.</p>
52+
</div>
53+
<div>
54+
<img src="pictures/kurazushi.png" class="image-memory">
55+
<p>多分くら寿司だと思う。食べすぎてよくわからなくなった。July 2023.</p>
56+
</div>
57+
<div>
58+
<img src="pictures/walk.png" class="image-memory">
59+
<p>Taking a stroll. July 2023.</p>
60+
</div>
61+
<div>
62+
<img src="pictures/snake.JPG" class="image-memory">
63+
<p>Snake. August 2023.</p>
64+
</div>
65+
<div>
66+
<img src="pictures/tall_building.JPG" class="image-memory">
67+
<p>Up high. August 2023.</p>
68+
</div>
69+
<div>
70+
<img src="pictures/toyo.png" class="image-memory">
71+
<p>授業中。April 2023.</p>
72+
</div>
73+
<div>
74+
<img src="pictures/usc_grad.png" class="image-memory">
75+
<p>Graduated UofSC. Dec 2023.</p>
76+
</div>
77+
<div>
78+
<img src="pictures/skill.png" class="image-memory">
79+
<p>神中車。 August 2023.</p>
80+
</div>
81+
<p>
82+
You may go <a href="index.html">back</a>, if you'd like.
83+
</p>
84+
</body>
85+
</html>

papers/list.json

Lines changed: 228 additions & 228 deletions
Large diffs are not rendered by default.

papers_read.html

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,29 @@ <h1>Here's where I keep a list of papers I have read.</h1>
9191
})
9292
.catch(error => console.error('Error loading papers:', error));
9393

94-
function populateTable(papers) {
95-
papers.forEach(paper => {
96-
const row = document.createElement('tr');
97-
for (let key in searchInputs) {
98-
const cell = document.createElement('td');
99-
cell.textContent = paper[key];
100-
row.appendChild(cell);
101-
}
102-
tbody.appendChild(row);
103-
});
104-
}
94+
function populateTable(papers) {
95+
papers.forEach(paper => {
96+
const row = document.createElement('tr');
97+
for (let key in searchInputs) {
98+
const cell = document.createElement('td');
99+
cell.textContent = paper[key];
100+
row.appendChild(cell);
101+
}
102+
// Add the link cell
103+
const linkCell = document.createElement('td');
104+
if (paper.link) {
105+
const link = document.createElement('a');
106+
link.href = paper.link;
107+
link.textContent = 'Link';
108+
link.target = '_blank'; // Opens in a new tab
109+
linkCell.appendChild(link);
110+
} else {
111+
linkCell.textContent = 'N/A';
112+
}
113+
row.appendChild(linkCell);
114+
tbody.appendChild(row);
115+
});
116+
}
105117

106118
function updatePaperCount(count) {
107119
paperCountElement.textContent = `So far, we have read ${count} papers. Let's keep it up!`;

picture.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Picture</title>
7+
</head>
8+
<body>
9+
<div>
10+
<img src="pictures/myself.JPG" style="height:10rem">
11+
<p>
12+
This was a picture in Germany, 2022. I have since cut my hair.
13+
</p>
14+
</div>
15+
<div>
16+
<p>
17+
You can go <a href="index.html">back</a> now, if you'd like.
18+
</p>
19+
</div>
20+
</body>
21+
</html>

pictures/beatles.JPG

102 KB
Loading

pictures/family.png

564 KB
Loading

pictures/haircut.png

573 KB
Loading

pictures/highschool.png

349 KB
Loading

pictures/hisao.png

391 KB
Loading

pictures/kurazushi.png

457 KB
Loading

pictures/legoland_japan.JPG

359 KB
Loading

pictures/myself.JPG

333 KB
Loading

pictures/reunion.png

633 KB
Loading

pictures/skill.png

530 KB
Loading

pictures/snake.JPG

2.48 MB
Loading

pictures/stand_user.JPG

1.62 MB
Loading

pictures/tall_building.JPG

1.75 MB
Loading

pictures/toyo.png

337 KB
Loading

pictures/usc_grad.png

499 KB
Loading

pictures/walk.png

436 KB
Loading

update_push.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def update_html():
1414
# Update the date
1515
for i, line in enumerate(content):
1616
if "Last time this was edited was" in line:
17-
content[i] = f" Last time this was edited was {current_date}.\n"
17+
content[i] = f" Last time this was edited was {current_date} (YYYY/MM/DD).\n"
1818

1919
# Write the updated content back to index.html
2020
with open('index.html', 'w') as file:

0 commit comments

Comments
 (0)