References:
redactions/replacements:
- component_secret in each Slidge gateway should match been cfg.lua and --secret in docker-compose
- me@domain.tld should be replaced with your jid
- domain.tld should be replaced by your own hostname
References:
redactions/replacements:
| (() => { | |
| // cleanup and init | |
| try { | |
| document.querySelector('#virtual-timeline').parentNode.removeChild(document.querySelector('#selects')) | |
| } catch {} | |
| document.querySelector('#virtual-timeline').insertAdjacentHTML('beforebegin', '<div class="flex flex-wrap" id="selects"></div>') | |
| const commentCountMap = new Map() | |
| const commentThumbs = Array.from(document.querySelectorAll('#activity-panel img[alt*=commented]')) | |
| const likeCountMap = new Map() |
| services: | |
| snikket_proxy: | |
| container_name: snikket-proxy | |
| image: snikket/snikket-web-proxy:stable | |
| env_file: snikket.conf | |
| network_mode: host | |
| volumes: | |
| - snikket_data:/snikket | |
| restart: "unless-stopped" | |
| snikket_portal: |
| #! /usr/bin/env bash | |
| # build deps | |
| sudo apt install meson libelf-dev | |
| # get source | |
| git clone git@github.com:flatpak/flatpak-builder.git | |
| cd flatpak-builder | |
| # from repo instructions, build |
| #! /usr/bin/env bash | |
| function cleanup() { | |
| echo 'restoring mouse cursor' | |
| killall xbanish | |
| echo 'restoring desktop monitor' | |
| /usr/local/bin/unprojectorify.sh | |
| echo 'restoring screen blank and suspend on idle' |
| #! /usr/bin/env bash | |
| # adapted from https://docs.zfsbootmenu.org/en/v2.3.x/guides/ubuntu/uefi.html | |
| # script is not meant to be run non-interactively. read and understand before executing | |
| sudo -i | |
| source /etc/os-release | |
| export ID | |
| export POOL_DISK="/dev/sdg" |
| #!/usr/bin/env bash | |
| set -e | |
| MODEL="qemu" | |
| qemu-system-x86_64 \ | |
| -enable-kvm \ | |
| -M q35 \ | |
| -m 4096 \ |
| // open the likes/comments activity panel prior to running this in a web console. | |
| // this will insert thumbs just above the album photos | |
| (() => { | |
| // cleanup and init | |
| try { | |
| document.querySelector('#virtual-timeline').parentNode.removeChild(document.querySelector('#selects')) | |
| } catch {} | |
| document.querySelector('#virtual-timeline').insertAdjacentHTML('beforebegin', '<div class="flex flex-wrap" id="selects"></div>') | |
| #! /usr/bin/env bash | |
| wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-10.02.1.tar.gz | |
| tar -zxf ghostscript-10.02.1.tar.gz ghostscript-10.02.1/ | |
| cd ghostscript-10.02.1/ | |
| ./configure | |
| make -j56 | |
| sudo make install |
| #! /usr/bin/env bash | |
| # Create a new ARM server (CAX41 | arm | 320 GB | eu-central) from app image: Docker CE | |
| # install git | |
| apt update | |
| apt install -y git | |
| # download and prepare Iris for build | |
| git clone --depth=1 https://github.com/jaedb/Iris.git |