Skip to content

Commit 7349a51

Browse files
author
Adrien Fabre
committed
Prettier on html files
1 parent bfd9a0b commit 7349a51

File tree

9 files changed

+453
-209
lines changed

9 files changed

+453
-209
lines changed

src/404/404.html

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,27 @@
33
permalink: 404.html
44
layout: layouts/base.njk
55
---
6+
67
<!doctype html>
78
<html lang="en">
8-
<head>
9-
<meta charset="utf-8">
10-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
11-
<title>{{ title }}</title>
9+
<head>
10+
<meta charset="utf-8" />
11+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
12+
<title>{{ title }}</title>
1213

13-
<script src="https://cdn.jsdelivr.net/npm/p5@1.0.0/lib/p5.js"></script>
14-
<script src="404/sketch.js"></script>
15-
<script src="404/Cell.js"></script>
16-
</head>
17-
<body>
18-
<div>
19-
<h2 class="not-found">{{ title }}</h2>
20-
<p class="not-found">This page does not exist and it's unlikely to have ever existed. If you thing this is an error, please <a href="{{ '/about/#social' | url }}">let me know</a>.</p>
21-
</div>
22-
<div oncontextmenu="return false;" id="canvasDiv"></div>
23-
<script data-goatcounter="https://statoxblog.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
24-
</body>
14+
<script src="https://cdn.jsdelivr.net/npm/p5@1.0.0/lib/p5.js"></script>
15+
<script src="404/sketch.js"></script>
16+
<script src="404/Cell.js"></script>
17+
</head>
18+
<body>
19+
<div>
20+
<h2 class="not-found">{{ title }}</h2>
21+
<p class="not-found">
22+
This page does not exist and it's unlikely to have ever existed. If you thing this is an error, please
23+
<a href="{{ '/about/#social' | url }}">let me know</a>.
24+
</p>
25+
</div>
26+
<div oncontextmenu="return false;" id="canvasDiv"></div>
27+
<script data-goatcounter="https://statoxblog.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
28+
</body>
2529
</html>

src/coolcovers/index.html

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,46 @@
66
---
77

88
<h2>Cool covers</h2>
9-
<p>When I was a teenager and I started actively listen to a lot of music and exploring my tastes, one thing I would
9+
<p>
10+
When I was a teenager and I started actively listen to a lot of music and exploring my tastes, one thing I would
1011
always be adamant about was how cover songs were <em>the worst</em>. I think I was mostly trying to show everybody
1112
how vast and impressive my musical knowledge was and what a better way would there be than dismissing a song someone
12-
likes &quot;because the original is so much better&quot;?</p>
13+
likes &quot;because the original is so much better&quot;?
14+
</p>
1315
<blockquote>
14-
<p>Sorry Jeff Buckley, Leonard Cohen was so much better!<br>
15-
How did Nirvana dare singing &quot;The man who saved the world&quot;, what an insult to Bowie??<br>
16-
What? How can't you know that &quot;Sing for the moment&quot; is from Aerosmith, not Eminem 🙄</p>
16+
<p>
17+
Sorry Jeff Buckley, Leonard Cohen was so much better!<br />
18+
How did Nirvana dare singing &quot;The man who saved the world&quot;, what an insult to Bowie??<br />
19+
What? How can't you know that &quot;Sing for the moment&quot; is from Aerosmith, not Eminem 🙄
20+
</p>
1721
</blockquote>
18-
<p>Fortunately I grew up and got <em>a little</em> less dumb. I realized that making a cover of a song is an amazing
22+
<p>
23+
Fortunately I grew up and got <em>a little</em> less dumb. I realized that making a cover of a song is an amazing
1924
exercise of creativity and sure enough I developed <s>a weird obsession</s> a wild interest in cover songs (take
2025
that teenage me). I love to see how some artists are able to take a song and transform it completely using their own
2126
universe to make something entirely new. The history of covered songs are also sometimes completely fascinating: How
2227
many times have I realized that this song I've been listening for years is actually a cover of an obscure band which
23-
never reached success?</p>
24-
<p>That's how on June 2018 I created my &quot;Cool Covers&quot; playlist on Spotify, I compile in it the covers that I
28+
never reached success?
29+
</p>
30+
<p>
31+
That's how on June 2018 I created my &quot;Cool Covers&quot; playlist on Spotify, I compile in it the covers that I
2532
like and I usually try to learn a thing or two about this History of music. The playlist contains well known covers,
2633
some more obscure ones, some songs which subtly sample parts of others and sometimes original songs that I thought
27-
were covers.</p>
34+
were covers.
35+
</p>
2836
<div id="spotify-playlist-3TJOn16SJVMokdHnP61iT0">
29-
<iframe title="Cool covers on spotify" src="https://open.spotify.com/embed/playlist/3TJOn16SJVMokdHnP61iT0"
30-
width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media">
37+
<iframe
38+
title="Cool covers on spotify"
39+
src="https://open.spotify.com/embed/playlist/3TJOn16SJVMokdHnP61iT0"
40+
width="300"
41+
height="380"
42+
frameborder="0"
43+
allowtransparency="true"
44+
allow="encrypted-media"
45+
>
3146
</iframe>
3247
</div>
33-
<p>In this page I'll try to write a little bit about my favorite ones, or the ones I find the more interesting. I'm not
34-
sure how long I'll manage to keep it updated but we'll see!</p>
48+
<p>
49+
In this page I'll try to write a little bit about my favorite ones, or the ones I find the more interesting. I'm not
50+
sure how long I'll manage to keep it updated but we'll see!
51+
</p>

src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: layouts/home.njk
33
eleventyNavigation:
4-
key: Home
5-
order: 1
4+
key: Home
5+
order: 1
66
---

src/pages/CV.html

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
<div class="cv">
1414
<blockquote>
15-
<p style="text-align: center;"><b>WORK IN PROGRESS</b></p>
16-
<p style="text-align: center;">
15+
<p style="text-align: center"><b>WORK IN PROGRESS</b></p>
16+
<p style="text-align: center">
1717
I am in the process of migrating my CV to HTML (to then generate a PDF) it is not a finished work. Also I am
1818
not currently looking for a new position.
1919
</p>
@@ -23,19 +23,19 @@ <h2>Adrien Fabre</h2>
2323
<div class="cv-contact">
2424
<div>
2525
<a href="mailto:adrienfabre@pm.me">adrienfabre@pm.me</a>
26-
<br>
26+
<br />
2727
<a href="tel:+33626554879">+33 6 26 55 48 79</a>
2828
</div>
2929
<div class="cv-contact-right">
3030
<a href="https://www.statox.fr">statox.fr</a>
31-
<br>
31+
<br />
3232
<a href="https://github.com/statox/">github.com/statox</a>
33-
<br>
33+
<br />
3434
<a href="https://www.linkedin.com/in/adrien-fabre-7a30994b/">linkedin.com/in/adrien-fabre-7a30994b</a>
3535
</div>
3636
</div>
3737

38-
<br>
38+
<br />
3939
<div class="cv-info">
4040
<p>
4141
Ingénieur logiciel Français a Paris. Orienté développement serveur et gestion de l'infrastructure selon la
@@ -45,8 +45,7 @@ <h2>Adrien Fabre</h2>
4545

4646
<div class="cv-work-experience">
4747
<h3>Expérience professionnelle</h3>
48-
<div>
49-
</div>
48+
<div></div>
5049
<h4>Depuis Février 2019: Ingénieur Logiciel Serveur, Dashlane, CDI</h4>
5150
<h5>Server Squad - Développeur et scrum master</h5>
5251
<ul>
@@ -69,8 +68,10 @@ <h5>Server Squad - Développeur et scrum master</h5>
6968
<ul>
7069
<li>Présentation de la review aux stackholders a chaque sprint</li>
7170
<li>Mise en place de cérémonies régulières (Rétrospectives, refinement, planning)</li>
72-
<li>Gestion des priorités des requêtes externes (support utilisateurs, équipes clients, équipe sécurité,
73-
...)</li>
71+
<li>
72+
Gestion des priorités des requêtes externes (support utilisateurs, équipes clients, équipe sécurité,
73+
...)
74+
</li>
7475
</ul>
7576
</ul>
7677
<h5>Mission team "Synchronisation" - Développeur</h5>
@@ -84,7 +85,8 @@ <h5>Mission team "Synchronisation" - Développeur</h5>
8485
<h4>2016-2018: Consultant, Nexworld, CDI</h4>
8586
<h5>Développeur Full Stack, Elis, 2 ans</h5>
8687
<ul>
87-
<li>Réalisation et maintenance du système de création de devis et de rémunération des commerciaux Elis.
88+
<li>
89+
Réalisation et maintenance du système de création de devis et de rémunération des commerciaux Elis.
8890
</li>
8991
<li>Développement backend Java (Spring/Hibernate/Maven)</li>
9092
<li>Développement mobile et frontend (Cordova/AngularJS)</li>
@@ -100,7 +102,8 @@ <h5>Consultant API Management, Sanofi, Engie, Caisse d'épargne, 1 an</h5>
100102
<li>Développements des expositions de webservices sur des plateformes d’API Management</li>
101103
<li>Développements des policies de sécurité et scripts de migration API Management</li>
102104
<li>Rédaction des documents d’architectures et d’exploitation (Anglais et Français)</li>
103-
<li>Rédaction de guides de bonnes pratiques d'administration et de développement (Anglais et Français)
105+
<li>
106+
Rédaction de guides de bonnes pratiques d'administration et de développement (Anglais et Français)
104107
</li>
105108
</ul>
106109
</div>
@@ -120,15 +123,15 @@ <h3>Formation</h3>
120123
<h4>2016: Diplôme d'ingénieur CTI: Majeure Ingénierie Logicielle</h4>
121124
<p>
122125
Efrei, école d'ingénieur en informatique – Villejuif (94)
123-
<br>
126+
<br />
124127
Semestre d’étude à l’étranger - Polytechnique Montréal, Montréal, Canada
125128
</p>
126129
<h4>2014: Licence sciences et technologies : mathématiques et informatique</h4>
127130
<p>
128131
Mention Très Bien
129-
<br>
132+
<br />
130133
Partenariat Efrei/Université Paris-Est Marne-La-Vallée
131-
<br>
134+
<br />
132135
Semestre d’étude à l’étranger - Asia Pacific University, Kuala Lumpur, Malaisie
133136
</p>
134137
</div>

src/pages/mirror.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: layouts/mirror.njk
33
title: Mirror
4-
permalink: "/mirror/"
4+
permalink: '/mirror/'
55
eleventyExcludeFromCollections: true
66
---

src/pages/notes.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
---
22
layout: layouts/base.njk
33
title: Notes - redirect
4-
permalink: "/notes/"
4+
permalink: '/notes/'
55
---
66

77
<html>
88
<head>
9-
<meta charset="utf-8">
9+
<meta charset="utf-8" />
1010
<title>Redirecting to {{ newUrl | url }}</title>
11-
<meta http-equiv="refresh" content="0; URL=https://apps.statox.fr/notes">
12-
<link rel="canonical" href="https://apps.statox.fr/notes">
11+
<meta http-equiv="refresh" content="0; URL=https://apps.statox.fr/notes" />
12+
<link rel="canonical" href="https://apps.statox.fr/notes" />
1313
</head>
1414

1515
<body>
1616
<h1>Redirection</h1>
17-
<p>This page has moved to <a href="https://apps.statox.fr/notes">https://apps.statox.fr/notes</a></p>
17+
<p>
18+
This page has moved to
19+
<a href="https://apps.statox.fr/notes">https://apps.statox.fr/notes</a>
20+
</p>
1821

1922
<script data-goatcounter="https://statoxblog.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
2023
</body>

src/pages/projects.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: layouts/projects.njk
33
title: Stuff I did
4-
permalink: "/projects/"
4+
permalink: '/projects/'
55
eleventyNavigation:
6-
key: Projects
7-
order: 3
6+
key: Projects
7+
order: 3
88
---

src/posts/2020/07/minesweeper/index.html

Lines changed: 47 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,74 @@
88
---
99

1010
<p>
11-
The first posts I wrote on this site and which were about p5.js applications are based on code that I wrote before creating the site. As I already hosted the applications on their own Github pages it was easier to simply have a link to these pages in the posts. For example check my <a href="{{ '../p5-cellular-automaton/' | url }}">cellular automata post</a>.
11+
The first posts I wrote on this site and which were about p5.js applications are based on code that I wrote before
12+
creating the site. As I already hosted the applications on their own Github pages it was easier to simply have a
13+
link to these pages in the posts. For example check my
14+
<a href="{{ '../p5-cellular-automaton/' | url }}">cellular automata post</a>.
1215
</p>
1316
<p>
14-
Now that this site is created I wanted to see how I could integrate a p5.js application directly in its pages. This is now done with this simple minesweeper demo. It didn't required a lot of work other than adding a call to a cdn in the post source to get p5.js and updating my <code>.eleventy.js</code> to add <code>.js</code> files to the list of template files to compile.
15-
</p>
16-
<p>
17-
For now I am happy with this test but there are still a few things I'd like to test:
17+
Now that this site is created I wanted to see how I could integrate a p5.js application directly in its pages. This
18+
is now done with this simple minesweeper demo. It didn't required a lot of work other than adding a call to a cdn in
19+
the post source to get p5.js and updating my
20+
<code>.eleventy.js</code> to add <code>.js</code> files to the list of template files to compile.
1821
</p>
22+
<p>For now I am happy with this test but there are still a few things I'd like to test:</p>
1923
<ul>
20-
<li>Check how to put this kind on posts in their own Github repo and add them to the site's source code as git submodules</li>
21-
<li>Check how I can integrate a framework like Vue.js to avoid having to create my own <code>interface.js</code> with some ugly functions to update the UI and send the data to the p5.js sketch</li>
22-
<li>Investigate how to make this kind of demo more mobile friendly because for now it clearly doesn't work on a touch screen</li>
24+
<li>
25+
Check how to put this kind on posts in their own Github repo and add them to the site's source code as git
26+
submodules
27+
</li>
28+
<li>
29+
Check how I can integrate a framework like Vue.js to avoid having to create my own
30+
<code>interface.js</code> with some ugly functions to update the UI and send the data to the p5.js sketch
31+
</li>
32+
<li>
33+
Investigate how to make this kind of demo more mobile friendly because for now it clearly doesn't work on a
34+
touch screen
35+
</li>
2336
</ul>
2437

2538
<h2>The minesweeper</h2>
2639

2740
<p>
28-
To create this first p5.js integrated demo I wanted something simple to code which I could have running pretty fast. Recreating a minesweeper has several advantages:
41+
To create this first p5.js integrated demo I wanted something simple to code which I could have running pretty fast.
42+
Recreating a minesweeper has several advantages:
2943
</p>
3044

3145
<ul>
32-
<li>This is a well known game which wouldn't require me to do some research on how to make its UI or which corner cases rules exist.</li>
33-
<li>It includes a kind of maze solving algorithm to automatically open the cells clicked when they are not near a mine. And I <em>love</em> this kind of algorithm, even though this one is fairly short and simple.</li>
34-
<li>It is a nice way to prepare a future project of creating a minesweeper on an hexagonal grid. Actually that was my initial project but I realized that it's not as trivial as I would have expected and thus it would be better to make it a completely seperated project.</li>
46+
<li>
47+
This is a well known game which wouldn't require me to do some research on how to make its UI or which corner
48+
cases rules exist.
49+
</li>
50+
<li>
51+
It includes a kind of maze solving algorithm to automatically open the cells clicked when they are not near a
52+
mine. And I <em>love</em> this kind of algorithm, even though this one is fairly short and simple.
53+
</li>
54+
<li>
55+
It is a nice way to prepare a future project of creating a minesweeper on an hexagonal grid. Actually that was
56+
my initial project but I realized that it's not as trivial as I would have expected and thus it would be better
57+
to make it a completely seperated project.
58+
</li>
3559
</ul>
3660

3761
<p>
38-
There are still a number of features I'd like to implement even in this squared grid minesweeper like having a deterministic grid (i.e. not having cases where the user has to choose a cell randomly), having cells with several mines to make it a bit harder to play, adding a zoom feature to be able to have larger grids or even creating an AI which would open the cases based on probabilities... But for now that's a nice little demo, even though I must admit that it was more fun to create it than to play with it (because personally I find minesweeper to be a terribly boring game!)
62+
There are still a number of features I'd like to implement even in this squared grid minesweeper like having a
63+
deterministic grid (i.e. not having cases where the user has to choose a cell randomly), having cells with several
64+
mines to make it a bit harder to play, adding a zoom feature to be able to have larger grids or even creating an AI
65+
which would open the cases based on probabilities... But for now that's a nice little demo, even though I must admit
66+
that it was more fun to create it than to play with it (because personally I find minesweeper to be a terribly
67+
boring game!)
3968
</p>
4069

41-
<h2>The demo</h2>
70+
<h2>The demo</h2>
4271
<div>
43-
<span>Grid size <input id="COLInput" type="number" min="1" onchange="updateParams()"></span>
44-
<span>Filling ratio <input id="RATIOInput" type="number" max="1" onchange="updateParams()"></span>
72+
<span>Grid size <input id="COLInput" type="number" min="1" onchange="updateParams()" /></span>
73+
<span>Filling ratio <input id="RATIOInput" type="number" max="1" onchange="updateParams()" /></span>
4574
</div>
4675
<div oncontextmenu="return false;" id="canvasDiv">
47-
<span style="color:red; font-family: D7CR" id="timeSpan">0</span>
76+
<span style="color: red; font-family: D7CR" id="timeSpan">0</span>
4877
<span id="resetSpan"><button onclick="newGame()">Reset</button></span>
49-
<span style="color:red; font-family: D7CR" id="flagsSpan">0</span>
78+
<span style="color: red; font-family: D7CR" id="flagsSpan">0</span>
5079
</div>
5180

5281
<script src="https://cdn.jsdelivr.net/npm/p5@1.0.0/lib/p5.js"></script>

0 commit comments

Comments
 (0)