Skip to content

Instantly share code, notes, and snippets.

@top
top / config.yml
Created October 26, 2024 01:55
All files needed to self-host a fediverse relay server with docker
ACTOR_PEM: /var/lib/relay/actor.pem
REDIS_URL: redis://redis:6379
RELAY_BIND: 0.0.0.0:8089
RELAY_DOMAIN: relay.ie9.org
RELAY_SERVICENAME: Relay Service - relay.ie9.org
JOB_CONCURRENCY: 50
#RELAY_SUMMARY: |
RELAY_ICON: https://upload.wikimedia.org/wikipedia/commons/2/25/Google_Podcasts_icon.svg
RELAY_IMAGE: https://upload.wikimedia.org/wikipedia/commons/2/25/Google_Podcasts_icon.svg
@top
top / .env-elasticsearch
Created October 26, 2024 01:38
All files needed to self-host a Mastodon instance with docker
# folder: ./elasticsearch
# Password for the 'elastic' user (at least 6 characters)
ELASTIC_PASSWORD=
# Version of Elastic products
STACK_VERSION=8.15.2
# Set the cluster name
CLUSTER_NAME=es-mastodon
@top
top / chrome_passwords_to_kepassdb.py
Last active January 26, 2023 20:17
Chrome passwords to Keepass db
from pykeepass import PyKeePass
import re
import csv
class Keepass(object):
def __init__(self, database, password):
self.kp = PyKeePass(database, password=password)
def all_entries(self, group='Logins'):
g = self.add_group(group=group)
@top
top / docker-compose-minio.yml
Created January 20, 2023 04:01
Outline Wiki Deployment
version: '3'
services:
minio:
image: quay.io/minio/minio
container_name: minio
restart: unless-stopped
env_file: minio.env
command: server --console-address ":9001" /data
ports: