Skip to content

Instantly share code, notes, and snippets.

@lpt2007
lpt2007 / odoo-enterprise-install-custom.sh
Created May 26, 2025 15:45 — forked from backamblock/odoo-enterprise-install-custom.sh
Once install community odoo 16, then you can run this to install enterprise edition
#!/bin/bash
################################################################################
# Author: Tejaskumar Tank
#-------------------------------------------------------------------------------
# This script will install Odoo on your Ubuntu server. It can install multiple Odoo instances
# in one Ubuntu because of the different xmlrpc_ports
#-------------------------------------------------------------------------------
# Make a new file:
# sudo nano odoo-install.sh
# Place this content in it and then make the file executable:
# udev rule
# Auto Mount passtrough drive in proxmox guest Home Assistant OS
#
# Script cen be used to add data of software to separate drive
# Example: frigate addon configuration
#
# mkdir /media/label-from-this-script/data
# mkdir /media/label-from-this-script/data/frigate
# ln -s /media/label-from-this-script/data/frigate /media/frigate
#
@lpt2007
lpt2007 / 80-mount-usb-to-media-by-label.rules
Created May 13, 2025 15:53 — forked from eklex/80-mount-usb-to-media-by-label.rules
udev rule for Home Assistant OS (hassio) to mount USB drives into the Supervisor Media directory
#
# udev rule
# Mount USB drive to the media directory using the partition name as mount point
#
# Description:
# Created for Home Assistant OS, this rule mounts any USB drives
# into the Hassio media directory (/mnt/data/supervisor/media).
# When a USB drive is connected to the board, the rule creates one directory
# per partition under the media directory. The newly created partition is named
# as the partition name. If the partition does not have a name, then the following
blueprint:
name: Knob for controlling lights
description: '
You can set functions for a single press. This allows you to assign, e.g., a scene
or anything else.
Rotating left/right will change the brightness smoothly of the selected light.
Not all functionality of the device is available at time of writing, e.g. double
press, long press and press and rotate.
Original blueprint by seamus65 (https://gist.github.com/seamus65/939a147634942dd885c8704334627f93).