Merge branch 'master' into infoZettel

This commit is contained in:
marko
2024-11-27 13:17:04 +01:00
33 changed files with 3072 additions and 0 deletions

6
shiai/mk-pdf Executable file
View File

@@ -0,0 +1,6 @@
#! /usr/bin/env bash
libreoffice --headless --convert-to pdf *.odt
pdfjam antrag-{a,b}.pdf --outfile antrag.pdf
pdfjam abrechnung-a.pdf ../../00-00-00_abrechnung_hinten.pdf --outfile abrechnung.pdf
rm antrag-{a,b}.pdf abrechnung-a.pdf

17
shiai/mnt-magenta Executable file
View File

@@ -0,0 +1,17 @@
# call to mount the magentacloud share via webdav
#! /usr/bin/env bash
# config variables
mountUser=$(whoami)
mntDir=~/mnt/magentacloud/judo.cwsv/
webdavUrl=https://magentacloud.de/remote.php/webdav
webdavUser=judo.cwsv@t-online.de
webdavPassword=$(pass show webdav/magentacloud/judo.cwsv@t-online.de)
# make sure sudo is enabled to nont get the sudo password prompt with the mount
sudo echo "sudo enabled!"
echo "Start mounting. This will take some seconds"
# pipe user/password to the mount
printf "${webdavUser}\n${webdavPassword}\n" | sudo mount -t davfs -o uid=$(id -u ${mountUser}),gid=$(id -g ${mountUser}) ${webdavUrl} ${mntDir} 1>/dev/null
echo "Mounting done!"

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.