Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

18 total results found

Basic authentication

Traefik

How to generate password with traefik label - "traefik.http.routers.dashboard2.middlewares=auth_xxx" - "traefik.http.middlewares.auth_xxx.basicauth.users=myuser:mypassword_encoded" Generating the password with this command (change the username) echo $(htpas...

Docker-compose

Wetty

version: '3.3' services: wetty: image: wettyoss/wetty command: - "--base=/" - "--ssh-host=192.168.XXX.XXX" container_name: wetty labels: - "traefik.enable=true" - "traefik.http.routers.wetty.rule=Host(`YOUR_U...

Command

Synology Active backup

Link to install the client on Linux server Download client link Command to restart the client on the server sudo abb-cli -r Command to connect the client on the server sudo abb-cli -c

Add JS card

HA Home Assistant

You first need to add the js in the /config/www folder. Then you need to reference it in the ressource (...) tab of the dashboard. Then create an empty dashboad. Edit it and add a new card that must be automatically recognized.

Restart command

Elfin

Restart cmd with curl:‎ curl -X POST http://192.168.xx.xx/cmd -H "Content-Type: application/json" -d 'msg={"CID":20003,"PL":{}}' --user "user:password"

Tests

MQTT

Online test for mqtt https://www.hivemq.com/demos/websocket-client/ ‎ ## Publish #With mosquitto mosquitto_pub -h mqtt.alexwtz.ch -p 8883 -t "testtopic/1" -u my_user -P my_password -m "blabla3" --capath /etc/ssl/certs -d #With mqtt (docker) docker run ...

Readme

ESP32 Matrix panel

Based on the project https://github.com/lubeda/EspHoMaTriXv2 /Users/wetzel/project/matrix-led-esphome/matrix-led docker run --rm -v "${PWD}":/config -e TZ=Europe/Zurich -it ghcr.io/esphome/esphome run --device 192.168.24.187 ulanzi-easy.yaml

Schéma

Laser Audio

speakers are connected in parallel https://youtu.be/aBdVfUnS-pM?feature=shared

pywebio

Python

from pywebio.platform.flask import webio_view, FlaskHttpContext from flask import Flask, request ,send_from_directory, current_app, url_for from pywebio.input import * from pywebio.output import * from pywebio.session import * app = Flask(__name__) ...

Mapping

Python

import pywebio from pywebio.platform.flask import webio_view from flask import Flask, request, send_from_directory, current_app, url_for from pywebio import STATIC_PATH from pywebio.input import * from pywebio.output import * from pywebio.session import ...

Draft projet

Idée à explorer

génération de regexp quand boire la bouteille de rouge

SMB Mount

CLI Tips & Tricks

How to prevent linux to write in a folder that is unmounted: chattr +i /mountpoint

Find files

CLI Tips & Tricks

Find files that are larger than a specific size find . -type f -size +100M

Installation

MiniK8s

Use the nano editor to open the /boot/firmware/cmdline.txt file. sudo nano /boot/firmware/cmdline.txt Opening the cmdline.txt file Enter the following flags at the end of the first line: cgroup_memory=1 cgroup_enable=memory Then reboot Installation sudo apt ...

PID tuning

Octoprint - 3d print

start calibration procedure in terminal commande list: https://reprap.org/wiki/G-code#M304:Set_PID_parameters-_Bed M303 S200 C10 wait M304 P11.72 I0.58 D59.63 M304 P12.24 I0.61 D61.06 save params M500

Recovery drink

Recovery food

Pour 76 kg, 1h à chaud — voici ta boisson optimisée : 🎯 Calcul pour toi (76kg, 1h, chaud) Glucides : ~0.8g/kg = 60g (glycogène) Protéines : ~0.25g/kg = 19g (réparation musculaire) Sodium : ~500-700mg (perte transpiration élevée) Eau : ~500...

2nd try

Laser Audio

lien youtube patreon Sinus generator github Basic Example Here's a simple example of how to use the SimpleAD9833 library: #include <SimpleAD9833.h> const uint8_t CS_PIN = 10; // Chip select pin for the AD9833 SimpleAD9833 myWaveform(CS_PIN); void setup() {...

Docker deployment

LiteLLM

services: ollama: image: ollama/ollama:latest container_name: ollama # ports: ["11434:11434"] volumes: - ./ollama_data:/root/.ollama restart: unless-stopped # Uncomment below to run on GPU support deploy: resources: ...