commit 77baadf1fcb53ef0fc71b40c4e0373e52b33a975
parent 0c163c94886510b1c56b09b05e9f40fc84c0dffe
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Sun, 14 Nov 2021 01:56:37 -0500
*
Diffstat:
7 files changed, 132 insertions(+), 24 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -1,24 +0,0 @@
-This is free and unencumbered software released into the public domain.
-
-Anyone is free to copy, modify, publish, use, compile, sell, or
-distribute this software, either in source code form or as a compiled
-binary, for any purpose, commercial or non-commercial, and by any
-means.
-
-In jurisdictions that recognize copyright laws, the author or authors
-of this software dedicate any and all copyright interest in the
-software to the public domain. We make this dedication for the benefit
-of the public at large and to the detriment of our heirs and
-successors. We intend this dedication to be an overt act of
-relinquishment in perpetuity of all present and future rights to this
-software under copyright law.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-For more information, please refer to <https://unlicense.org>
diff --git a/homelab/freebsd-jails-server.gmi b/homelab/freebsd-jails-server.gmi
@@ -0,0 +1,5 @@
+# FreeBSD Jails Server
+
+- Using iocage and zfs
+
+Create
diff --git a/index.gmi b/index.gmi
@@ -35,6 +35,7 @@ All recipes below are vegan and free of tree nuts unless otherwise noted.
=> /recipes/vinaigrettes.gmi Vinaigrettes
=> /recipes/sauces.gmi Sauces
+=> /recipes/lacto-fermentation.gmi Lacto-Fermentation
=> /recipes/aloo-gobi.gmi Aloo Gobi
=> /recipes/bean-soup.gmi Bean Soup
=> /recipes/butternut-squash-soup.gmi Butternut Squash Soup
diff --git a/jaderune/register_xmpp_user b/jaderune/register_xmpp_user
@@ -0,0 +1,30 @@
+# register_xmpp_user
+
+This is a custom script created to allow admins who don't otherwise have access to the infrastructure to register users with ejabberd
+
+A simple script was created to do this:
+```register_xmpp_user script
+#!/bin/sh
+
+if [ -z "$1" ]; then
+ echo "You must provide a username"
+ exit 1
+else
+ username="$1"
+fi
+
+iocage exec xmpp su -l ejabberd -c "ejabberdctl register $username jaderune.net 'temppass'"
+exit 0
+```
+
+This script takes a name as an argument and registers that user with the given temporary password.
+
+It can be run as the admin user using the following command:
+```
+doas register_xmpp_user <name>
+```
+
+Doas has been set up as follows:
+```
+permit admin as root cmd register_xmpp_user
+```
diff --git a/misskey.gmi b/misskey.gmi
@@ -0,0 +1,80 @@
+# Installing Misskey on Debian 11
+
+Install NodeJS v16.x using the repo from Node's website. Then install:
+
+```
+nodejs redis postgresql yarn ffmpeg gulp git
+```
+
+Add a new user to postgres:
+
+```
+su - postgres
+createuser misskey -P;
+createdb misskey;
+psql
+GRANT ALL PRIVILEGES ON DATABASE misskey TO misskey;
+```
+
+Make sure the following environment is set
+
+```
+NODE_ENV=production NODE_PATH=/usr/lib/nodejs:/usr/share/nodejs
+```
+
+You probably have to
+```
+yarn add querystring js-yaml
+```
+
+Run the following to build and install misskey
+
+```
+su - misskey
+git clone --recursive -b master git://github.com/misskey-dev/misskey.git
+cd misskey
+git submodule update --init
+git checkout master
+yarn install
+cp .config/example.yml .config/default.yml
+<EDIT THE CONFIG FILE YOU JUST COPIED>
+yarn build
+yarn run init
+```
+
+Test that it works by running
+
+```
+yarn start
+```
+
+Create and install the following systemd service file into `/etc/systemd/system/misskey.service`:
+
+```
+[Unit]
+Description=Misskey daemon
+
+[Service]
+Type=simple
+User=misskey
+ExecStart=/usr/bin/npm start
+WorkingDirectory=/home/misskey/misskey
+Environment="NODE_ENV=production"
+TimeoutSec=60
+StandardOutput=syslog
+StandardError=syslog
+SyslogIdentifier=misskey
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+```
+
+To start Misskey from the service file, do:
+
+```
+systemctl daemon-reload
+systemctl enable misskey
+systemctl start misskey
+```
+
diff --git a/recipes/butternut-squash-soup.gmi b/recipes/butternut-squash-soup.gmi
@@ -38,3 +38,5 @@
* Bring to a boil, cover and reduce heat to simmer the soup for 20 minutes, or until the squash is easily pierced by a fork
* Remove from the heat, add the coconut milk or bread (if using bread, mix well and let stand for 5 minutes, covered)
* Purée the soup with the immersion blender, or carefully scoop/pour into counter-top blender
+
+Note: This does not freeze well, probably due to the bread used. Perhaps coconut cream would be a better thickening agent.
diff --git a/recipes/lacto-fermentation.gmi b/recipes/lacto-fermentation.gmi
@@ -0,0 +1,14 @@
+# Lacto-Fermentation
+
+## Sauerkraut
+
+* Chop a cabbage into thin strips and add to a bowl
+* Add 2% of the cabbage's weight in salt to the bowl
+* With your hands, mash and massage the salt and cabbage together until a decent amount of water begins to pool at the bottom of the bowl (upwards of 20 minutes)
+* Transfer the cabbage to a jar, and pack it down very tightly until the waterline is above the cabbage
+* If more water is needed, mix up a 2% salt-in-water solution and pour until the waterline is just above the cabbage
+* Weigh down the cabbage leaves with something like plastic wrap and weights or a plastic bag full of water so nothing can float to the top
+
+## Eggplant
+
+