This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### | |
### The full path to a user's mailbox is: /var/vmail/domain/user/mail/ | |
### This script runs through the users' mailboxes and runs the sa-learn command to practise | |
### Spamassassin based on the mailbox contents. Spam is collected in the Spam/ directory of every single mailbox | |
### | |
DOMAINS="domain1 domain2 domain3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/**************************************************************** | |
* Copyright 2014 Thomas Leister | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#============================================================================== | |
# Deep Sea Conky Template | |
# Author: Thomas Leister | |
# License: Public Domain | |
#============================================================================== | |
background yes | |
update_interval 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for f in *.wma; | |
do | |
echo "Processing $f" | |
ffmpeg -i "$f" -acodec libmp3lame -ab 128k "output/${f%}.mp3" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for f in *.mp4; | |
do | |
echo "Processing $f" | |
ffmpeg -i "$f" "output/${f%}.mp3" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Store this script in your Firefox application directory: | |
* C:\Program Files (x86)\Mozilla Firefox\defaults\pref | |
* ... and restart Firefox. Firefox should use the Windows trust store after the next start | |
*/ | |
/* Activate Windows trust store support (experimental)*/ | |
pref("security.enterprise_roots.enabled", true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs.inotify.max_user_watches = 32768 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Execute in directory with .pdf files in it. | |
dnf install qpdf | |
mkdir out | |
find . -maxdepth 1 -type f -iname '*.pdf' -printf '%f\0' | xargs -0 -I '{}' qpdf --password="MYPASSWORD" --decrypt '{}' out/'{}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
### Let's Encrypt Zertifikatsbestätigungen sammeln | |
### (nur möglich im manual mode und mit webroot-verifizierung) | |
Auf allen anderen Hosts: | |
### /etc/nginx/global/letsencrypt-auth.conf | |
location /.well-known/acme-challenge { | |
location ~ /.well-known/acme-challenge/(.*) { | |
return 301 http://le-auth.650thz.de$request_uri; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this into /etc/yum.repos.d/fedora-kernel-vanilla-stable.repo | |
# Place this file in your /etc/yum.repos.d/ directory | |
[fedora-kernel-vanilla-stable] | |
name=Linux vanilla kernels for Fedora, stable series | |
baseurl=http://repos.fedorapeople.org/repos/thl/kernel-vanilla-stable/fedora-$releasever/$basearch/ | |
enabled=1 |
OlderNewer