Skip to content

Instantly share code, notes, and snippets.

View cpainchaud's full-sized avatar

Christophe Painchaud cpainchaud

View GitHub Profile
@devnoname120
devnoname120 / README.md
Created December 16, 2024 18:38
Fix Docker rclone plugin

This script aims to fix the following error:

$ docker compose up -d --build
Error response from daemon: get audiobookshelf_audiobooks: error while checking if volume "audiobookshelf_audiobooks" exists in driver "rclone:latest": error looking up volume plugin rclone:latest: plugin rclone:latest found but disabled
$ docker plugin enable rclone
Error response from daemon: dial unix /run/docker/plugins/7c5c781c3b705d4caf5418cc5ed462b8e1b81596df43129b0eac55ea2047ad2b/rclone.sock: connect: no such file or directory
@kmdm
kmdm / esphome_ble_config.yaml
Last active September 10, 2025 19:59
esphome, esp32 ble tracker and Home Assistant mqtt_room sensors
# MQTT broker configuration
mqtt:
broker: !secret mqtt_broker
username: !secret mqtt_username
password: !secret mqtt_password
discovery: False # Only if you use the HA API usually
id: mqtt_client
# Define the room for this ESP32 node
substitutions:
@composite
composite / bitvistsshclientservice.bat
Last active March 15, 2024 10:56
Bitvise SSH Client as a Windows service with NSSM example.
@REM How to use before run this batch: You need Bitvise SSH Client and NSSM. if you haven't, google it and download and install.
@REM 1. open bitvise SSG Client
@REM 2. click "New Profile" to save profile.
@REM 3. configure SSH infomation, tunnels, etc.
@REM 4. click "Save Profile" to save profile.
@REM 5. on "sensitive" dialog popup, check "any account on this computer" or below to service account can connect it.
@REM 6. click "Login" to connect and test SSH Connection.
@REM 7. click "Accept & Save" if you see host key dialog popup.
@REM 8. Click "host key manager"
@REM 9. select your SSH host and click "Export". then click "Bitvise format" and save host key file.