cd /etc/rspamd
- create
rspamd.conf.local
- create lists:
touch local_bl_from.map.inc local_bl_ip.map.inc local_bl_rcpt.map.inc \
local_wl_from.map.inc local_wl_ip.map.inc local_wl_rcpt.map.inc
- change permissions:
# <target name> <source device> <key file> <options> | |
xps_system /dev/disk/by-partlabel/xps_system none luks,discard |
#!/usr/bin/env python | |
import re | |
import subprocess | |
def get_edid_for_output(connector: str) -> bytes: | |
xrandr = subprocess.run( | |
['xrandr', '--props'], | |
check=True, |
mainly used in start-up script
When we play with iptables aka firewall we might end up in situation, where we execute rule, which has unforseen impact - lock yourself out. Recovering from this situation is necessity.
How to:
- Enable reboot via SMS.
- Test all commands in shell first before putting them into Start-up script. This way the command will be wiped out, when unit is rebooted.
sudo apt-get install ssl-cert | |
sudo make-ssl-cert generate-default-snakeoil | |
sudo usermod --append --groups ssl-cert yyuu | |
ls -l /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/private/ssl-cert-snakeoil.key |
# Author: Emiliano Carlos de Moraes Firmino @ 10/2012 | |
SHELL=/bin/sh | |
THESIS=thesis | |
.SUFFIXES: | |
.SUFFIXES: .bib .pdf .tex | |
.PHONY: clean | |
run: $(THESIS).pdf |