Skip to content

Instantly share code, notes, and snippets.

View daknuett's full-sized avatar
🏠
Working from home

Daniel Knuettel daknuett

🏠
Working from home
View GitHub Profile
@daknuett
daknuett / collect_mail.py
Created February 14, 2017 17:21
Send emails to multiple recipients with ease
import smtplib, argparse, json, sys
from email.mime.multipart import *
from email.mime.text import *
"""
Send emails to a lot of receipients with ease.
"""
#
@daknuett
daknuett / hearth.py
Last active March 11, 2020 14:53
Print stuff with hearth
import shutil, math, sys
"""
Share love on your computer.
Usage:
::
python3 hearth.py {line}
@daknuett
daknuett / alldoc.py
Created January 20, 2017 19:58
Extract rst documentation from (non-python) sourcefiles
#!/usr/bin/python3
#
# Copyright(c) 2017 Daniel Knüttel
#
# This program is free software.
# Anyways if you think this program is worth it
# and we meet shout a drink for me.
@daknuett
daknuett / make_everything_ok.py
Last active June 14, 2018 16:45
Makes everything ok, optional by using a neuronal network.
#!/usr/bin/python3
#
# Copyright(c) 2017 Daniel Knüttel
#
# This script is free software.
# Anyways if you think this script is worth it
# and we meet shout a drink for me.
@daknuett
daknuett / pingtest.py
Created March 8, 2016 18:09
searching for hosts using ping and a little python3 script
#!/usr/bin/python2
import os, sys, time
from optparse import OptionParser
# get some IPs
end=20
start=2
# these are most common last numbers