/etc/rspamd/local.d/multimap.conf:
IP_WHITELIST {
type = "ip";
prefilter = true;
map = "/${LOCAL_CONFDIR}/local.d/ip_whitelist.map";
action = "accept";
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Liste exhaustive des types de voies (rue, avenue...) en France, d'après le Ministère de l'Intérieur</title> | |
| </head> | |
| <body> | |
| <ul> | |
| <li>abbaye</li> | |
| <li>agglomération</li> |
| import collections | |
| def dict_merge(dct, merge_dct): | |
| """ Recursive dict merge. Inspired by :meth:``dict.update()``, instead of | |
| updating only top-level keys, dict_merge recurses down into dicts nested | |
| to an arbitrary depth, updating keys. The ``merge_dct`` is merged into | |
| ``dct``. | |
| :param dct: dict onto which the merge is executed | |
| :param merge_dct: dct merged into dct |
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
| #!/usr/bin/env python3 | |
| import asyncio | |
| import ldap | |
| import ldap_wrapper | |
| async def search(client): | |
| search = client.search("cn=monitor", ldap.SCOPE_SUBTREE, attrlist=['+', '*']) | |
| try: |
I used to sift trough my shell history and bookmarks every time I set up a new testing server in order to be able to send mails. So this should help...
Be aware don't use ssmtp anymore. It's unmaintained and has been removed
from Debian
and Ubuntu will most definitely follow suit.
| <form action="" method="POST" role="form" class="form"> | |
| {{ form.hidden_tag() }} | |
| <!--Other fields--> | |
| {{ wtf.form_field(form.tags, placeholder='audio, hardware, chip') }} | |
| <button class="btn btn-success" type="submit">submit</button> | |
| </form> |
| from threading import Thread | |
| import pytest | |
| import requests | |
| from flask import Flask | |
| @pytest.fixture() | |
| def app() -> Flask: | |
| host = 'localhost' |
These are notes to the stream: https://youtu.be/S9V-pcTrdL8
| Description | Nix | Guix | Comment |