3ce5d251fa5a5410b7e83b2a79c757960a0022d7..1cc72dc6c04b93ee51386c615a2a9a6b953c7343
2026-10-16 Hong-Phuc Bui
Grrrr
1cc72d diff | tree
2026-10-16 Hong-Phuc Bui
update
ef0189 diff | tree
2026-10-16 Hong-Phuc Bui
update gitignore
8cd76b diff | tree
2026-10-16 Hong-Phuc Bui
re-sorted
6211ac diff | tree
2026-10-16 Hong-Phuc Bui
Commit Datum: 2026-10-16T19:17:49+02:00
02147e diff | tree
3 files renamed
7 files added
2 files deleted
93 ■■■■■ changed files
01-0-intro-url-path/.gitignore patch | view | raw | blame | history
01-0-intro-url-path/README.md 11 ●●●●● patch | view | raw | blame | history
01-0-intro-url-path/common.css 3 ●●●●● patch | view | raw | blame | history
01-0-intro-url-path/deploy.sh 23 ●●●●● patch | view | raw | blame | history
01-0-intro-url-path/index.html 5 ●●●●● patch | view | raw | blame | history
01-0-intro-url-path/tangente.js 12 ●●●●● patch | view | raw | blame | history
01-1-arithmetic/division.c 13 ●●●●● patch | view | raw | blame | history
01-1-arithmetic/division.js 2 ●●●●● patch | view | raw | blame | history
01-1-arithmetic/division.py 4 ●●●●● patch | view | raw | blame | history
01-1-arithmetic/index.html 11 ●●●●● patch | view | raw | blame | history
01-intro-url-path/.gitignore 2 ●●●●● patch | view | raw | blame | history
01-intro-url-path/division.c 7 ●●●●● patch | view | raw | blame | history
01-0-intro-url-path/.gitignore
01-0-intro-url-path/README.md
New file
@@ -0,0 +1,11 @@
Lernziel:
* HTTP-Server
* Syntax von URLs (=Bestandteil eines URL)
* Relative/absolute Pfade
Task:
* Identifizieren Sie alle URL in der Datei `index.html`
* Identifizieren Sie die Bestandteile von einer URL.
  Welcher Bestandteil einer URL haben wir in eine ULR in `index.html` verwendet?
01-0-intro-url-path/common.css
New file
@@ -0,0 +1,3 @@
html {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
01-0-intro-url-path/deploy.sh
New file
@@ -0,0 +1,23 @@
sync_git() {
    SRC=$1
    DEST=$2
    echo $SRC
    echo $DEST
    mkdir -p $DEST
    ls $DEST
    rsync -aHAXxv --numeric-ids --delete --progress --exclude='.git' \
        --exclude='.gitignore' \
        --exclude='*/target' \
        --exclude='.idea' \
        --exclude='deploy.sh' \
        --exclude='.venv' \
        --exclude='site' \
        $SRC $DEST
    git -C $DEST add .
    git -C $DEST commit -a -m "Commit Datum: $(date --iso-8601=seconds)"
    git -C $DEST push origin main
}
sync_git ./ ../../codeberg.page/kurswinkel/
01-0-intro-url-path/index.html
File was renamed from 01-intro-url-path/index.html
@@ -6,10 +6,11 @@
    <script src="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraphcore.js"></script>
    <link rel="stylesheet" type="text/css"
          href="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraph.css">
    <link rel="stylesheet" type="text/css"
          href="./common.css"/>
</head>
<body>
<h1>Fluglinien mit Kurzwinkel</h1>
<h1>Fluglinien mit Kurswinkel</h1>
<div id="box" class="jxgbox" style="width:950px; aspect-ratio: 1/1;"></div>
<script src="tangente.js"></script>
</body>
01-0-intro-url-path/tangente.js
File was renamed from 01-intro-url-path/tangente.js
@@ -1,6 +1,3 @@
const RADIUS = 6;
const BOARD_SIZE = 14;
const toXYZ = (longitude, latitude) => {
    const lon = (longitude * Math.PI) / 180;
    const lat = (latitude * Math.PI) / 180;
@@ -49,6 +46,10 @@
}
// board commands
const RADIUS = 6;
const BOARD_SIZE = 14;
const board = JXG.JSXGraph.initBoard(
    'box', {
        boundingbox: [-BOARD_SIZE, BOARD_SIZE, BOARD_SIZE, -BOARD_SIZE],
@@ -56,7 +57,7 @@
    });
const bound = [-10, 10];
const view = board.create('view3d',
    [[-8, -8], [15, 15],
    [[-10, -10], [19, 19],
        [bound, bound, bound]],
    {
        axesPosition: 'none',
@@ -112,4 +113,5 @@
const meridianNormalVector = normalVector(TANGENT_COORDINATE, NORTH_POLE);
const meridianPlan = view.create('circle3d', [origin, meridianNormalVector, RADIUS]);
const projectionLine = view.create('line3d', [targetPoint, toXYZ(...TANGENT_COORDINATE),  [-Infinity, Infinity] ]);
const projectionLine = view.create('line3d', [targetPoint, toXYZ(...TANGENT_COORDINATE),  [0, Infinity] ]);
const ot = view.create('line3d', [origin, tangentPoint])
01-1-arithmetic/division.c
New file
@@ -0,0 +1,13 @@
/*
compile: $ gcc division.c -o division
run    : $ ./division
*/
#include <stdio.h>
int main() {
    int q = 11 / (-7);
    int r = 11 % (-7);
    printf("q = %d r = %d\n", q, r);
    return 0;
}
01-1-arithmetic/division.js
New file
@@ -0,0 +1,2 @@
const r = 11 % (-7)
console.log(`r = ${r}`)
01-1-arithmetic/division.py
New file
@@ -0,0 +1,4 @@
q = 11 // (-7)
r = 11 % (-7)
print(f"q = {q} r = {r}")
01-1-arithmetic/index.html
New file
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Division</title>
</head>
<body>
<script src="division.js"></script>
</body>
</html>
01-intro-url-path/.gitignore
File was deleted
01-intro-url-path/division.c
File was deleted