some moving around

This commit is contained in:
marko
2024-09-15 13:52:58 +02:00
parent 63a832830c
commit 359851b28b
12 changed files with 19 additions and 65 deletions

View File

@@ -0,0 +1,5 @@
#! /usr/bin/env bash
cd /home/marko/cwsvJudo/homepage/participo/; . .venv/bin/activate; python bdCheck.py ; deactivate;
exit 0;

View File

@@ -1,32 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "post",
"type": "debugpy",
"request": "launch",
"program": "testApi.py",
"console": "integratedTerminal",
"justMyCode": true,
"args": [
"POST",
"--input", "testShiai.json"
]
},
{
"name": "getTrainees",
"type": "debugpy",
"request": "launch",
"program": "testApi.py",
"console": "integratedTerminal",
"justMyCode": true,
"args": [
"GET",
"--endpoint", "trainees"
]
}
]
}

View File

@@ -1,16 +0,0 @@
{
"cSpell.language": "en,de-de",
"cSpell.words": [
"CURDATE",
"cwsv",
"cwsvjudo",
"participo",
"retval",
"shiai",
"vormundschaft",
"wettkampfkalender"
],
"prettier.documentSelectors": [
"**/*.{js,jsx,ts,tsx,vue,html,css,scss,less,json,md,mdx,graphql,yaml,yml,php}"
]
}

View File

@@ -1,16 +0,0 @@
{
"name": "participo",
"host": "cwsvjudo.bplaced.net",
"protocol": "ftp",
"port": 21,
"username": "cwsvjudo",
"remotePath": "/www/participo",
"ignore": [
".vscode",
"*.py",
"*.config.yaml",
"package.json", "package-lock.json"
, "node-modules"
],
"uploadOnSave": true
}

View File

@@ -1 +0,0 @@
../../DieJudoGürtelprüfung/markdown/

View File

@@ -0,0 +1,2 @@
requests
/home/marko/keeper/try-matrix-nio/MatrixIm

View File

@@ -0,0 +1,2 @@
apiKey: "5fPs3G1JsAj"
host: "cwsvjudo.bplaced.net"

View File

@@ -0,0 +1,10 @@
with open("trainees.json", "r") as f:
import json
trainees = sorted(json.load(f), key=lambda d: d["gebDatum"])
print("Name|Vorname|Pass|Jahresmarke|Kyumarke|Pass kompl. zurück erhalten")
print(":---|:---|:---:|:---:|:---:|:---:")
for t in trainees:
print(f"{t['name']} | {t['vorname']} | | | | |")