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 python3 | |
import smtplib | |
import socket | |
import getpass | |
hostname = socket.gethostname() | |
username = getpass.getuser() | |
sender = 'twtxt@' + username + '.' + hostname | |
receivers = ['someone@example.com'] |
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
#!/bin/bash | |
# A script for automatically creating PDf files from a latex document | |
# You can set the amounts of builds and the time between these builds | |
# Usage: ./buildpdf.sh filename [build amount] [time between builds in s] | |
# Marcel Michael Kapfer | |
# 6th January 2015 | |
# GNU GPL v3.0 -> Feel free to re-distribute it or fork it | |
if [[ -z "$1" ]]; then | |
echo "Usage: ./buildpdf.sh filename [build amount] [time between builds in s]" | |
exit 1 |