From 12680c2ddeb16c518be2673ae44a039ef6775a32 Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 26 Mar 2024 16:54:10 +0100 Subject: [PATCH] padding --- print.css | 6 +++--- templates/book.jinja | 32 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/print.css b/print.css index d6c05ef..0a2c8a1 100644 --- a/print.css +++ b/print.css @@ -335,7 +335,7 @@ body { } article { - margin: 2em 2em; + padding: 2em 2em; page-break-after: always; text-align: left; text-justify: none; @@ -363,7 +363,7 @@ mark { white-space: normal; text-align: left; text-justify: none; - font-size: 1em; + font-size: .8em; } h1, @@ -380,7 +380,7 @@ h6 { p { margin-bottom: 1em; font-family: "CascadiaCode VTT"; - font-size: 1em; + font-size: .8em; text-align: left; text-justify: none; } diff --git a/templates/book.jinja b/templates/book.jinja index 2a3ce4c..fb8e3d0 100644 --- a/templates/book.jinja +++ b/templates/book.jinja @@ -25,7 +25,7 @@
-

Preface

+

pface

TL;DR researches ways to make sense of the hidden labour that goes on in a feminist server through log files and unlogged activity.

@@ -49,7 +49,7 @@

The state of chopchop on {{now}}?


-
tldr@chopchop:~ $whoami
+

tldr@chopchop:~ $whoami

{{device_info}}

{{chopchop}}

{{ip_address}}

@@ -69,14 +69,14 @@ {% endif %} -
tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -r
+

tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -r

Users are assigned to groups, which allow them rights to read or edit files, run commands or apply infrastructural changes. For chopchop, we all have 'sudo rights': the ability to perform any command, including the more sensitive ones. Sudo is a command that's short for 'superuser do', with it, a user has more privileges, like installing or updating a package or performing a restart. {% if list_package_installs|length > 0 %} -
tldr@chopchop:~ $ grep 'install' /var/log/dpkg.log
+

tldr@chopchop:~ $ grep 'install' /var/log/dpkg.log

Something here in the if statement is not working
    @@ -98,7 +98,7 @@ {% endif %} {% if list_package_upgrade|length > 0 %} -
    tldr@chopchop:~ $ grep 'upgrade' /var/log/dpkg.log
    +

    tldr@chopchop:~ $ grep 'upgrade' /var/log/dpkg.log

    Something here in the if statement is not working Out of the installed packages, these ones were upgraded: @@ -108,7 +108,7 @@
  • {{ item }}
  • {% endfor %} - Packages are upgraded to fix previous bugs they had, or allow new options for usage they did not have prior. + Packages are upgraded to fix pvious bugs they had, or allow new options for usage they did not have prior.
{% endif %} @@ -119,7 +119,7 @@ {% endif %} {% if list_package_remove|length > 0 %} -
tldr@chopchop:~ $ grep 'remove' /var/log/dpkg.log
+

tldr@chopchop:~ $ grep 'remove' /var/log/dpkg.log

These package were removed today: @@ -141,8 +141,8 @@ These actions are only a portion of the work... There's also the relationships of the people who care for the server enough to maintain it... The hours they put into meeting each other, discussing and deciding on how to move forward... They are sharing a digital landscape in which there are no hierarchies of landlords and renters... So, they find different ways to make a space for learning and co-habitation... This list is not exhaustive. -
tldr@chopchop:~ $sudo journalctl _COMM=systemd-login
-    --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'
+

tldr@chopchop:~ $sudo journalctl _COMM=systemd-login + --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'

Users can login to the server using the SSH (secure shell) protocol. This allows a user to explore files, make changes, run commands and speak to the server from their own machine. This is useful when working remotely, and also to allow multiple users logging into the server simultaneously. Current XPUB1 students have a chopchop user, as well as the tutors. Additionally, there are some users not associated with a person, like our shared user 'chipchip' and users for running specific processes or creating projects. @@ -159,7 +159,7 @@ {% endif %} {% if groups_created|length > 0 %} -
tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE
+

tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE

This command shows whether groups were added today. @@ -179,7 +179,7 @@ {% endif %} For some reason this if statement is not working, i didn't apply it to the next 4 categories because i wanted to check it works first -
tldr@chopchop:~ $sudo journalctl _COMM=groupremove -r --output-fields=MES
+

tldr@chopchop:~ $sudo journalctl _COMM=groupmove -r --output-fields=MES

This command shows whether groups were removed today. @@ -192,7 +192,7 @@ {% endfor %} -
tldr@chopchop:~ $sudo journalctl _COMM=usermod -r
+

tldr@chopchop:~ $sudo journalctl _COMM=usermod -r

This command shows whether users were modified today. @@ -205,7 +205,7 @@ {% endfor %} -
tldr@chopchop:~ $sudo journalctl _COMM=userdel -r
+

tldr@chopchop:~ $sudo journalctl _COMM=userdel -r

This command shows whether users were removed today. @@ -220,7 +220,7 @@
-
tldr@chopchop:~ $sudo service --status-all
+

tldr@chopchop:~ $sudo service --status-all

These are all of the services that are active, running, working to execute requests that enable everything on the server. They are marked with an [+]. The rest, marked with a [-], are idle, not running, or waiting to be activating upon sending a request. @@ -231,8 +231,8 @@ The rest, marked with a [-], are idle, not running, or waiting to be activating {% endfor %} -
tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u
-      kitchen-bin.service -u kitchen-fridge.service -r -n
+

tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u + kitchen-bin.service -u kitchen-fridge.service -r -n

{% if kitchen_services|length > 0 %}
    {% for item in kitchen_services %}