Skip to content

Instantly share code, notes, and snippets.

View MarcoMuellner's full-sized avatar

Marco Müllner MarcoMuellner

View GitHub Profile
async def send_table(send_fun : callable, txt : str,add_raw = True):
text = [txt[i:i+1000] for i in range(0, len(txt), 1000)]
if add_raw:
for i in range(0,len(text)):
if i ==0:
text[i] += "```"
elif i == len(text) - 1:
text[i] = "```" + text[i]
else:
text[i] = "```" + text[i] + "```"
#!/usr/bin/env python
# coding: utf-8
# In[1]:
from pandas import DataFrame as df
import matplotlib.pyplot as pl
from scipy.optimize import curve_fit
import numpy as np
@MarcoMuellner
MarcoMuellner / Austria Corona Viz
Created March 21, 2020 15:42
Austria Corona Viz
#!/usr/bin/env python
# coding: utf-8
# In[1]:
from pandas import DataFrame as df
import matplotlib.pyplot as pl
from scipy.optimize import curve_fit
import numpy as np
@MarcoMuellner
MarcoMuellner / openssl.MD
Created June 12, 2018 12:43 — forked from jchandra74/openssl.MD
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

Overview

My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.

Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:

Self-Signed SSL Issue in Chrome