Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🐸

Benedikt Geißler benediktg

💭
🐸
View GitHub Profile
@benediktg
benediktg / papercolor-light.json
Last active Jun 1, 2019
PaperColor tilix theme
View papercolor-light.json
{
"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",
@benediktg
benediktg / privatebin-nginx-htaccess.md
Last active Apr 23, 2018
Nginx config for Privatebin's .htaccess
View privatebin-nginx-htaccess.md
@benediktg
benediktg / readme.md
Last active Jun 14, 2021
Send mails from systemd services
View readme.md
@benediktg
benediktg / opensuse-web-devel.md
Last active Mar 21, 2017
openSUSE web development setup
View opensuse-web-devel.md
sudo 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, envin YaST → HTTP-Server and set the options in the Directory section in the main host as follows:

AllowOverride All
@benediktg
benediktg / opensuse-multimedia.md
Last active Oct 22, 2021
Multimedia support for openSUSE (Tumbleweed)
View opensuse-multimedia.md

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

@benediktg
benediktg / pam_kwallet-guide.md
Last active Oct 18, 2021
Short guide for pam_kwallet with KDE Plasma 5 on openSUSE
View pam_kwallet-guide.md

(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 :

View inwx-acme
#!/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'
@benediktg
benediktg / wallabag-api-example.py
Last active May 28, 2018
Add new articles using the new wallabag API and Python
View wallabag-api-example.py
#!/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'
@benediktg
benediktg / owncloud-log-formatting-explanation.md
Last active Apr 11, 2016
Owncloud log formatting with vim
View owncloud-log-formatting-explanation.md

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

View keybase.md

Keybase proof

I hereby claim:

  • I am benediktg on github.
  • I am benediktg (https://keybase.io/benediktg) on keybase.
  • I have a public key ASCmCy0dKiTH2H7UihtiHg9VVWHiKKssKfS_qAYvEbnFEAo

To claim this, I am signing this object: