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
#!/usr/bin/python2 | |
import os, sys, time | |
from optparse import OptionParser | |
# get some IPs | |
end=20 | |
start=2 | |
# these are most common last numbers |
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
#!/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. |
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
#!/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. |
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 shutil, math, sys | |
""" | |
Share love on your computer. | |
Usage: | |
:: | |
python3 hearth.py {line} |
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 smtplib, argparse, json, sys | |
from email.mime.multipart import * | |
from email.mime.text import * | |
""" | |
Send emails to a lot of receipients with ease. | |
""" | |
# |
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 shutil, math, sys | |
import matplotlib.image | |
import numpy as np | |
import matplotlib.pyplot as plt | |
# | |
# Copyright(c) 2017 Daniel Knüttel | |
# | |
# This program is free software. |
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
# Using github-pages with sphinx-build documentation | |
# is a pain in the ass. | |
# This makefile solves the problems quickly. | |
# just add these lines to the "html" rule that sphinx-quickstart | |
# generated and save this file with the name github-make in | |
# the folder that contains your sphinx-Makefile: | |
# | |
# @echo "Copying files to /docs..." | |
# if [ -e ../docs ] ;then rm -rf ../docs;fi |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 requests | |
import time | |
import json | |
url = "https://de.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Jan_B%C3%B6hmermann&rvslots=*&rvprop=timestamp|user|content&rvlimit=max&format=json" | |
url2 = "https://de.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Jan_B%C3%B6hmermann&rvslots=*&rvprop=timestamp|user|content&rvlimit=max&format=json&rvstart={}" | |
s = requests.Session() | |
USE_LOADED_DATA = False | |
if(not USE_LOADED_DATA): |
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 debian:latest | |
RUN apt-get update | |
RUN apt-get install -y gcc cmake libmpfr-dev libgmp-dev git build-essential autoconf | |
RUN apt-get install -y wget libssl-dev zlib1g-dev | |
RUN apt-get install -y rpm | |
RUN apt-get install -y python3 python3-pip | |
RUN wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3-1.src.rpm | |
RUN rpm -i openmpi-4.0.3-1.src.rpm |
OlderNewer