Skip to content

Instantly share code, notes, and snippets.

View ermshiperete's full-sized avatar

Eberhard Beilharz ermshiperete

View GitHub Profile
@ermshiperete
ermshiperete / .gitignore
Last active December 11, 2019 09:04
ConsoleApplication3
.vs/
bin/
obj/
Debug/
Release/
*.user
*.ilk
*.pdb

Investigating why building with .NET 5 builds a x86 executable instead of AnyCPU (as net461 did)

@ermshiperete
ermshiperete / .gitignore
Last active November 24, 2020 16:43
PR998 test app
.idea/
bin/
obj/
#!/bin/bash -e
# Submit a change for review
# Allow single-arg options to be passed to push -- principally -n
OPTIONS=()
while [[ "$1" == -* ]]
do
OPTIONS+=("$1")
shift
@ermshiperete
ermshiperete / SimpleHTTPServerWithUpload.py
Created January 1, 2022 15:53 — forked from touilleMan/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload - Python3 version
#!/usr/bin/env python3
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
see: https://gist.github.com/UniIsland/3346170
"""
@ermshiperete
ermshiperete / Gottesdienst.yml
Last active October 12, 2025 12:06
Gottesdienste
2025-10-12:
name: eXtrakt-Gottesdienst
start: '11:00'
artist: 'Björn Edelmann'
2025-11-09:
name: '11.15 Uhr Gottesdienst'
announce: '11 Uhr 15 Gottesdienst'
artist: 'Pfr. Rainer Heuschneider'
start: '11:15'
2025-11-23:
@ermshiperete
ermshiperete / .gitignore
Last active December 9, 2022 10:58
Repro project for Nunit3TestAdapter #1040
.idea/
bin/
obj/
*DotSettings.user
Shellcheck bug
@ermshiperete
ermshiperete / createcampaign.py
Created October 11, 2024 09:12
Brevo python example
#!/usr/bin/python3
# Installation:
# - Create virtual environment with `virtualenv .venv`
# - activate it `. .venv/bin/activate`
# - install brevo-python: `pip3 install brevo-python`
# - API key needs to be in BREVO_API_KEY environment variable
import os
import brevo_python
from brevo_python.rest import ApiException
curl --request POST \
--url https://api.brevo.com/v3/emailCampaigns \
--header 'accept: application/json' \
--header "api-key: $BREVO_API_KEY" \
--header 'content-type: application/json' \
--data '
{
"inlineImageActivation": false,
"sendAtBestTime": false,
"abTesting": false,