biiiig change [now we're a sitix project]
All checks were successful
Build / Build-Docker-Image (push) Successful in 37s

This commit is contained in:
2025-03-11 16:35:53 -04:00
parent 9e84f725c3
commit 81608a95f8
85 changed files with 327 additions and 16 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
output

View File

@@ -1,12 +1,24 @@
FROM swaous.asuscomm.com/sitix:latest AS build
# build the site
RUN mkdir site
COPY site site
RUN ls site
ARG SITIX_ENVIRONMENT="production"
RUN /sitix site -y -c ${SITIX_ENVIRONMENT}
FROM busybox:1.35
# Create a non-root user to own the files and run our server
RUN mkdir /static
WORKDIR /static
# Copy the static website
# Use the .dockerignore file to control what ends up inside the image!
COPY . .
COPY --from=build /output /output
WORKDIR output
# Run BusyBox httpd
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 601 B

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 507 B

View File

Before

Width:  |  Height:  |  Size: 669 B

After

Width:  |  Height:  |  Size: 669 B

View File

Before

Width:  |  Height:  |  Size: 925 B

After

Width:  |  Height:  |  Size: 925 B

View File

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 656 B

View File

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 655 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 197 B

View File

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 471 B

View File

Before

Width:  |  Height:  |  Size: 457 B

After

Width:  |  Height:  |  Size: 457 B

View File

Before

Width:  |  Height:  |  Size: 1012 B

After

Width:  |  Height:  |  Size: 1012 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 708 B

After

Width:  |  Height:  |  Size: 708 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

View File

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

View File

Before

Width:  |  Height:  |  Size: 1016 B

After

Width:  |  Height:  |  Size: 1016 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1017 B

After

Width:  |  Height:  |  Size: 1017 B

View File

Before

Width:  |  Height:  |  Size: 839 B

After

Width:  |  Height:  |  Size: 839 B

View File

Before

Width:  |  Height:  |  Size: 1018 B

After

Width:  |  Height:  |  Size: 1018 B

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 521 B

View File

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 490 B

View File

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

View File

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 559 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

View File

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 501 B

View File

Before

Width:  |  Height:  |  Size: 235 B

After

Width:  |  Height:  |  Size: 235 B

View File

Before

Width:  |  Height:  |  Size: 589 B

After

Width:  |  Height:  |  Size: 589 B

View File

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 678 B

After

Width:  |  Height:  |  Size: 678 B

View File

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 504 B

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

View File

Before

Width:  |  Height:  |  Size: 1020 B

After

Width:  |  Height:  |  Size: 1020 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 685 B

After

Width:  |  Height:  |  Size: 685 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 847 B

After

Width:  |  Height:  |  Size: 847 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 679 B

After

Width:  |  Height:  |  Size: 679 B

View File

Before

Width:  |  Height:  |  Size: 938 B

After

Width:  |  Height:  |  Size: 938 B

95
site/base.css Normal file
View File

@@ -0,0 +1,95 @@
body {
display: flex;
flex-direction: row;
padding: 0px;
margin: 0px;
align-items: stretch;
justify-content: stretch;
}
body > div {
height: 100vh;
overflow-y: auto;
}
#leftpanel {
width: 400px;
padding: 10px;
background-color: rgb(221, 184, 255);
box-sizing: border-box;
display: flex;
flex-direction: column;
}
#contpanel {
padding: 20px;
box-sizing: border-box;
text-align: center;
flex-grow: 2;
}
#contpanel > div {
max-width: 800px;
text-align: left;
display: inline-block;
}
#leftpanel > img {
width: 128px;
margin-left: auto;
margin-right: auto;
display: inline-block;
}
#titleblock {
display: flex;
flex-direction: row;
color: black;
text-decoration: none;
}
#titleblock > p {
flex-grow: 2;
}
#titleblock > img {
width: 100px
}
#titleblock > * {
padding: 10px;
}
.subject > input {
display: none;
}
.subject > input + label + div {
height: 0px;
overflow: hidden;
}
.subject > input:checked + label + div {
height: min-content;
}
.subject > input + label::before {
content: "▶";
}
.subject > input:checked + label::before {
content: "▼";
}
.subject > label {
font-weight: bold;
}
.subject > div > a {
padding: 10px;
display: block;
}
.subject > div > a:hover {
background-color: red;
}

10
site/config.stx Normal file
View File

@@ -0,0 +1,10 @@
[?]
[=baseurl "http://localhost:8080"]
[i production]
[=baseurl "https://deadlyboringmath.us/"]
[/]
[=subjects-]
[=+ "Calculus"]
[=+ "Physics"]
[/]

50
site/default.html Normal file
View File

@@ -0,0 +1,50 @@
[?][#config.stx]
<!DOCTYPE html>
<html>
<head>
<title>Deadly Boring Math</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="[^baseurl]/base.css" />
<link rel="icon" href="[^baseurl]/logo.png" />
</head>
<body>
<div id="leftpanel">
<a id="titleblock" href="[^baseurl]">
<img src="[^baseurl]/logo.png">
<p>
<b>Deadly Boring Math</b>
<i><br>The Mostest Bestestest FOSS Math Journal on the Internet<sup>\[citation needed]</sup></i>
</p>
</a>
<a href="[^baseurl]/news.html" style="margin-top: 1em; margin-bottom: 1em;">News</a>
[f subjects subject]
<div class="subject">
<input type="checkbox" id="subject-[^subject]" />
<label for="subject-[^subject]">[^subject]</label>
<div>
[f posts post]
[i post.subject subject equals]
<a href="[^baseurl]/[^post.filename]">
<b>[^post.title]</b><br>
<i>by [^post.author] on [^post.date]</i>
</a>
[/]
[/]
</div>
</div>
[/]
<p style="margin-top: auto;">
Notice a mistake? Contact me at <a href="mailto:plupy44@gmail.com">plupy44@gmail.com</a><br>
Rendered with <a href="https://swaous.asuscomm.com/sitix">Sitix</a><br>
Mathematical formulas generated via <a href="https://www.mathjax.org/">MathJax</a>.
</p>
</div>
<div id="contpanel">
<div>
[^content]
</div>
</div>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</body>
</html>

View File

@@ -1,11 +1,5 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Deadly Boring Math</title>
</head>
<body>
[!]
[=content-]
<h1>Deadly Boring Math</h1>
<p>
A collection of articles on a variety of mathematical topics, written by students, ranging from basic algebra to multivariable calculus.
@@ -13,6 +7,9 @@
<p>
Processed in a facility that also makes physics.
</p>
<p>
Most of the posts have been written in LibreOffice. The new site design (fancy Sitix templates!) interferes somethin' awful with them, so I'm moving them over by hand... ugh. All of the unupdated posts are listed below:
</p>
<ul>
<li>
<a href="/phys2exam2reviwe.html">Physics 2 Exam 2 Reviwe</a>
@@ -37,5 +34,15 @@
Note: doesn't include limits of multivariable functions.
</li>
</ul>
</body>
</html>
<h2>About the Author</h2>
<p>
<a href="https://swaous.asuscomm.com">Tyler Clarke</a> is a web developer and a Physics student in the class of '26 at the Georgia Institute of Technology.
</p>
<p>
He started Deadly Boring Math as essentially a place to dump multivariable notes, and it grew into... a place to dump multivariable notes.
</p>
<p>
Ah well, ain't like I can get a refund on the domain name.
</p>
[/]
[#default.html]

BIN
site/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

108
site/logo.svg Normal file
View File

@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="54.846859mm"
height="74.142365mm"
viewBox="0 0 54.846859 74.142365"
version="1.1"
id="svg1"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
sodipodi:docname="logo.svg"
inkscape:export-filename="logo.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="0.50394254"
inkscape:cx="246.0598"
inkscape:cy="79.374128"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1">
<inkscape:path-effect
effect="fillet_chamfer"
id="path-effect1"
is_visible="true"
lpeversion="1"
nodesatellites_param="F,0,0,1,0,7.2616616,0,1 @ F,0,0,1,0,4.6774064,0,1 @ F,0,0,1,0,6.8220691,0,1 @ F,0,0,1,0,5.0829873,0,1 @ F,0,0,1,0,3.6057237,0,1 @ F,0,0,1,0,5.0829873,0,1 @ F,0,1,1,0,6.9189054,0,1 @ F,0,0,1,0,8.2374966,0,1"
radius="0"
unit="px"
method="auto"
mode="F"
chamfer_steps="1"
flexible="false"
use_knot_distance="true"
apply_no_radius="true"
apply_with_radius="true"
only_selected="false"
hide_knots="false" />
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-42.910913,-107.05525)">
<path
style="fill:#dde6eb;fill-opacity:1;stroke:#000000;stroke-width:4.164;stroke-dasharray:none;stroke-opacity:1"
d="m 49.432002,149.22419 4.918074,5.7639 a 11.585241,11.585241 71.513193 0 1 2.750565,8.22687 l -0.592084,9.68321 a 6.3546409,6.3546409 46.467366 0 0 6.405378,6.74216 l 19.32236,-0.1903 a 4.4072764,4.4072764 130.36311 0 0 4.313051,-5.07443 l -2.029428,-13.24767 a 7.099341,7.099341 108.21631 0 1 2.009952,-6.10745 l 5.930681,-5.90133 a 10.912009,10.912009 110.16527 0 0 3.176762,-8.65036 l -2.030852,-24.12628 a 7.2918554,7.2918554 41.691754 0 0 -7.495826,-6.6766 l -31.853154,1.00376 a 8.8469669,8.8469669 135.23819 0 0 -8.561308,8.49042 l -0.68855,17.28413 a 18.551533,18.551533 70.904332 0 0 4.424379,12.77997 z"
id="path1"
inkscape:path-effect="#path-effect1"
inkscape:original-d="m 44.718569,143.70013 12.66754,14.84614 -1.293912,21.16125 31.226839,-0.30755 -3.345114,-21.83619 12.089748,-12.02992 -3.037562,-36.08587 -47.002037,1.48113 z"
sodipodi:nodetypes="ccccccccc"
transform="translate(0,-0.52502678)" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:20.3831px;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans Bold';text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.16417;stroke-opacity:1"
x="36.268948"
y="189.57489"
id="text1"
transform="scale(1.4752873,0.67783408)"><tspan
sodipodi:role="line"
id="tspan1"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans';fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.16417"
x="36.268948"
y="189.57489">/ +</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.5234px;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans Bold';text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.16417;stroke-opacity:1"
x="44.204681"
y="218.83128"
id="text2"
transform="scale(1.4752873,0.67783408)"><tspan
sodipodi:role="line"
id="tspan2"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans';fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.16417"
x="44.204681"
y="218.83128">*</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:20.3831px;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans Bold';text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.16417;stroke-opacity:1"
x="45.521858"
y="258.31757"
id="text3"
transform="scale(1.4752873,0.67783408)"><tspan
sodipodi:role="line"
id="tspan3"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Droid Sans';-inkscape-font-specification:'Droid Sans';fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.16417"
x="45.521858"
y="258.31757">-</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

13
site/news.html Normal file
View File

@@ -0,0 +1,13 @@
[!]
[=title "News"]
[=content-]
<h1>Deadly Boring Math News</h1>
<p>
Essentially a tiny blog about dbmus.
</p>
<p>
<b>2024-3-11</b><br>
Site redesign! Now I've gotta move all the libreoffice exports to actual sitix pages...
</p>
[/]
[#default.html]

6
site/post.html Normal file
View File

@@ -0,0 +1,6 @@
[?]
[=content-]
<h1>[^title]</h1>
[^post]
[/]
[#default.html]

View File

@@ -0,0 +1,9 @@
[!]
[=post-]
hi!
[/]
[=title "Multivariable Exam 1 Review"]
[=author "Tyler Clarke"]
[=date "unknown"]
[=subject "Calculus"]
[#post.html]