Ein HTML zum Nachladen von HTML aus einem Repos. in eine Moodle Seite.
Anzupassen sind die Code genannten Variablen.
import asyncio | |
import logging | |
from asyncua import Server, ua | |
from asyncua.common.methods import uamethod | |
async def main(): | |
_logger = logging.getLogger(__name__) | |
# setup our server |
private double getBeitrag(int alter, int mitgliedsjahre) { | |
double beitrag = 0; | |
if (alter < 18) { | |
beitrag = 30.0; | |
} else if (alter <= 12) { | |
beitrag = 15.0; | |
} else { | |
beitrag = 50.0; | |
} | |
if (mitgliedsjahre > 5 && mitgliedsjahre <= 15) { |
Damit draw IO die letzte Version des GIST laden kann, mit der HASH wert des Commits aus der URL entfernt werden.
Beispiel
aus...
https://gist.githubusercontent.com/jtuttas/1d483c1dde262c5609010a3c62e34d81/raw/d61ee7a522130a14addf429670109289bcaa547f/erd.drawio
wird....
https://gist.githubusercontent.com/jtuttas/1d483c1dde262c5609010a3c62e34d81/raw/erd.drawio
import requests | |
data = { | |
"temp": 22.5 | |
} | |
headers = {'Content-type': 'application/json'} | |
r = requests.post('http://localhost:8080?temp=19', json=data, headers=headers) | |
print(str(r)) |
Import an Excel Sheet from O365, convert it to csv and Import the data into an sqlite Database!
from tkinter import * | |
from tkinter.font import Font | |
import time | |
import random | |
import win32com.client | |
from tkinter import filedialog | |
rand=-1 | |
slides=0 | |
myPresentation=None |
<mxfile host="65bd71144e" modified="2020-12-30T14:17:58.264Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.52.0 Chrome/83.0.4103.122 Electron/9.3.5 Safari/537.36" etag="O_ioZgWCppsgLUfVQ_hY" version="13.10.0" type="embed"> | |
<diagram id="7axcHnemPGxGrDsgHI2C" name="HS3"> | |
<mxGraphModel dx="545" dy="492" grid="1" gridSize="10" guides="0" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> | |
<root> | |
<mxCell id="0"/> | |
<mxCell id="1" parent="0"/> | |
<mxCell id="2" value="<h1>3. Handlungsschritt (25 Punkte)</h1><p>Die Realisierung des Onlineshops soll mit einer objektorientierten Programmiersprache erfolgen.</p><p>a) Es sind folgende Pflichfelder gegeben:</p><p>- Ein "Artikel" hat einen Namen und einen&nbsp; Preis</p><p>- Beim Anlegen eines neuen Artikels werden Name und Prei |