(source of the .htaccess: https://github.com/PrivateBin/PrivateBin/blob/master/.htaccess.disabled)
Put this into your http
context:
map $http_user_agent $pastebin_badagent {
~*bot 1;
~*spider 1;
[Unit] | |
Description=Touchscreen deaktivieren | |
[Service] | |
ExecStart=/usr/local/bin/disable-touchscreen.sh | |
[Install] | |
Target=multi-user.target |
{ | |
"name": "PaperColor Light", | |
"comment": "Light color scheme inspired by Google's Material Design", | |
"background-color": "#EEEEEE", | |
"bold-color-same-as-fg": true, | |
"foreground-color": "#444444", | |
"palette": [ | |
"#EEEEEE", | |
"#AF0000", | |
"#008700", |
(source of the .htaccess: https://github.com/PrivateBin/PrivateBin/blob/master/.htaccess.disabled)
Put this into your http
context:
map $http_user_agent $pastebin_badagent {
~*bot 1;
~*spider 1;
based on https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO
systemd-email.sh
to /usr/local/bin/systemd-email
status-email-example@.service
to /etc/systemd/system/
OnFailure=status-email-example@%n.service
into the [Unit]
section of a servicesudo zypper in patterns-openSUSE-devel_web php7-gd php7-mbstring php7-posix php7-zip php7-zlib
sudo zypper in php7-curl php7-fileinfo php7-bz2 php7-intl php7-mcrypt php7-openssl
sudo zypper in php7-APCu php7-exif php7-ftp php7-gmp php7-imap php7-imagick php7-pcntl
sudo zypper in php7-bcmath php7-calendar php7-dba php7-gettext php7-phar php7-shmop php7-sockets php7-soap php7-sysvmsg php7-sysvsem php7-sysvshm php7-wddx
Enable the modules rewrite
, headers
, env
in YaST → HTTP-Server and set the options in the Directory
section in the main host as follows:
AllowOverride All
Add Packman repo (here for Tumbleweed)
sudo zypper ar http://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Tumbleweed/Essentials/ packman-essentials
Reduce priority of Packman
sudo zypper mr -p 110 packman-essentials
Install packages from Packman
(based on these two blog entries and inspired by Fedora-Blog)
First install pam_kwallet:
sudo zypper in pam_kwallet
Then edit the files /etc/pam.d/passwd
, /etc/pam.d/login
and /etc/pam.d/sddm
as follows, i.e. add the lines beginning with a -
(the hyphens are valid PAM syntax to reduce log entries if these PAM modules should not exist) and ending with the ### comment
:
/etc/pam.d/passwd :
#!/bin/bash | |
# Copyright (c) Joakim Reinert. All rights reserved. | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
API_URL='https://api.domrobot.com/xmlrpc/' | |
TMPDIR='/tmp/inwx-acme' |
#!/usr/bin/env python3 | |
import requests | |
# only these 5 variables have to be set | |
HOST = 'https://wallabag.example.org' | |
USERNAME = 'username' | |
PASSWORD = 'password' | |
CLIENTID = 'cryptic_client_id' | |
SECRET = 'secret' |
This is meant as a help if you want to have better readable Owncloud log entries. First navigate to the directory of your owncloud.log
and download the vimcommands.txt
down below with
wget https://gist.githubusercontent.com/benediktg/39ef9fbe0be8ae671d345d1fa4c0c781/raw/vimcommands.txt
Then execute
vim -s vimcommands.txt -u NONE - < owncloud.log
for the whole file or