/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> |
# Copyright 2016-2022 Paul Durivage | |
# | |
# 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 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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 |