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
# | |
# Copyright(c) 2024 Daniel Knüttel | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
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
# | |
# Copyright(c) Daniel Knüttel 2022 | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
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
#ifndef time_m_hpp_included_ | |
#define time_m_hpp_included_ | |
// | |
// Copyright(c) Daniel Knüttel 2020 | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or |
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
# | |
# Copyright(c) Daniel Knuettel | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
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
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 |
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
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): |
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 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 |
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
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 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. | |
""" | |
# |
NewerOlder