This guide demonstrates how to disable the HDMI power saving mode on Lubuntu and automatically execute a script during system startup to ensure the screen remains active.
-
Open a terminal.
-
Create a Bash script named
prevent_hdmi_sleep.sh
:
This guide demonstrates how to disable the HDMI power saving mode on Lubuntu and automatically execute a script during system startup to ensure the screen remains active.
Open a terminal.
Create a Bash script named prevent_hdmi_sleep.sh
:
The usual method to install Open WebUI with Ollama involves integrating Ollama directly into the container. However, if you intend to utilize Ollama independently for other purposes, it's preferable to exclude it.
Ollama must be installed e.g. with curl -fsSL https://ollama.com/install.sh | sh
Integrate locally installed Ollama into Open WebUI while enabling access to Ollama from both within the Docker container and from the host.
# systemd user unit to run odrive agent in the background | |
# | |
# odrive for linux: https://docs.odrive.com/docs/odrive-sync-agent#install-on-linux | |
# save this file as: | |
# ~/.config/systemd/user/odrive.service | |
# Create folder if not available. Ubuntu recognizes this directory for user units | |
# | |
# enable: $ systemctl --user enable odrive.service | |
# start: $ systemctl --user start odrive.service | |
# status: $ systemctl --user status odrive.service |
<?php | |
/** | |
* Wordpress Content Filter | |
* Automatisch html-Anker Elemente in Überschriften setzen | |
* | |
* Im ersten Abschnitt (edit bis /edit) können Einstellungen vorgenommen werden. | |
* | |
* @author usysto https://usysto.net/wordpress-content-filter-anker-links-in-ueberschriften-ohne-plugin | |
* @copyright free | |
*/ |
#!/usr/bin/python | |
# -- coding: utf-8 -- | |
''' | |
simple Day/Night detection in Python | |
require pyephem https://pypi.python.org/pypi/pyephem/ | |
''' | |
import ephem | |
import time |
from collections import OrderedDict # required for maintaining order data | |
import json | |
class AppConfig: | |
''' | |
sample config class | |
load and save readable | |
json configuration files | |
http://usysto.net/formatierte-json-konfiguration-python_846 |
import logging | |
import logging.config | |
log = logging.getLogger(__name__) | |
logging.config.dictConfig({ | |
"version": 1, | |
"disable_existing_loggers": "false", | |
"formatters": { | |
"simple": { | |
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s" |
{ | |
"version": 1, | |
"disable_existing_loggers": false, | |
"formatters": { | |
"simple": { | |
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s" | |
}, | |
"brief": { | |
"format": "%(levelname)-9s: %(name)-11s: %(message)s" | |
}, |
<!doctype html> | |
<html lang="de"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Neue Produkte</title> | |
<meta name="description" content="Neue Produkte"> | |
<meta name="author" content="exao.net"> | |
<style> | |
</style> | |
<!--[if lt IE 9]> |