Compare commits

..

No commits in common. "2d6467d09970e16fa4adf63970edf3338d340113" and "8755b3bcef8c9f30553881231004ad5f1b7a0647" have entirely different histories.

13 changed files with 16 additions and 65 deletions

View file

@ -3,8 +3,6 @@ from pathlib import Path
from urllib import request
import re
urlroot = 'https://www.w3.org/Protocols/rfc2616'
src = Path('src')
root = src.joinpath('error')
with root.joinpath('root.html').open('r') as root_file:
@ -19,13 +17,13 @@ for x in error.rglob('*'):
if x.is_file() or x.is_symlink(): x.unlink()
req = request.Request(
f'{urlroot}/rfc2616-sec10.html',
'https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html',
method='GET')
with request.urlopen(req) as res:
raw = res.read().decode('utf-8')
codes = (re.finditer(r"(?s)<h3><a id='(sec10\.[0-9]\.[0-9]+)'>"
codes = (re.finditer(r"(?s)<h3><a id='sec10\.[0-9]\.[0-9]+'>"
r'10\.[0-9]\.[0-9]+</a>'
r'\s*([0-9]+)\s([a-zA-Z\s]+)</h3>\s*<p>(.*?)</p>', raw))
@ -33,15 +31,11 @@ nginx_head = ''
nginx_body = ''
for item in codes:
sec, code, title, desc = item.groups()
code, title, desc = item.groups()
if int(code) < 400 or int(code) >= 600: continue
desc = re.sub(r"(<a.*?href=')(.*)('>)",
lambda x:f'{x[1]}{urlroot}/{x[2]}{x[3]}', desc)
with error.joinpath(f'{code}.html').open('w') as html:
content = root_html.format(
code=code, title=title, desc=desc, style=root_css, sec=sec)
code=code, title=title, desc=desc, style=root_css)
content = re.sub(r'\s+', ' ', content)
content = re.sub(r'>\s<', '><', content)
html.write(content)

View file

@ -6,7 +6,6 @@
--gray-30: #cac5c4;
--gray-10: #f7f3f2;
--red-40: #ff8389;
--blue-40: #78a9ff;
}
body {
@ -54,19 +53,3 @@ cite {
line-height: 1.125rem;
letter-spacing: .16px;
}
a {
text-decoration: none;
color: var(--blue-40);
}
a:hover {
text-decoration: underline;
filter: brightness(1.2);
}
a:active {
filter: brightness(1.4);
}
a:focus {
color: var(--gray-100);
background: white;
}

View file

@ -25,16 +25,7 @@
<blockquote cite="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">
{desc}
</blockquote>
<figcaption><cite>
<a
href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#{sec}"
>HTTP/1.1 Status Code Definitions</a>
</cite></figcaption>
<figcaption><cite>HTTP/1.1 Status Code Definitions</cite></figcaption>
</figure>
<footer>
Design by edpibu,
inspired by <a href="https://www.carbondesignsystem.com/">
IBM Carbon Design System</a>
</footer>
</body>
</html>

View file

@ -7,7 +7,7 @@
}
.biglinks > a,
.biglinks > picture {
.biglinks > img {
max-width: calc(100% - 24px);
}
@ -22,13 +22,8 @@
display: block;
}
.biglinks > picture {
display: inline-block;
.biglinks > img {
height: 156px;
margin: 12px;
}
.biglinks > picture > img {
height: 100%;
width: 100%;
object-fit: cover;
}

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
src/static/pic/pic1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

View file

@ -2,10 +2,7 @@
<html lang="fr">
<head>
<title>CV - Edgar P. Burkhart</title>
<meta name="description"
content="Edgar P. Burkhart, étudiant en génie côtier à l'UPPA.
Normalien-élève de l'ENS Paris-Saclay.
Agrégé de Sciences Industrielles de l'Ingénieur." />
<meta name="description" content="Edgar P. Burkhart, étudiant en génie côtier à l'UPPA. Normalien-élève de l'ENS Paris-Saclay." />
{meta}
</head>
@ -32,14 +29,14 @@
</nav>
<div class="content">
<h2 id="stages">Stages</h2>
<h2>Stages</h2>
<ul>
<li>Optimization of simplified calculation methods for early age
cracking assessement
- Norwegian University of Science and Technology, ENS Paris-Saclay
- 2020</li>
</ul>
<h2 id="formation">Formation</h2>
<h2>Formation</h2>
<ul>
<li>Université de Pau et des Pays de l'Adour
- Génie Côtier
@ -70,9 +67,9 @@
- Spécialité Informatique et Sciences du Numérique
- 2016</li>
</ul>
<h2 id="competences">Compétences</h2>
<h2>Compétences</h2>
<dl>
<dt><h3 id="langues">Langues</h3></dt>
<dt><h3>Langues</h3></dt>
<dd><ul>
<li>Français (Natif)</li>
<li>Anglais
@ -80,7 +77,7 @@
<li>Allemand (Niveau B1, Deutsches Sprachdiplom 1)</li>
<li>Espagnol (Lu)</li>
</ul></dd>
<dt><h3 id="competences-info">Informatique</h3></dt>
<dt><h3>Informatique</h3></dt>
<dd><ul>
<li>Développement web (HTML, CSS, JS, Django, Symfony, node.js,
React)</li>
@ -89,13 +86,13 @@
<li>Réseau (routage)</li>
<li>Mise en page (LaTeX, Microsoft Office, LibreOffice)</li>
</dd></ul>
<dt><h3 id="competences-autres">Autres</h3></dt>
<dt><h3>Autres</h3></dt>
<dd><ul>
<li>Travail d'équipe</li>
<li>Électronique (Raspberry Pi, Arduino, brasure, conception de PCB)
</ul>
</dl>
<h2 id="loisirs">Loisirs</h2>
<h2>Loisirs</h2>
<ul>
<li>VTT, Randonnée</li>
<li>Ancien membre du CR@NS (association fournissant internet au campus

View file

@ -27,16 +27,7 @@
<img class="svg" src="/static/picto/summit.svg" alt="" />
Komoot
</a>
<picture>
<source type="image/jxl"
srcset="/static/pic/pic.jxl,
/static/pic/picx2.jxl 2x,
/static/pic/picx4.jxl 4x" />
<img alt=""
src="/static/pic/pic.webp"
srcset="/static/pic/picx2.webp 2x,
/static/pic/picx4.webp 4x" />
</picture>
<img src="/static/pic/pic1.webp" alt="Paysage" />
<a class="btn" href="/jaime/">
<img class="svg" src="/static/picto/love.svg" alt="" />
Ce que j'aime