8cd76b7f2bd557dc53a116d506acbf90e14c7936..1cc72dc6c04b93ee51386c615a2a9a6b953c7343
2026-10-16 Hong-Phuc Bui
Grrrr
1cc72d diff | tree
2026-10-16 Hong-Phuc Bui
update
ef0189 diff | tree
3 files added
36 ■■■■■ changed files
01-0-intro-url-path/deploy.sh 23 ●●●●● patch | view | raw | blame | history
01-1-arithmetic/division.js 2 ●●●●● patch | view | raw | blame | history
01-1-arithmetic/index.html 11 ●●●●● patch | view | raw | blame | history
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-1-arithmetic/division.js
New file
@@ -0,0 +1,2 @@
const r = 11 % (-7)
console.log(`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>