Skip to content

Instantly share code, notes, and snippets.

@dfsnow
dfsnow / json-exporter-config.yaml
Last active November 15, 2024 21:08
Export Jellyfin playback statistics to Prometheus and Grafana. See https://sno.ws/jellyfin-stats for more info
modules:
jellyfin:
headers:
# The Token value here needs to be an API key generated from the
# Jellyfin admin panel. It's hard-coded here but I'm sure there's
# a better way
Authorization: MediaBrowser Token=ADD_TOKEN_HERE
Content-Type: application/json
accept: application/json
@ytingyeu
ytingyeu / 1-mongo-docker-tls-snyology.md
Last active October 8, 2024 13:29
Run MongoDB with TLS in Docker on Synology NAS

Summary

A note to run MongoDB with TLS in Docker on Synology NAS.

Pre-setup

Ignore any step if you have already done.

Install Docker via Packages

Do I need to explain?

image text

How to

Material for 6 gates

lights

  1. 6x 2mm string LED, green, blue and pink are bright colors, where green is the brightest one. (12e) I can confirm that are to bright in my case, I still need to fix it.

tube

  1. I used 10m of 10x12 Polyamide(PA or PA12) tube but PE or PEXa material also work, can be found in some specialized store.
  2. Some long straight 20cm outer diameter tube used for the structure, easy to be found in any local store. I use about 7-8m (20cm each leg and 50cm or 30cm for the body)