diff --git a/src/main.rs b/src/main.rs index 1e7be62..84bb48a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,6 +52,24 @@ fn bacteria() -> Template { Template::render("bacteria", &context) } +#[get("/bacteria/sauerkraut-beginnings")] +fn bacteria_sauerkraut_beginnings() -> Template { + let context = FlashContext { + flash_name: None, + flash_msg: None, + }; + Template::render("bacteria/sauerkraut_beginnings", &context) +} + +#[get("/bacteria/sauerkraut-bottled")] +fn bacteria_sauerkraut_bottled() -> Template { + let context = FlashContext { + flash_name: None, + flash_msg: None, + }; + Template::render("bacteria/sauerkraut_bottled", &context) +} + #[get("/computers")] fn computers() -> Template { let context = FlashContext { @@ -61,6 +79,15 @@ fn computers() -> Template { Template::render("computers", &context) } +#[get("/computers/rust-compilation")] +fn computers_rust_compilation() -> Template { + let context = FlashContext { + flash_name: None, + flash_msg: None, + }; + Template::render("computers/rust_compilation", &context) +} + #[get("/fungi")] fn fungi() -> Template { let context = FlashContext { @@ -115,6 +142,15 @@ fn plants() -> Template { Template::render("plants", &context) } +#[get("/plants/aloe-there")] +fn plants_aloe_there() -> Template { + let context = FlashContext { + flash_name: None, + flash_msg: None, + }; + Template::render("plants/aloe_there", &context) +} + #[get("/plants/blueberry-dance")] fn plants_blueberry_dance() -> Template { let context = FlashContext { @@ -151,15 +187,6 @@ fn support() -> Template { Template::render("support", &context) } -#[get("/travel")] -fn travel() -> Template { - let context = FlashContext { - flash_name: None, - flash_msg: None, - }; - Template::render("travel", &context) -} - #[catch(404)] fn not_found() -> Template { debug!("404 Page Not Found"); @@ -179,17 +206,20 @@ fn main() { art, background, bacteria, + bacteria_sauerkraut_beginnings, + bacteria_sauerkraut_bottled, computers, + computers_rust_compilation, fungi, fungi_grow_together, fungi_lichen_space, home, lists, plants, + plants_aloe_there, plants_blueberry_dance, plants_potato_tech, meditation, - travel, support ], ) diff --git a/static/bacteria/sauerkraut_jar.jpeg b/static/bacteria/sauerkraut_jar.jpeg new file mode 100644 index 0000000..2b87fe4 Binary files /dev/null and b/static/bacteria/sauerkraut_jar.jpeg differ diff --git a/static/bacteria/sauerkraut_mountain.jpeg b/static/bacteria/sauerkraut_mountain.jpeg new file mode 100644 index 0000000..9484aba Binary files /dev/null and b/static/bacteria/sauerkraut_mountain.jpeg differ diff --git a/static/plants/aloe_flowers.jpg b/static/plants/aloe_flowers.jpg new file mode 100644 index 0000000..75f806e Binary files /dev/null and b/static/plants/aloe_flowers.jpg differ diff --git a/static/plants/tree_aloe.jpg b/static/plants/tree_aloe.jpg new file mode 100644 index 0000000..849847b Binary files /dev/null and b/static/plants/tree_aloe.jpg differ diff --git a/templates/bacteria.html.tera b/templates/bacteria.html.tera index 2613584..459c080 100644 --- a/templates/bacteria.html.tera +++ b/templates/bacteria.html.tera @@ -1,5 +1,9 @@ {% extends "nav" %} {% block content %}

Bacteria

+
{%- endblock %} diff --git a/templates/bacteria/sauerkraut_beginnings.html.tera b/templates/bacteria/sauerkraut_beginnings.html.tera new file mode 100644 index 0000000..7bf0f6a --- /dev/null +++ b/templates/bacteria/sauerkraut_beginnings.html.tera @@ -0,0 +1,14 @@ +{% extends "nav" %} +{% block content %} +
+

Sauerkraut: Beginnings

+ 22 October, 2019 +
+ Colour photo in portrait orientation of a 3L jar filled with purple sauerkraut-in-the-making. The jar is on a wooden countertop and is covered by a blue and white cloth. A glass jar with water is visible inside the bigger jar. Bubbles can be seen forming on the surface of the sauerkraut mixture / solution. +
Counter-top fermentation factory
+
+

I started my first batch of sauerkraut on Sunday - something I’ve been meaning to do for a few months.

+

1 red cabbage, 1/2 apple, 1 carrot, cut finely, sprinkled with salt, massaged and pressed down into a 3L jar. I had to add a little brine after 24 hours to ensure the vegetables were completely covered. I also added a glass jar with water to act as a weight.

+

It’s already bubbling and smelling delicious. Fermentation is like hospitality management for microbes. +


+{%- endblock %} diff --git a/templates/bacteria/sauerkraut_bottled.html.tera b/templates/bacteria/sauerkraut_bottled.html.tera new file mode 100644 index 0000000..60580e8 --- /dev/null +++ b/templates/bacteria/sauerkraut_bottled.html.tera @@ -0,0 +1,14 @@ +{% extends "nav" %} +{% block content %} +
+

Sauerkraut: Bottled

+ 31 October, 2019 +

Today I bottled up some of the sauerkraut from my first batch. It has been going for 11 days; no taste of cabbage anymore and it tastes super tangy. Intrigued to see how the flavour develops.

+

Also transferred some chaga (Inonotus obliquus), reishi (Ganoderma lucidum) and turkey tail (Trametes versicolor)-infused coconut oil to a smaller jar.

+

All of it will be gifted to friends in the valley; gifted by the combined efforts of the sun, soil, water, plants, bacteria and humyns.

+
+ Colour photo showing five glass jars, one small and four large, in a row on a wooden handrail. The first jar contains a cream-coloured mixture of coconut oil, while the other jars are filled with purple sauerkraut. Trees and a mountain can be seen in the background on the right. A brick building appears along the left margin of the photo. +
Vibrant delights in the valley
+
+
+{%- endblock %} diff --git a/templates/base.html.tera b/templates/base.html.tera index 6340696..f4b5db5 100644 --- a/templates/base.html.tera +++ b/templates/base.html.tera @@ -33,6 +33,12 @@ font-family: monospace; } + code { + background-color: #111; + color: #fff; + margin-left: 0.5rem; + } + .col { flex: 1; padding: 1rem; diff --git a/templates/computers.html.tera b/templates/computers.html.tera index ee5be9f..0935b75 100644 --- a/templates/computers.html.tera +++ b/templates/computers.html.tera @@ -1,5 +1,8 @@ {% extends "nav" %} {% block content %}

Computers

+
{%- endblock %} diff --git a/templates/computers/rust_compilation.html.tera b/templates/computers/rust_compilation.html.tera new file mode 100644 index 0000000..214e2ed --- /dev/null +++ b/templates/computers/rust_compilation.html.tera @@ -0,0 +1,21 @@ +{% extends "nav" %} +{% block content %} +
+

Cross-Compiling Rust for Debian Buster on Raspberry Pi 3B+

+ 18 May, 2020 +

Install target platform:

+ rustup target add aarch64-unknown-linux-gnu +

Install toolchain:

+ rustup toolchain install nightly-aarch64-unknown-linux-gnu +

Install aarch64-linux-gnu-gcc:

+ sudo apt-get install gcc-aarch64-linux-gnu +

Configure the linker*:

+ export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc +

Compile release build:

+ cargo build --release --target=aarch64-unknown-linux-gnu +

* Another approach is to create `cargo-config` in the root directory of the repo and add the following:

+ [target.aarch64-unknown-linux-gnu]
+ linker = "aarch64-linux-gnu-gcc" +
+
+{%- endblock %} diff --git a/templates/home.html.tera b/templates/home.html.tera index 1e33732..1067119 100644 --- a/templates/home.html.tera +++ b/templates/home.html.tera @@ -4,9 +4,10 @@

Welcome to the personal website of glyph.

Contact Information


{%- endblock %} diff --git a/templates/lists.html.tera b/templates/lists.html.tera index 1ae7187..232dd83 100644 --- a/templates/lists.html.tera +++ b/templates/lists.html.tera @@ -1,7 +1,6 @@ {% extends "nav" %} {% block content %}

Lists

-

Books

Currently Reading

+
{%- endblock %} diff --git a/templates/meditation.html.tera b/templates/meditation.html.tera index f031839..e6b02dd 100644 --- a/templates/meditation.html.tera +++ b/templates/meditation.html.tera @@ -1,5 +1,9 @@ {% extends "nav" %} {% block content %} -

Meditation

- +
+

Meditation

+ +

My current meditation practice includes 20 minutes of qigong each morning, as well as semi-regular suizen shakuhachi practice and club juggling.

+
+
{%- endblock %} diff --git a/templates/nav.html.tera b/templates/nav.html.tera index e1a8f90..3992597 100644 --- a/templates/nav.html.tera +++ b/templates/nav.html.tera @@ -13,11 +13,10 @@ - {%- block content %}{%- endblock %}
-

© 2020 glyph

+

© 2020 glyph

{%- endblock %} diff --git a/templates/plants.html.tera b/templates/plants.html.tera index b01f79e..6ea4e17 100644 --- a/templates/plants.html.tera +++ b/templates/plants.html.tera @@ -2,6 +2,7 @@ {% block content %}

Plants

diff --git a/templates/plants/aloe_there.html.tera b/templates/plants/aloe_there.html.tera new file mode 100644 index 0000000..8e5088b --- /dev/null +++ b/templates/plants/aloe_there.html.tera @@ -0,0 +1,23 @@ +{% extends "nav" %} +{% block content %} +
+

Aloe There

+ 6 June, 2020 +
+ Dense cones of golden, tubular flowers dominate the frame, with green succulent leaves at the bottom, a bright blue sky above, and a thatched-roof in the background. Bees can be seen amongst the flowers. +
Sunshine in the winter time
+
+

All the aloes are in full bloom right now and it makes me so happy. The bees are pretty stoked about it too, as are the sunbirds.

+
+

As nectar is a primary food source for sunbirds, they are important pollinators in African ecosystems. Sunbird-pollinated flowers are typically long, tubular, and red-to-orange in colour, showing convergent evolution with many hummingbird-pollinated flowers in the Americas. A key difference is that sunbirds cannot hover, so sunbird-pollinated flowers and inflorescences are typically sturdier than hummingbird-pollinated flowers, with an appropriate landing spot from which the bird can feed.

+ +
+

This is likely Aloe ferox, though it should be said that I’m still learning to differentiate species. It’s categorised as a solitary, non-branching tree aloe. There is another one nearby which is easily 5-6 meters tall. Some species have yellow flowers, while others are orange, red or pink. They are wonderful neighbours. I think I will devote a good portion of my life to caring for aloes and learning more about them. If my spirit has a colour, it is that of the flowers above.

+
+ +
Majestic tree aloe amongst the succulents
+
+
+

An anecdote: I once drank Huachuma on a farm which had a cactus and succulent garden home to more than 1,000 species. After a good few hours drumming around a bonfire, my friends and I went to walk through the aforementioned garden. The moon was full, the night was still. Of all those species, the aloes were the only ones which appeared to me to be glowing blue-green. Not just reflecting the moonlight…glowing. I shall let the reader interpret that as they wish.

+
+{%- endblock %} diff --git a/templates/support.html.tera b/templates/support.html.tera index d069cec..ae6fb16 100644 --- a/templates/support.html.tera +++ b/templates/support.html.tera @@ -10,8 +10,9 @@

Supporting

These are the projects and friends I currently contribute to:

+
{%- endblock %}