Skip to content

Instantly share code, notes, and snippets.

@salbac
salbac / processify.py
Created September 17, 2020 08:37 — forked from schlamar/processify.py
processify
import os
import sys
import traceback
from functools import wraps
from multiprocessing import Process, Queue
def processify(func):
'''Decorator to run a function as a process.
Be sure that every argument and the return value
@salbac
salbac / dns_revers_entry_check.py
Last active July 26, 2018 10:54
Check reverse DNS resolution in ip range
#!/usr/bin/env python
# -*- coding utf-8 -*-
# Tested in Python 3.6.3
import threading
import socket
import ping3 # pip install ping3
import datetime
@salbac
salbac / ansible-summary.md
Created February 14, 2018 14:22 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of