aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/_index.md2
-rw-r--r--content/chess.md4
-rw-r--r--content/notes/index.njk40
-rw-r--r--content/projects/indexcooking.md3
-rw-r--r--content/projects/polypubs.md2
-rw-r--r--content/projects/tubestat.md11
-rw-r--r--content/snippets/rsync.md13
7 files changed, 33 insertions, 42 deletions
diff --git a/content/_index.md b/content/_index.md
index 9ae96f3..b1c45a6 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -6,4 +6,4 @@ This is my personal <a href="/blog">blog</a>, where I can jot down my thoughts o
I also use it as a personal references for <a href="/snippets">code snippets</a> I routinely re-use and <a href="/notes">notes</a> on the things I am currently studying.
-When i'm not doing this, i'm probably playing chess.
+When i'm not doing this, i'm probably playing <a href="chess">chess</a>.
diff --git a/content/chess.md b/content/chess.md
new file mode 100644
index 0000000..a4d11f3
--- /dev/null
+++ b/content/chess.md
@@ -0,0 +1,4 @@
++++
+title = "chess"
+layout= "chess"
++++
diff --git a/content/notes/index.njk b/content/notes/index.njk
deleted file mode 100644
index 3dabc96..0000000
--- a/content/notes/index.njk
+++ /dev/null
@@ -1,40 +0,0 @@
----
-layout: /layouts/layout.njk
-title: All notes
-description: A list of all notes
----
-{% set coursesArr = [] %}
-
-{% for item in collections.coursesList %}
- {% if coursesArr.indexOf(item.data.course) == -1 %}
- {% set coursesArr = (coursesArr.push( item.data.course ), coursesArr) %}
- {% endif %}
-{% endfor %}
-
-<div class="container">
-
-<ul class="list-disc pl-3">
-{% for theCourse in coursesArr %}
- <li class="mb-3">
- <input type="checkbox" class="hidden peer" id="checkbox-{{ loop.index }}">
- <label for="checkbox-{{ loop.index }}">
- <h2 class="mb-2 cursor-pointer font-heading text-xl text-teal-900 mb-2 capitalize">{{ theCourse }} <span>⏵</span></h2>
- </label>
- {% for item in collections.coursesList %}
- {% if item.data.course == theCourse %}
- <ul class="hidden peer-checked:block">
- <li>
- <h3 class="font-body font-light">
- <a href="{{ item.url }}" class="text-[18px] mr-2 visited:text-red-600 no-underline">
- {{ item.data.title }}
- </a>
- </h3>
- </li>
- </ul>
- {% endif %}
- {% endfor %}
- </li>
-{% endfor %}
-</ul>
-
-</div>
diff --git a/content/projects/indexcooking.md b/content/projects/indexcooking.md
index 290d1d9..a3eaafa 100644
--- a/content/projects/indexcooking.md
+++ b/content/projects/indexcooking.md
@@ -5,6 +5,7 @@ tags = [
"flask",
"mongodb",
]
+draft = true
[params]
- link = "https://pubs.jezl.xyz"
+ link = "https://example.com"
+++
diff --git a/content/projects/polypubs.md b/content/projects/polypubs.md
index 49b34f5..3e79e39 100644
--- a/content/projects/polypubs.md
+++ b/content/projects/polypubs.md
@@ -5,4 +5,6 @@ tags = [
"maps",
"algolia",
]
+[params]
+ link = "https://pubs.jezl.xyz"
+++
diff --git a/content/projects/tubestat.md b/content/projects/tubestat.md
new file mode 100644
index 0000000..a745454
--- /dev/null
+++ b/content/projects/tubestat.md
@@ -0,0 +1,11 @@
++++
+title = "tubestat"
+description = "London tube statuses from the command line"
+tags = [
+ "cli",
+ "python",
+]
+[params]
+ link = "https://pypi.org/project/tube-stat/"
+date = 2025-03-20
++++
diff --git a/content/snippets/rsync.md b/content/snippets/rsync.md
new file mode 100644
index 0000000..21e43fa
--- /dev/null
+++ b/content/snippets/rsync.md
@@ -0,0 +1,13 @@
+---
+title: Basic rsync commands
+description: Basic rsync commands
+tags: ["rsync"]
+---
+
+I use these rscync commands regularly to sync local data and remote servers:
+
+```console
+rsync -avz --progress /local/path /remote/path
+```
+
+`a` is archive mode, which keeps permissions, timestamps, symlinks etc, `v` means verbose and shows transfer progress in a human readable format, `z` compresses data during send and `---progress` shows files transer progress.