Skip to content

Instantly share code, notes, and snippets.

plugins: fetchart embedart convert scrub replaygain lastgenre chroma web fromfilename discogs deezer permissions
directory: /music
library: /db/musiclibrary.blb
art_filename: albumart
threaded: yes
original_date: no
per_disc_numbering: no
convert:
auto: yes

Hardware

  • Generisches WEMOS D1 MINI ESP32 Board
  • Motor Controller/Dual H-Bridge L298N (Manual)
  • 5V 6W stereo Amp (PAM8403 6W STEREO AMPLIFIER)
  • 2 Motoren
  • 1 Button

Notes

@pagdot
pagdot / dashboard.subdomain.conf
Created February 10, 2022 18:26
SWAG dashboard mod reverse proxy config with authelia
## Version 2022/01/14
# Make sure that your dns has a cname set for dashboard
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name dashboard.*;
root /dashboard/www;
@pagdot
pagdot / downloadListsToJSON.py
Created November 22, 2021 08:05
Greenpass Scripts
import json
import zlib
import base64
import cbor2 # type: ignore
import cose.algorithms # type: ignore
import cose.keys.curves # type: ignore
import cose.keys.keytype # type: ignore
import requests
def valueSetFormatter(valuesets):
@pagdot
pagdot / docker-compose.yml
Created June 14, 2021 11:13
Exposing Gitlab (with builtin container registry) on nginx (linuxserver.io swag image)
version: '3.4'
services:
gitlab:
image: gitlab/gitlab-ee:latest
restart: always
container_name: gitlab
environment:
TZ: Europa/Berlin
GITLAB_OMNIBUS_CONFIG: |
@pagdot
pagdot / TimeUttils.h
Created December 27, 2020 14:48
C++ TimeUtils
#ifndef TIMEUTILS_H
#define TIMEUTILS_H
#include <chrono>
#include <iostream>
#include <type_traits>
#include <string>
namespace TimeUtils
{
@pagdot
pagdot / tiddlywiki.html
Last active August 17, 2020 19:16
tiddlywiki bug
<!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="en-GB">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<!--~~ Raw markup for the top of the head section ~~-->
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
@pagdot
pagdot / Makefile
Last active September 2, 2021 09:13
Basic makefile
BIN_NAME=hello
# Compile and link flags
DEFINES=
#-pedantic treats warning as errors
CPPFLAGS=-Wall -Werror -pedantic -O2 -g $(addprefix -D,$(DEFINES))
LDFLAGS=
# Directory constants
BIN_DIR=bin
@pagdot
pagdot / VHDL MINI-REFERENCE-REDUCED.md
Last active March 16, 2020 13:14
VHDL MINI-REFERENCE

VHDL MINI-REFERENCE

Reduced markdown conversion of https://www.ics.uci.edu/~jmoorkan/vhdlref/vhdl.html

PRIMARY DESIGN UNIT MODEL STRUCTURE

Each VHDL design unit comprises an entity declaration and one or more architectures. Each architecture defines a different

@pagdot
pagdot / SystemView.desktop
Created October 11, 2019 17:27
Segger SystemView Menu entry
[Desktop Entry]
Version=1.0
Name=SystemView
Comment=Segger SystemView
Exec=/usr/bin/SystemView
Terminal=false
Type=Application
Categories=Development