From ea22a3f6b465b65103da35317d87a51408d2b147 Mon Sep 17 00:00:00 2001 From: Francesco Mecca Date: Sun, 15 May 2022 09:29:54 +0100 Subject: [PATCH] more wiki --- secretwiki/commands.html | 37 +++++++++++++++++++++++++++++++++++++ secretwiki/commands.org | 8 ++++++++ secretwiki/index.html | 9 +++++---- secretwiki/index.org | 1 + secretwiki/stylesheet.css | 14 +++++++++++++- 5 files changed, 64 insertions(+), 5 deletions(-) create mode 100644 secretwiki/commands.html create mode 100644 secretwiki/commands.org diff --git a/secretwiki/commands.html b/secretwiki/commands.html new file mode 100644 index 0000000..8f01a9d --- /dev/null +++ b/secretwiki/commands.html @@ -0,0 +1,37 @@ + + + + + + + +Lezzo secret wiki + + + + + +
+

[ Lezzo secret wiki ]

+
+

~ Hosts

+
+
+
+

Update pi-hole devuan host

+
+
+apt update
+apt upgrade
+PIHOLE_SKIP_OS_CHECK=true pihole -up
+
+
+
+
+
+
+

Author: bparodi

+
+ + diff --git a/secretwiki/commands.org b/secretwiki/commands.org new file mode 100644 index 0000000..cf76257 --- /dev/null +++ b/secretwiki/commands.org @@ -0,0 +1,8 @@ +#+INCLUDE: header.org +* *~* Hosts +** Update pi-hole devuan host +#+begin_src +apt update +apt upgrade +PIHOLE_SKIP_OS_CHECK=true pihole -up +#+end_src diff --git a/secretwiki/index.html b/secretwiki/index.html index f327eb7..3a705cc 100644 --- a/secretwiki/index.html +++ b/secretwiki/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Lezzo secret wiki @@ -17,11 +17,12 @@

Ogni pagina è disponibile anche in org-mode sostituendo .org a.html.

-
-

Pagine

-
+ diff --git a/secretwiki/index.org b/secretwiki/index.org index 517f3eb..6d70e3e 100644 --- a/secretwiki/index.org +++ b/secretwiki/index.org @@ -2,3 +2,4 @@ Ogni pagina è disponibile anche in org-mode sostituendo .org a.html. * Pagine - [[./hosts.html][Hosts]] +- [[./commands.html][Frequently used commands]] diff --git a/secretwiki/stylesheet.css b/secretwiki/stylesheet.css index 97eb4ae..9f7b1ee 100644 --- a/secretwiki/stylesheet.css +++ b/secretwiki/stylesheet.css @@ -150,7 +150,19 @@ footer { pre { max-width: 50%; - color: #45818e; + font-family: monospace; + background: #f4f4f4; + border: 1px solid #ddd; + border-left: 3px solid #45818e; + color: #665; + page-break-inside: avoid; + line-height: 1.8; + margin-bottom: 1.6em; + max-width: 100%; + overflow: auto; + padding: 1em 1.5em; + display: block; + word-wrap: break-word; } pre .cp { color:#800