Compare commits
8
Commits
6cd5ed61c4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09f0dc42e4
|
||
|
|
8e2303fcdf
|
||
|
|
4917abe9e6
|
||
|
|
b52629d1f6
|
||
|
|
b9159581f3
|
||
|
|
9e9163f01b
|
||
|
|
54a69b51ae
|
||
|
|
975ba4f312
|
No files matched your search
@@ -52,7 +52,6 @@ jobs:
|
|||||||
# (act sets env.ACT, the Gitea runner does not). The force-push to the
|
# (act sets env.ACT, the Gitea runner does not). The force-push to the
|
||||||
# `pages` branch is what triggers the git-pages webhook.
|
# `pages` branch is what triggers the git-pages webhook.
|
||||||
- name: Publish to pages branch
|
- name: Publish to pages branch
|
||||||
if: ${{ !env.ACT }}
|
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -8,3 +8,5 @@ tools/
|
|||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.idea/
|
.idea/
|
||||||
|
.zed/
|
||||||
|
.vscode/
|
||||||
@@ -22,6 +22,10 @@ watch: tools
|
|||||||
clean:
|
clean:
|
||||||
./scripts/clean.sh
|
./scripts/clean.sh
|
||||||
|
|
||||||
|
# Remove all EXIF metadata from a file
|
||||||
|
strip-exif file:
|
||||||
|
exiftool -all= -overwrite_original {{ quote(file) }}
|
||||||
|
|
||||||
# Run the CI workflow locally with act (requires act + docker)
|
# Run the CI workflow locally with act (requires act + docker)
|
||||||
ci:
|
ci:
|
||||||
act push -W .gitea/workflows/build.yml -j build --artifact-server-path /tmp/act-artifacts
|
act push -W .gitea/workflows/build.yml -j build --artifact-server-path /tmp/act-artifacts
|
||||||
+13
-15
@@ -22,12 +22,16 @@ include = [
|
|||||||
]
|
]
|
||||||
exclude = ["drafts/**"]
|
exclude = ["drafts/**"]
|
||||||
|
|
||||||
|
[toc]
|
||||||
|
enabled = true
|
||||||
|
depth = 2
|
||||||
|
floating = true
|
||||||
|
|
||||||
[menus]
|
[menus]
|
||||||
main = [
|
main = [
|
||||||
{ label = "Home", target = "home/index.typ" },
|
{ label = "Home", target = "home/index.typ" },
|
||||||
{ label = "IT", target = "it/index.typ" },
|
{ label = "Computer Science", target = "cs/index.typ" },
|
||||||
{ label = "OT", target = "ot/index.typ" },
|
{ label = "HomeLab", target = "homelab/index.typ" },
|
||||||
{ label = "Security", target = "security/index.typ" },
|
|
||||||
{ label = "Medias", target = "medias/index.typ" },
|
{ label = "Medias", target = "medias/index.typ" },
|
||||||
]
|
]
|
||||||
social = [
|
social = [
|
||||||
@@ -54,24 +58,18 @@ item = [
|
|||||||
|
|
||||||
|
|
||||||
[[sidebar.section]]
|
[[sidebar.section]]
|
||||||
title = "IT"
|
title = "Computer Science"
|
||||||
item = [
|
item = [
|
||||||
{ target = "it/index.typ" },
|
{ target = "cs/index.typ" },
|
||||||
{ glob = "it/*" }
|
{ glob = "cs/*" }
|
||||||
]
|
]
|
||||||
|
|
||||||
[[sidebar.section]]
|
|
||||||
title = "OT"
|
|
||||||
item = [
|
|
||||||
{ target = "ot/index.typ" },
|
|
||||||
{ glob = "ot/*" }
|
|
||||||
]
|
|
||||||
|
|
||||||
[[sidebar.section]]
|
[[sidebar.section]]
|
||||||
title = "Security"
|
title = "HomeLab"
|
||||||
item = [
|
item = [
|
||||||
{ target = "security/index.typ" },
|
{ target = "homelab/index.typ" },
|
||||||
{ glob = "security/*" }
|
{ glob = "homelab/*" }
|
||||||
]
|
]
|
||||||
|
|
||||||
[[sidebar.section]]
|
[[sidebar.section]]
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#set document(title: [Computer Science])
|
||||||
|
#metadata((title: "Overview", translation_key: "cs-index")) <website-metadata>
|
||||||
|
|
||||||
|
#title()
|
||||||
|
|
||||||
|
Placeholder page for the Computer Science category.
|
||||||
|
The real content comes later.
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.8 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.2 MiB |
+52
-2
@@ -1,6 +1,56 @@
|
|||||||
|
#import "/lib/lib.typ": *
|
||||||
#set document(title: [Gardening])
|
#set document(title: [Gardening])
|
||||||
#metadata((title: "Gardening", translation_key: "home-gardening")) <website-metadata>
|
#metadata((
|
||||||
|
title: "Gardening",
|
||||||
|
translation_key: "home-gardening",
|
||||||
|
date: "2026-10-11",
|
||||||
|
tags: ("plants", "yucca", "dracaena", "light", "water"),
|
||||||
|
author: "Rémi Herdero",
|
||||||
|
summary: "Some plants description and advices for keep them alive"
|
||||||
|
)) <website-metadata>
|
||||||
|
|
||||||
#title()
|
#title()
|
||||||
|
|
||||||
Placeholder page — the real content comes later.
|
= Yucca elephantipes <home:gardening:yucca>
|
||||||
|
#calepin.elements.columns(
|
||||||
|
columns: 2,
|
||||||
|
wrap: true,
|
||||||
|
[
|
||||||
|
Yucca (@fig:plant:yucca_elephantipes) from central America is accustomed to arid conditions.
|
||||||
|
|
||||||
|
#tag(fill: yellow.lighten(30%))[Light ++]
|
||||||
|
#tag(fill: blue.lighten(50%))[Water --]
|
||||||
|
|
||||||
|
This plant love light and should be placed on one of the most brightful parts of the room. It even tolerates direct sunlight very well.
|
||||||
|
|
||||||
|
The Yucca stores water in its thick trunk. You need to let the soil dry out almost completely between waterings. Generally speaking, watering once *every 2 to 3 weeks* is more than enough. It's better to forget about it for a while than to overwater it, otherwise its roots will decay. Usually we can put around #frackable(1, 2) liter every 2 Weeks. But it's important to check the dirt is dry before watering.
|
||||||
|
|
||||||
|
],[
|
||||||
|
#figure(
|
||||||
|
image("assets/yucca_elephantipes.jpg", width: 60%),
|
||||||
|
caption: "Yucca elephantipes"
|
||||||
|
) <fig:plant:yucca_elephantipes>
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
= Dracaena marginata <home:gardening:dracaena>
|
||||||
|
#calepin.elements.columns(
|
||||||
|
columns: 2,
|
||||||
|
wrap: true,
|
||||||
|
[
|
||||||
|
The Dracaena (@fig:plant:dracaena_marginata) come from Madagascar.
|
||||||
|
|
||||||
|
#tag(fill: yellow.lighten(30%))[Light +]
|
||||||
|
#tag(fill: blue.lighten(50%))[Water -]
|
||||||
|
|
||||||
|
This plant prefer lot of indirect light. Avoid to place it in direct sunlight because it can burn its leaves.
|
||||||
|
|
||||||
|
The Dracaena don't need a lot of water. Before watering, make sure the first 3 or 4 centimeters of soil are dry. In average, water the plant once with #frackable(1, 2) litre *every 10 to 14 days*. The extremity of the leaves tend to turn brown when the air is too dry or the water contain too much calcium or chlorine.
|
||||||
|
|
||||||
|
], [
|
||||||
|
#figure(
|
||||||
|
image("assets/dracaena_marginata.jpg", width: 60%),
|
||||||
|
caption: [Dracaena marginata]
|
||||||
|
) <fig:plant:dracaena_marginata>
|
||||||
|
]
|
||||||
|
)
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#set document(title: [Washing clothes])
|
|
||||||
#metadata((title: "Washing clothes", translation_key: "home-washing-clothes")) <website-metadata>
|
|
||||||
|
|
||||||
#title()
|
|
||||||
|
|
||||||
Placeholder page — the real content comes later.
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#set document(title: [Backup])
|
||||||
|
#metadata((title: "Backup", translation_key: "homelab-backup")) <website-metadata>
|
||||||
|
|
||||||
|
#title()
|
||||||
|
|
||||||
|
Placeholder page — the real content comes later.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#set document(title: [HomeLab])
|
||||||
|
#metadata((title: "Overview", translation_key: "homelab")) <website-metadata>
|
||||||
|
|
||||||
|
#title()
|
||||||
|
|
||||||
|
Placeholder page for the homelab category.
|
||||||
|
The real content comes later.
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#set document(title: [IT])
|
|
||||||
#metadata((title: "Overview", translation_key: "it-index")) <website-metadata>
|
|
||||||
|
|
||||||
#title()
|
|
||||||
|
|
||||||
Placeholder page for the IT category.
|
|
||||||
The real content comes later.
|
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
// #import "@preview/calepin:0.1.0" as calepin
|
||||||
|
#import "@preview/hes-so-core:0.1.0"
|
||||||
|
#import "@preview/frackable:0.2.0": *
|
||||||
|
|
||||||
|
// #import "@preview/cetz:0.5.2"
|
||||||
|
//
|
||||||
|
// #let drawing(..args) = {
|
||||||
|
// let canvas = cetz.canvas(..args)
|
||||||
|
// context if target() == "html" {
|
||||||
|
// html.frame(canvas)
|
||||||
|
// } else {
|
||||||
|
// canvas
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
#let tag(body, fill: yellow, stroke: auto) = {
|
||||||
|
let stroke-color = if stroke == auto {
|
||||||
|
fill.darken(25%)
|
||||||
|
} else if type(stroke) == color {
|
||||||
|
stroke
|
||||||
|
} else if type(stroke) == stroke {
|
||||||
|
stroke.paint
|
||||||
|
} else {
|
||||||
|
fill.darken(25%)
|
||||||
|
}
|
||||||
|
|
||||||
|
let stroke-rule = if stroke == auto {
|
||||||
|
1pt + stroke-color
|
||||||
|
} else if type(stroke) == color {
|
||||||
|
1pt + stroke
|
||||||
|
} else {
|
||||||
|
stroke
|
||||||
|
}
|
||||||
|
|
||||||
|
context if target() == "html" {
|
||||||
|
let bg-hex = fill.to-hex()
|
||||||
|
let border-hex = stroke-color.to-hex()
|
||||||
|
html.elem("span", attrs: (
|
||||||
|
style: "display: inline-block; background-color: " + bg-hex
|
||||||
|
+ "; border: 1px solid " + border-hex
|
||||||
|
+ "; color: #1f2933; border-radius: 1em; padding: 0.2em 0.6em; font-size: 0.85em; font-weight: 500; line-height: 1.2;"
|
||||||
|
))[#body]
|
||||||
|
} else {
|
||||||
|
box(
|
||||||
|
fill: fill,
|
||||||
|
stroke: stroke-rule,
|
||||||
|
radius: 1em,
|
||||||
|
inset: (x: 0.5em, y: 0.5em)
|
||||||
|
)[#body]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#set document(title: [OT])
|
|
||||||
#metadata((title: "Overview", translation_key: "ot-index")) <website-metadata>
|
|
||||||
|
|
||||||
#title()
|
|
||||||
|
|
||||||
Placeholder page for the OT category.
|
|
||||||
The real content comes later.
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#set document(title: [Security])
|
|
||||||
#metadata((title: "Overview", translation_key: "security")) <website-metadata>
|
|
||||||
|
|
||||||
#title()
|
|
||||||
|
|
||||||
Placeholder page for the security category.
|
|
||||||
The real content comes later.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#set document(title: [SSH])
|
|
||||||
#metadata((title: "SSH", translation_key: "security-ssh")) <website-metadata>
|
|
||||||
|
|
||||||
#title()
|
|
||||||
|
|
||||||
Placeholder page — the real content comes later.
|
|
||||||
Reference in new issue
Block a user