Compare commits
No commits in common. "2d6467d09970e16fa4adf63970edf3338d340113" and "8755b3bcef8c9f30553881231004ad5f1b7a0647" have entirely different histories.
2d6467d099
...
8755b3bcef
13 changed files with 16 additions and 65 deletions
|
@ -3,8 +3,6 @@ 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:
|
||||||
|
@ -19,13 +17,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(
|
||||||
f'{urlroot}/rfc2616-sec10.html',
|
'https://www.w3.org/Protocols/rfc2616/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))
|
||||||
|
|
||||||
|
@ -33,15 +31,11 @@ nginx_head = ''
|
||||||
nginx_body = ''
|
nginx_body = ''
|
||||||
|
|
||||||
for item in codes:
|
for item in codes:
|
||||||
sec, code, title, desc = item.groups()
|
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, sec=sec)
|
code=code, title=title, desc=desc, style=root_css)
|
||||||
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,7 +6,6 @@
|
||||||
--gray-30: #cac5c4;
|
--gray-30: #cac5c4;
|
||||||
--gray-10: #f7f3f2;
|
--gray-10: #f7f3f2;
|
||||||
--red-40: #ff8389;
|
--red-40: #ff8389;
|
||||||
--blue-40: #78a9ff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -54,19 +53,3 @@ 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,16 +25,7 @@
|
||||||
<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>
|
<figcaption><cite>HTTP/1.1 Status Code Definitions</cite></figcaption>
|
||||||
<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 > picture {
|
.biglinks > img {
|
||||||
max-width: calc(100% - 24px);
|
max-width: calc(100% - 24px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,13 +22,8 @@
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.biglinks > picture {
|
.biglinks > img {
|
||||||
display: inline-block;
|
|
||||||
height: 156px;
|
height: 156px;
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
}
|
|
||||||
.biglinks > picture > img {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
object-fit: cover;
|
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
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 |
|
@ -2,10 +2,7 @@
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<title>CV - Edgar P. Burkhart</title>
|
<title>CV - Edgar P. Burkhart</title>
|
||||||
<meta name="description"
|
<meta name="description" content="Edgar P. Burkhart, étudiant en génie côtier à l'UPPA. Normalien-élève de l'ENS Paris-Saclay." />
|
||||||
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>
|
||||||
|
@ -32,14 +29,14 @@
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2 id="stages">Stages</h2>
|
<h2>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 id="formation">Formation</h2>
|
<h2>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
|
||||||
|
@ -70,9 +67,9 @@
|
||||||
- Spécialité Informatique et Sciences du Numérique
|
- Spécialité Informatique et Sciences du Numérique
|
||||||
- 2016</li>
|
- 2016</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="competences">Compétences</h2>
|
<h2>Compétences</h2>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><h3 id="langues">Langues</h3></dt>
|
<dt><h3>Langues</h3></dt>
|
||||||
<dd><ul>
|
<dd><ul>
|
||||||
<li>Français (Natif)</li>
|
<li>Français (Natif)</li>
|
||||||
<li>Anglais
|
<li>Anglais
|
||||||
|
@ -80,7 +77,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 id="competences-info">Informatique</h3></dt>
|
<dt><h3>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>
|
||||||
|
@ -89,13 +86,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 id="competences-autres">Autres</h3></dt>
|
<dt><h3>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 id="loisirs">Loisirs</h2>
|
<h2>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,16 +27,7 @@
|
||||||
<img class="svg" src="/static/picto/summit.svg" alt="" />
|
<img class="svg" src="/static/picto/summit.svg" alt="" />
|
||||||
Komoot
|
Komoot
|
||||||
</a>
|
</a>
|
||||||
<picture>
|
<img src="/static/pic/pic1.webp" alt="Paysage" />
|
||||||
<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