This file contains hidden or 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
| import json | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import sys | |
| with open('voc.json') as f: | |
| voc = json.load(f) | |
| for m in voc['fr']['3']['favoris']: | |
| mot = m['favori']['graphie'].capitalize() |
This file contains hidden or 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
| # SSL & LB PodamNG | |
| # https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/keymanager_container_v1 | |
| resource "openstack_keymanager_secret_v1" "certificate_1" { | |
| name = "certificate" | |
| payload = "${file("cert.pem")}" | |
| secret_type = "certificate" | |
| payload_content_type = "text/plain" | |
| } |
This file contains hidden or 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
| from email.message import EmailMessage | |
| import configparser | |
| from random import random | |
| import sys | |
| from abc import ABC, abstractmethod | |
| class MdaOptions: | |
| pass |
This file contains hidden or 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
| from abc import ABC, abstractmethod | |
| from urllib.parse import urlparse | |
| class InfoSource(object): | |
| def get_vacation(self): | |
| pass | |
| def set_vacation(self): | |
| pass |
This file contains hidden or 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
| from datetime import datetime, timedelta | |
| import errno | |
| from os import rename | |
| from airflow import DAG | |
| from airflow.operators.bash import BashOperator | |
| from airflow.operators.dummy import DummyOperator | |
| # | |
| # Operator qui test si un DAG n'est pas déjà en cours d'exécution avec la meme configuration |
This file contains hidden or 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
| nixify . $(nixos-version --revision) |
This file contains hidden or 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
| - get_url: | |
| url: https://omnibus-pic.gendarmerie.fr/api/v4/projects/{{ gitlab_aiomda_id }}/repository/archive.tar.gz?sha={{ gitlab_aiomda_sha }} | |
| headers: "PRIVATE-TOKEN:{{ gitlab_aiomda_private_token }}" | |
| validate_certs: no | |
| dest: /tmp/aiomda.tar.gz |
This file contains hidden or 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
| server { | |
| listen 80; | |
| server_name auth.example.com; | |
| root /usr/share/lemonldap-ng/portal/htdocs/; | |
| # Use "lm_app" format to get username in nginx.log (see nginx-lmlog.conf) | |
| #access_log /var/log/nginx/portal.log lm_app; | |
| # Uncomment this if you are running behind a reverse proxy and want | |
| # LemonLDAP::NG to see the real IP address of the end user | |
| # Adjust the settings to match the IP address of your reverse proxy |
This file contains hidden or 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
| https://git.io/JflPi |
This file contains hidden or 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
| Attaching to mce-dev_lemonldap_1 | |
| [36mlemonldap_1 |[0m Starting periodic command scheduler: cron. | |
| [36mlemonldap_1 |[0m Starting anac(h)ronistic cron: anacron. | |
| [36mlemonldap_1 |[0m 2020/05/11 19:15:40 [emerg] 35#35: no port in upstream "llng_portal_upstream" in /etc/nginx/sites-enabled/portal-nginx.conf:47 | |
| [36mlemonldap_1 |[0m nginx: [emerg] no port in upstream "llng_portal_upstream" in /etc/nginx/sites-enabled/portal-nginx.conf:47 | |
| [36mmce-dev_lemonldap_1 exited with code 1 | |
| [0m |