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
#!/bin/sh | |
libressl_version=libressl-2.5.1 | |
libressl_archive=${libressl_version}.tar.gz | |
if [ -f ${libressl_archive} ] | |
then | |
: | |
else | |
wget -O ${libressl_archive} https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${libressl_archive} |
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
#!/bin/bash | |
### Script installs root.cert.pem to certificate trust store of applications using NSS | |
### (e.g. Firefox, Thunderbird, Chromium) | |
### Mozilla uses cert8, Chromium and Chrome use cert9 | |
### | |
### Requirement: apt install libnss3-tools | |
### |
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
insert into tlspolicies (domain, policy, params) values ('email.de', 'secure', 'match=.web.de'); | |
insert into tlspolicies (domain, policy, params) values ('freenet.de', 'secure', 'match=.freenet.de'); | |
insert into tlspolicies (domain, policy, params) values ('gmx.at', 'dane-only', ''); | |
insert into tlspolicies (domain, policy, params) values ('gmx.biz', 'secure', 'match=.gmx.net'); | |
insert into tlspolicies (domain, policy, params) values ('gmx.ch', 'dane-only', ''); | |
insert into tlspolicies (domain, policy, params) values ('gmx.co.uk', 'secure', 'match=.gmx.net'); | |
insert into tlspolicies (domain, policy, params) values ('gmx.com', 'dane-only', ''); | |
insert into tlspolicies (domain, policy, params) values ('gmx.com.my', 'secure', 'match=.gmx.net'); | |
insert into tlspolicies (domain, policy, params) values ('gmx.de', 'dane-only', ''); | |
insert into tlspolicies (domain, policy, params) values ('gmx.es', 'secure', 'match=.gmx.net'); |
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
#============================================================================== | |
# 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
<?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
#!/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" |