| New file |
| | |
| | | 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/ |
| New file |
| | |
| | | const r = 11 % (-7) |
| | | console.log(`r = ${r}`) |
| New file |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | <head> |
| | | <meta charset="UTF-8"> |
| | | <title>Division</title> |
| | | </head> |
| | | <body> |
| | | |
| | | <script src="division.js"></script> |
| | | </body> |
| | | </html> |