sudo apt-get install xclip -yalias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'| blueprint: | |
| name: Add reminders via voice assist | |
| description: | |
| "Add reminders via the voice assistant in Home Assistant \nRequirements:\n | |
| - A fully setup Ollama Conversation \n | |
| - A todo entity that you have configured to hold the reminders" | |
| domain: automation | |
| author: freakshock88 | |
| homeassistant: | |
| min_version: 2023.8.0 |
| <script> | |
| // ^^^ | |
| // Keep the <script> tags when copying into Wiki.JS page editor | |
| async function fetchAllPages() { | |
| const graphqlEndpoint = "/graphql"; | |
| const query = ` | |
| query GetAllPages { | |
| pages{ | |
| list(limit: 1000, orderBy: PATH, orderByDirection: ASC) { |
| auth_enabled: false | |
| server: | |
| http_listen_port: 3100 | |
| grpc_listen_port: 9096 | |
| common: | |
| instance_addr: 127.0.0.1 | |
| path_prefix: /tmp/loki | |
| storage: |
| #!/bin/bash | |
| ################################################################################## | |
| ## ## | |
| ## To run this script by command line in background issue this command ## | |
| ## ./monitoring-odoo-postgresql-lock > /dev/null 2>&1 & ## | |
| ## To kill this script if running issue this command ## | |
| ## pkill -f monitoring-odoo-postgresql-lock ## | |
| ## To add this script to crontab: ## | |
| ## @reboot /path/to/monitoring-odoo-postgresql-lock > /dev/null 2>&1 || true ## | |
| ## ## |
| #!/bin/bash | |
| # Run as if it was called from cron, that is to say: | |
| # * with a modified environment | |
| # * with a specific shell, which may or may not be bash | |
| # * without an attached input terminal | |
| # * in a non-interactive shell | |
| # This scripts supports cron jobs run by any user, just run it as the target user (e.g. using sudo -u <username>) | |
| # An up-to-date version of this script may be available at https://github.com/daladim/run-as-cron |
| [database] | |
| path=/home/USER/mail | |
| [user] | |
| name=MyName MySurname | |
| [email protected] | |
| [email protected] | |
| # /etc/fail2ban/filter.d/traefik-auth.conf | |
| [Definition] | |
| failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+\" 401 .+$ |