Merged master
This commit is contained in:
commit
2d6467d099
13 changed files with 65 additions and 16 deletions
|
@ -3,6 +3,8 @@ from pathlib import Path
|
||||||
from urllib import request
|
from urllib import request
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
urlroot = 'https://www.w3.org/Protocols/rfc2616'
|
||||||
|
|
||||||
src = Path('src')
|
src = Path('src')
|
||||||
root = src.joinpath('error')
|
root = src.joinpath('error')
|
||||||
with root.joinpath('root.html').open('r') as root_file:
|
with root.joinpath('root.html').open('r') as root_file:
|
||||||
|
@ -17,13 +19,13 @@ for x in error.rglob('*'):
|
||||||
if x.is_file() or x.is_symlink(): x.unlink()
|
if x.is_file() or x.is_symlink(): x.unlink()
|
||||||
|
|
||||||
req = request.Request(
|
req = request.Request(
|
||||||
'https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html',
|
f'{urlroot}/rfc2616-sec10.html',
|
||||||
method='GET')
|
method='GET')
|
||||||
|
|
||||||
with request.urlopen(req) as res:
|
with request.urlopen(req) as res:
|
||||||
raw = res.read().decode('utf-8')
|
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'10\.[0-9]\.[0-9]+</a>'
|
||||||
r'\s*([0-9]+)\s([a-zA-Z\s]+)</h3>\s*<p>(.*?)</p>', raw))
|
r'\s*([0-9]+)\s([a-zA-Z\s]+)</h3>\s*<p>(.*?)</p>', raw))
|
||||||
|
|
||||||
|
@ -31,11 +33,15 @@ nginx_head = ''
|
||||||
nginx_body = ''
|
nginx_body = ''
|
||||||
|
|
||||||
for item in codes:
|
for item in codes:
|
||||||
code, title, desc = item.groups()
|
sec, code, title, desc = item.groups()
|
||||||
if int(code) < 400 or int(code) >= 600: continue
|
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:
|
with error.joinpath(f'{code}.html').open('w') as html:
|
||||||
content = root_html.format(
|
content = root_html.format(
|
||||||
code=code, title=title, desc=desc, style=root_css)
|
code=code, title=title, desc=desc, style=root_css, sec=sec)
|
||||||
content = re.sub(r'\s+', ' ', content)
|
content = re.sub(r'\s+', ' ', content)
|
||||||
content = re.sub(r'>\s<', '><', content)
|
content = re.sub(r'>\s<', '><', content)
|
||||||
html.write(content)
|
html.write(content)
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
--gray-30: #cac5c4;
|
--gray-30: #cac5c4;
|
||||||
--gray-10: #f7f3f2;
|
--gray-10: #f7f3f2;
|
||||||
--red-40: #ff8389;
|
--red-40: #ff8389;
|
||||||
|
--blue-40: #78a9ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -53,3 +54,19 @@ cite {
|
||||||
line-height: 1.125rem;
|
line-height: 1.125rem;
|
||||||
letter-spacing: .16px;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -25,7 +25,16 @@
|
||||||
<blockquote cite="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">
|
<blockquote cite="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">
|
||||||
{desc}
|
{desc}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<figcaption><cite>HTTP/1.1 Status Code Definitions</cite></figcaption>
|
<figcaption><cite>
|
||||||
|
<a
|
||||||
|
href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#{sec}"
|
||||||
|
>HTTP/1.1 Status Code Definitions</a>
|
||||||
|
</cite></figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
<footer>
|
||||||
|
Design by edpibu,
|
||||||
|
inspired by <a href="https://www.carbondesignsystem.com/">
|
||||||
|
IBM Carbon Design System</a>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.biglinks > a,
|
.biglinks > a,
|
||||||
.biglinks > img {
|
.biglinks > picture {
|
||||||
max-width: calc(100% - 24px);
|
max-width: calc(100% - 24px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,8 +22,13 @@
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.biglinks > img {
|
.biglinks > picture {
|
||||||
|
display: inline-block;
|
||||||
height: 156px;
|
height: 156px;
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
|
}
|
||||||
|
.biglinks > picture > img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
BIN
src/static/pic/pic.jxl
Normal file
BIN
src/static/pic/pic.jxl
Normal file
Binary file not shown.
BIN
src/static/pic/pic.webp
Normal file
BIN
src/static/pic/pic.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
Before Width: | Height: | Size: 27 KiB |
BIN
src/static/pic/picx2.jxl
Normal file
BIN
src/static/pic/picx2.jxl
Normal file
Binary file not shown.
BIN
src/static/pic/picx2.webp
Normal file
BIN
src/static/pic/picx2.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
BIN
src/static/pic/picx4.jxl
Normal file
BIN
src/static/pic/picx4.jxl
Normal file
Binary file not shown.
BIN
src/static/pic/picx4.webp
Normal file
BIN
src/static/pic/picx4.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 172 KiB |
|
@ -2,7 +2,10 @@
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<title>CV - Edgar P. Burkhart</title>
|
<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." />
|
<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}
|
{meta}
|
||||||
</head>
|
</head>
|
||||||
|
@ -29,14 +32,14 @@
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2>Stages</h2>
|
<h2 id="stages">Stages</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Optimization of simplified calculation methods for early age
|
<li>Optimization of simplified calculation methods for early age
|
||||||
cracking assessement
|
cracking assessement
|
||||||
- Norwegian University of Science and Technology, ENS Paris-Saclay
|
- Norwegian University of Science and Technology, ENS Paris-Saclay
|
||||||
- 2020</li>
|
- 2020</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2>Formation</h2>
|
<h2 id="formation">Formation</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Université de Pau et des Pays de l'Adour
|
<li>Université de Pau et des Pays de l'Adour
|
||||||
- Génie Côtier
|
- Génie Côtier
|
||||||
|
@ -67,9 +70,9 @@
|
||||||
- Spécialité Informatique et Sciences du Numérique
|
- Spécialité Informatique et Sciences du Numérique
|
||||||
- 2016</li>
|
- 2016</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2>Compétences</h2>
|
<h2 id="competences">Compétences</h2>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><h3>Langues</h3></dt>
|
<dt><h3 id="langues">Langues</h3></dt>
|
||||||
<dd><ul>
|
<dd><ul>
|
||||||
<li>Français (Natif)</li>
|
<li>Français (Natif)</li>
|
||||||
<li>Anglais
|
<li>Anglais
|
||||||
|
@ -77,7 +80,7 @@
|
||||||
<li>Allemand (Niveau B1, Deutsches Sprachdiplom 1)</li>
|
<li>Allemand (Niveau B1, Deutsches Sprachdiplom 1)</li>
|
||||||
<li>Espagnol (Lu)</li>
|
<li>Espagnol (Lu)</li>
|
||||||
</ul></dd>
|
</ul></dd>
|
||||||
<dt><h3>Informatique</h3></dt>
|
<dt><h3 id="competences-info">Informatique</h3></dt>
|
||||||
<dd><ul>
|
<dd><ul>
|
||||||
<li>Développement web (HTML, CSS, JS, Django, Symfony, node.js,
|
<li>Développement web (HTML, CSS, JS, Django, Symfony, node.js,
|
||||||
React)</li>
|
React)</li>
|
||||||
|
@ -86,13 +89,13 @@
|
||||||
<li>Réseau (routage)</li>
|
<li>Réseau (routage)</li>
|
||||||
<li>Mise en page (LaTeX, Microsoft Office, LibreOffice)</li>
|
<li>Mise en page (LaTeX, Microsoft Office, LibreOffice)</li>
|
||||||
</dd></ul>
|
</dd></ul>
|
||||||
<dt><h3>Autres</h3></dt>
|
<dt><h3 id="competences-autres">Autres</h3></dt>
|
||||||
<dd><ul>
|
<dd><ul>
|
||||||
<li>Travail d'équipe</li>
|
<li>Travail d'équipe</li>
|
||||||
<li>Électronique (Raspberry Pi, Arduino, brasure, conception de PCB)
|
<li>Électronique (Raspberry Pi, Arduino, brasure, conception de PCB)
|
||||||
</ul>
|
</ul>
|
||||||
</dl>
|
</dl>
|
||||||
<h2>Loisirs</h2>
|
<h2 id="loisirs">Loisirs</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>VTT, Randonnée</li>
|
<li>VTT, Randonnée</li>
|
||||||
<li>Ancien membre du CR@NS (association fournissant internet au campus
|
<li>Ancien membre du CR@NS (association fournissant internet au campus
|
||||||
|
|
|
@ -27,7 +27,16 @@
|
||||||
<img class="svg" src="/static/picto/summit.svg" alt="" />
|
<img class="svg" src="/static/picto/summit.svg" alt="" />
|
||||||
Komoot
|
Komoot
|
||||||
</a>
|
</a>
|
||||||
<img src="/static/pic/pic1.webp" alt="Paysage" />
|
<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>
|
||||||
<a class="btn" href="/jaime/">
|
<a class="btn" href="/jaime/">
|
||||||
<img class="svg" src="/static/picto/love.svg" alt="" />
|
<img class="svg" src="/static/picto/love.svg" alt="" />
|
||||||
Ce que j'aime
|
Ce que j'aime
|
||||||
|
|
Reference in a new issue