added failglop and LC_ALL

This commit is contained in:
Ranomier 2024-11-27 01:17:30 +01:00
parent 88b0833a27
commit eafdc2c98d
10 changed files with 33 additions and 10 deletions

25
mserve
View file

@ -1,15 +1,20 @@
#!/usr/bin/env bash
#!/usr/bin/env python
# docstring=serve files with http.
set -E -o pipefail
miniserve \
--auth=guest:Super9000! \
--color-scheme-dark=monokai \
--qrcode \
--dirs-first \
--hide-version-footer \
--show-wget-footer \
--title="Rano's quick share"
import subprocess as sp
def run():
sp.run(["miniserve",
"--auth=guest:Super9000!",
"--color-scheme-dark=monokai",
"--qrcode",
"--dirs-first",
"--hide-version-footer",
"--show-wget-footer",
"--title=Rano's quick share"
])
if __name__ == "__main__":
run()
# implement a switch for easy --upload-files=DIR