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
#!/usr/bin/env python | |
# | |
# Adjusted the python script from https://gist.github.com/robulouski/7442321 | |
# This is now better suited for python3 environments. | |
# | |
import argparse | |
import imaplib | |
import logging | |
import os |
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
server { | |
listen 80; | |
server_name icinga.domain.de; | |
root /usr/share/icingaweb2; | |
# Add index.php to the list if you are using PHP | |
index index.html index.htm index.nginx-debian.html index.php; |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import logging | |
import os | |
import subprocess | |
import sys | |
import apt |